User Tools

Site Tools


notes:backups

This is an old revision of the document!


How I backup servers locally and in the cloud using rsync, restricted-rsync, rsnapshot, restic, backblaze b2

Tools used

  • restricted rsync
  • ssh, and ssh authorized keys
  • restic

Setup /root/.ssh/authorized_keys command=“/usr/bin/rrsync -ro /”,restrict,from=“192.0.2.2” ssh-ed25519 abc1234

This will force the use of rrsync to the / directory as read-only, when logging in using the specified key, from 192.0.2.2 .

notes/backups.1630032168.txt.gz · Last modified: by david