btrfs-sxbackup - Man Page
a btrfs snapshot backup utility
Synopsis
btrfs-sxbackup [-h | --help] [-q | --quiet] [-v] [--version]
Description
Btrfs snapshot backup utility with push/pull support via SSH, retention, email notifications, compression of transferred data, and syslog logging.
Options
- -h, ā--help
show help message and exit
- -q, ā--quiet
do not log to stdout
- --version
show program's version number and exit
- -v
can be specified multiple times to increase verbosity
Examples
Initialize
Initialize a backup job pulling snapshots of subvolume / on remote host myhost.org to local subvolume /backup/myhost:
btrfs-sxbackup init ssh://root@myhost.org:/ /backup/myhost
Initialize a backup job pushing snapshots of local subvolume / to remote subvolume /backup/myhost on host mybackupserver.org:
btrfs-sxbackup init / ssh://root@mybackupserver.org:/backup/myhost
Run
Run a backup job:
btrfs-sxbackup run /backup/myhost
Cron
Cronjob performing a pull backup job:
# /etc/cron.d/btrfs-sxbackup PATH="/usr/sbin:/usr/bin:/sbin:/bin" 30 2 * * * root btrfs-sxbackup run /backup/myhost
See Also
btrfs-sxbackup-init(1), btrfs-sxbackup-run(1), btrfs-sxbackup-info(1), btrfs-sxbackup-update(1), btrfs-sxbackup-destroy(1), btrfs-sxbackup-transfer(1)
Referenced By
btrfs-sxbackup-destroy(1), btrfs-sxbackup-info(1), btrfs-sxbackup-init(1), btrfs-sxbackup-run(1), btrfs-sxbackup-transfer(1), btrfs-sxbackup-update(1).