Skip to content

Instantly share code, notes, and snippets.

@chrissearle
Created June 8, 2011 07:26
Show Gist options
  • Save chrissearle/1013967 to your computer and use it in GitHub Desktop.
Save chrissearle/1013967 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