btrfs-sxbackup-init man page

btrfs-sxbackup-init — Initialize a backup job

Synopsis

btrfs-sxbackup init [-h] [-sr <source_retention>] [-dr <destination_retention>] [-c] <source_subvolume> <destination_subvolume>

Description

Initialize a btrfs-sxbackup job.

Options

<source_subvolume>
source subvolume to backup. local path or ssh url
<destination_subvolume>
destination subvolume receiving backup snapshots. local path or ssh url
-h, --help
show help message and exit
-sr <source_retention>, --source-retention <source_retention>
expression defining which source snapshots to retain/cleanup. can be a static number (of backups) or more complex expression like "1d:4/d, 1w:daily, 2m:none" literally translating to: "1 day from now keep 4 backups a day, 1 week from now keep daily backups, 2 months from now keep none"
-dr <destination_retention>, --destination-retention <destination_retention>
expression defining which destination snapshots to retain/cleanup. can be a static number (of backups) or more complex expression (see --source-retention argument)
-c, --compress
enables compression during transmission. Requires lzop to be installed on both source and destination

See Also

btrfs-sxbackup(1)

Referenced By

btrfs-sxbackup(1), btrfs-sxbackup-update(1).

0.5.9 Marco Schindler