Update config templates

This commit is contained in:
Eduard Tolosa 2024-02-05 02:54:34 -05:00
parent 33a6153f23
commit ddcc8d58d9
3 changed files with 20 additions and 11 deletions

View file

@ -2,15 +2,14 @@
# These are all the current available options
# Snapshots directory
dest_dir = "/mnt/defvol/_snapshots/"
dest_dir = "/.rusnapshot"
# Directory to be snapshot-ed
source_dir = "/mnt/defvol/_active/root/"
# SQLite database file PATH, created if no exists, recommended to be in the snapshots dir
database_file = "/mnt/defvol/_snapshots/rusnapshot.sqlite"
source_dir = "/"
# SQLite database file PATH where snapshots metadata will be stored. Created if not exists
database_file = "/var/lib/rusnapshot/rusnapshot.db"
# Prefix for the snapshots, they will be saved in the format prefix-$current_date
snapshot_prefix = "root"
# Snapshots identifier
snapshot_kind = "weekly"
# Last snapshots to keep. If prefix is specified then only the snapshots with that prefix
# are deleted
# Last snapshots to keep. If prefix is specified then only the snapshots with that prefix will be deleted
keep_only = "2"

View file

@ -1,5 +1,10 @@
dest_dir = "/mnt/defvol/_snapshots/"
source_dir = "/home/"
database_file = "/mnt/defvol/_snapshots/rusnapshot.sqlite"
# Snapshots directory
dest_dir = "/.rusnapshot"
# Directory to be snapshot-ed
source_dir = "/home"
# SQLite database file PATH where snapshots metadata will be stored. Created if not exists
database_file = "/var/lib/rusnapshot/rusnapshot.db"
# Prefix for the snapshots, they will be saved in the format prefix-$current_date
snapshot_prefix = "home"
# Last snapshots to keep. If prefix is specified then only the snapshots with that prefix will be deleted
keep_only = "2"

View file

@ -1,5 +1,10 @@
dest_dir = "/mnt/defvol/_snapshots/"
# Snapshots directory
dest_dir = "/.rusnapshot"
# Directory to be snapshot-ed
source_dir = "/"
database_file = "/mnt/defvol/_snapshots/rusnapshot.sqlite"
# SQLite database file PATH where snapshots metadata will be stored. Created if not exists
database_file = "/var/lib/rusnapshot/rusnapshot.db"
# Prefix for the snapshots, they will be saved in the format prefix-$current_date
snapshot_prefix = "root"
# Last snapshots to keep. If prefix is specified then only the snapshots with that prefix will be deleted
keep_only = "2"