Restic : Ligne de commandes
Backing Up
restic --repo {{ URL RESTIC }}/my-backup backup ~/directory-to-backup --pack-size=60
Cleanup
With every backup, Restic is creating a new snapshot with contents of a directory at the moment. To remove old and unused snapshots we need to execute the forget command:
restic --repo rclone:storj:bucket/my-backup forget --keep-last 2 --prune
Check
If you want to verify the consistency of your backup, run the check command:
restic --repo rclone:storj:bucket/my-backup check
Restore
To restore the latest snapshot of your backup:
restic --repo rclone:storj:bucket/my-backup restore latest --target ~/restore