Add config templates, services and timers examples.

This commit is contained in:
Edu4rdSHL 2021-04-19 12:34:02 -05:00
parent 84530ec971
commit f95e71f033
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5
10 changed files with 92 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# Example configuration file for rustnapshot
# These are all the current available options
# Snapshots directory
dest_dir = "/mnt/defvol/_snapshots/"
# Directory to be snapshoted
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/rustnapshot.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"