a short intro to restic
restic is a program that does backups right. The design goals are: Easy: Doing backups should be a frictionless process, otherwise you are tempted to skip it. Restic should be easy to configure and use, so that in the unlikely event of a data loss you can just restore it. Likewise, restoring data should not be complicated.
will require go >= Version 1.7
# build program > git clone https://github.com/restic/restic \ && cd restic \ go run build.go # copy to local/bin > cp restic /usr/local/bin/ # init repo > mkdir /tmp/backup > restic -r /tmp/backup init # backup "/home/user/data" > restic -r /tmp/backup backup /home/user/data # show snapshots > restic -r /tmp/backup snapshots # 366n44gv 2018-04-07 14:07:22 Laptop /home/user/data # mount snapshot > restic -r /tmp/backup mount /mnt/temp # fully restore > restic -r /tmp/backup restore -t /tmp/restore 366n44gv # use sftp > restic -r sftp:firstname.lastname@example.org:/path/to/remote/folder init > restic -r sftp:email@example.com:/path/to/remote/folder /home/user/data # ~/.ssh/config Host example.com Port 2222