• 1 Post
  • 21 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle




  • WasPentalive@lemmy.onetoSelfhosted@lemmy.worldPost your Servernames!
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    1
    ·
    5 months ago
    T: "Tay" (a mythical creature from Scottish folklore, often described as a small, elf-like being)
    U: "Ufi" (a legendary creature from Native American folklore, said to resemble a small humanoid figure)
    V: "Vim" (a mythical creature from Hindu mythology, sometimes depicted as a bird-like being)
    W: "Wyy" (inspired by the Wyvern, a legendary creature similar to a dragon but with only two legs)
    X: "Xin" (a mythical creature from Chinese mythology, often depicted as a lion-like beast)
    Y: "Yen" (a legendary creature from Vietnamese folklore, resembling a large, serpent-like creature)
    Z: "Ziz" (a mythical creature from Jewish mythology, described as a giant bird)
    
















  • rsync:

    #! /usr/bin/sh
    
    
    TIMESTAMP_LOG="/path/to/logdir/.backuplog"
    BACKUP_DEST="server:/path/to/backup/$1"
    TIMESTAMP=$(date +"%Y-%m-%d %H:$M:%S")
    
    echo "backup to:$BACKUP_DEST"
    echo "Backup: $BACKUP_DEST $TIMESTAMP" >> $TIMESTAMP_LOG
    pause
    rsync -auvh /path/to/homedir* rhudson@$BACKUP_DEST
    

    This should be called with a name of a target subdirectory in BACKUP_DEST… mine are rsynca, rsyncb, rsyncc but I will change this soon for day of week based directories.

    I also have certificate authentication setup on ssh on my server - that’s why no password is needed.

    Someday I will set up tailscale between this machine and the server.