mirror of
https://github.com/edu4rdshl/rusnapshot.git
synced 2026-07-17 23:24:55 +00:00
Add config templates, services and timers examples.
This commit is contained in:
parent
84530ec971
commit
f95e71f033
10 changed files with 92 additions and 0 deletions
16
examples/config-templates/config-all.toml
Normal file
16
examples/config-templates/config-all.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue