37 lines
710 B
Plaintext
37 lines
710 B
Plaintext
####################
|
|
# #
|
|
# Example Conf #
|
|
# #
|
|
####################
|
|
|
|
enabled=true
|
|
|
|
path_vol="../mnt/sub1"
|
|
path_bak="../mnt/snaps/sub1_"
|
|
|
|
#no backup for each year
|
|
years=0
|
|
|
|
#backup the last 3 months
|
|
months=3
|
|
|
|
#backup the last 3 weeks
|
|
weeks=3
|
|
|
|
#backup the last 6 days
|
|
days=6
|
|
|
|
#backup for each hourl
|
|
hours=11
|
|
|
|
######################################################
|
|
# #
|
|
# MK, MV, RM modes ... (for lxc, btrfs, cp ...) #
|
|
# #
|
|
######################################################
|
|
# -- btrfs --
|
|
MK="btrfs subvolume snapshot -r"
|
|
MV="mv -v"
|
|
RM="btrfs subvolume delete"
|
|
CH="-d"
|