Backups
Create a compressed archived backup (.tar.zst
) of the database, which includes all of its snapshots.
Backups can also be used for migrating the current state of the database to another server.
Create a backup
tentris backup > backup.tar.zstd
Restore from a backup
tentris -s ./new-datastore restore < backup.tar.zstd
Creating a Backup and transferring it to a remote host
tentris backup | ssh host "cat - > /path/to/backup.tar.zstd"
Migrating to another server
tentris backup | ssh host "tentris restore"