rusnapshot/examples/config-templates/config-all.toml

16 lines
645 B
TOML

# Example configuration file for rusnapshot
# These are all the current available options
# Snapshots directory
dest_dir = "/mnt/defvol/_snapshots/"
# 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"
# 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
keep_only = "2"