There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

waspentalive , (edited )

rsync:

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

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines