Skip to content

Latest commit

 

History

History
45 lines (26 loc) · 872 Bytes

src-btrfs.md

File metadata and controls

45 lines (26 loc) · 872 Bytes

btrfs Source

Backup a btrfs volume or subvolume using btrfs send. Supports incremental backups.

Options

SnapshotsPath

Required.

Note: SnapshotsPath and Path both must be on the same btrfs filesystem.

Path

Required.

Note: This must be a btrfs subvolume.

@SnapshotCommand

Optional, defaults: [btrfs subvolume snapshot]

@SendCommand

Optional, defaults: [btrfs send]

@ReceiveCommand

Optional, defaults: [btrfs receive]

@DeleteCommand

Optional, defaults: [btrfs subvolume delete]

@ReuseSnapshots

Optional.

Take a time interval (for example, 3d for 3 days). If set, if there exists a snapshot that is more recent than that interval, then reuse that snapshot for creating a backup rather than creating a new one. This can be useful if you want to backup a single btrfs filesystem to two (or more) destinations.