Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- snapshot_dir @Backups
- ## Always create snapshots, even if the target volume is unreachable
- snapshot_create_always yes
- # Perform incremental backups (set to "strict" if you want to prevent
- # creation of initial backups if no parent is found)
- incremental yes
- # ssh key for ssh volumes/targets
- #ssh_identity /etc/btrbk/ssh/id_ed25519
- #ssh_user root
- # Preserve weekly/monthly backups from given day of week
- preserve_day_of_week friday
- # Preserve matrix for snapshots
- snapshot_preserve_daily 0
- snapshot_preserve_weekly 4
- snapshot_preserve_monthly 0
- # Preserve matrix for backups
- target_preserve_daily 0
- target_preserve_weekly 4
- target_preserve_monthly 0
- # Make sure the deletion of subvolumes is committed to disk when btrbk terminates
- btrfs_commit_delete after
- # Enable compatibility mode for btrfs-progs < 3.17.
- # Set this either globally or in a specific "target" section.
- btrfs_progs_compat no
- # Dump verbose output of "btrfs receive" to a specified file. If set
- # to "sidecar", the file will be named "<backup_subvolume>.btrbk.log".
- # Note that this log file can become very big, as every change of
- # every file is being logged.
- #receive_log /var/log/btrbk_receive.log
- #receive_log sidecar
- #receive_log no
- #
- # Volume section: "volume <volume-directory>"
- # <volume-directory> Directory of a btrfs volume (or subvolume)
- # containing the subvolume to be backuped
- # (usually the mount-point of a btrfs filesystem
- # mounted with subvolid=0 option)
- #
- # Subvolume section: "subvolume <subvolume-name>
- # <subvolume-name> Subvolume to be backuped, relative to
- # <volume-directory> in volume section
- #
- # Target section: "target <type> <volume-directory>"
- # <type> Backup type, currently only "send-receive"
- # <volume-directory> Directory of a btrfs volume (or subvolume)
- # receiving the backups
- #
- #
- # NOTE: The parser does not care about indentation, this is only for
- # human readability. The options always apply to the last section
- # encountered, overriding the corresponding option of the upper
- # section. This means that the global options must be set before any
- # "volume" section.
- #
- volume /mnt/btrfsroot
- subvolume @Home
- target send-receive /media/Storage3/Backup/@HomeBackup
- volume /mnt/btrfsroot
- subvolume @Storage
- target send-receive /media/Storage3/Backup/@StorageBackup
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement