Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save petrozavodsky/a6b8ce38325c77c305d3f7a7c9535075 to your computer and use it in GitHub Desktop.
Save petrozavodsky/a6b8ce38325c77c305d3f7a7c9535075 to your computer and use it in GitHub Desktop.
sshfs -o IdentityFile=/backup/.ssh/id_rsa_backup -o idmap=user -o uid=0 -o gid=0 u13529@u13529.your-backup.de:/ /sshfs/backup
/usr/bin/rsync -rclv --delete-before /rsnapshot /sshfs/backup/
fusermount -u /sshfs/backup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment