diff --git a/examples/config-templates/config-all.toml b/examples/config-templates/config-all.toml index 65daec3..9c26014 100644 --- a/examples/config-templates/config-all.toml +++ b/examples/config-templates/config-all.toml @@ -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" diff --git a/examples/config-templates/config-home.toml b/examples/config-templates/config-home.toml index 1849876..4ef8e1b 100644 --- a/examples/config-templates/config-home.toml +++ b/examples/config-templates/config-home.toml @@ -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" diff --git a/examples/config-templates/config-root.toml b/examples/config-templates/config-root.toml index 293099f..9e9759e 100644 --- a/examples/config-templates/config-root.toml +++ b/examples/config-templates/config-root.toml @@ -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"