- List archives:
tarsnap --list-archives | sort
- List size of all archives:
tarsnap --print-stats
- Create archive:
tarsnap -v -c -f ARCHIVE_NAME /path/to/file /path/to/dir
- Restore archive:
tarsnap -v -x -f ARCHIVE_NAME
- Delete archive:
tarsnap -d -f ARCHIVE_NAME
Useful doc: https://www.tarsnap.com/simple-usage.html