Manipulate remote Tarsnap encrypted backups. Note: You don’t need to specify the key file and the cache directory if you configure them in
/usr/local/etc/tarsnap.confor~/.tarsnaprc. See also:tarsnap-keygen. More information: https://www.tarsnap.com/man-tarsnap.1.html.
tarsnap -c --keyfile {{path/to/key_file}} --cachedir {{path/to/cache_directory}} -f {{archive_name}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
tarsnap -c --dry-run --print-stats --keyfile {{path/to/key_file}} --cachedir {{path/to/cache_directory}} -f {{archive_name}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
tarsnap --list-archives --keyfile {{path/to/key_file}}
tarsnap -d --keyfile {{path/to/key_file}} --cachedir {{path/to/cache_directory}} -f {{archive_name}}
tarsnap -tv --keyfile {{path/to/key_file}} -f {{archive_name}}
tarsnap -x --keyfile {{path/to/key_file}} -f {{archive_name}} {{path/to/file_or_directory1 path/to/file_or_directory2 ...}}
tarsnap -c --keyfile {{path/to/key_file}} -f {{new_archive_name}} @@{{source_archive_name}}