ref: c0c1e2fd8323709345e5b1d495d9b0f8aff8c866 f-a.nz/_dev/backup-remote-server-with-rsync-on-macos-and-linux.md -rw-r--r-- 775 bytes
c0c1e2fd — Franz Geffke Initial commit 4 years ago

title: Backup a remote server with Rsync on macOS or Linux layout: page version: os:

  • macOS
  • Linux source: date: 2017-01-01 00:00:00 +0200 categories: dev

Rsync is perfect to incrementally backup a remote server on macOS or Linux:

rsync -a user@ "/Volumes/Server Backup/"

rsync The program we're using -a archive mode user The user we're using to connect to the server. @ The server we're connecting to. :/srv/users/username/apps/sync-this The folder you want to backup. "/Volumes/Server Backup/" The - local - backup destination.

The reason I'm using the quotation mark for "/Volumes/Server Backup/" is that there's a space between Server and Backup.