mirror of
https://github.com/edu4rdshl/rusnapshot.git
synced 2026-07-17 23:24:55 +00:00
Add support for TOML config files
This commit is contained in:
parent
c32742b355
commit
bac3a8c69e
8 changed files with 134 additions and 18 deletions
|
|
@ -1,12 +1,12 @@
|
|||
# Example configuration file for rustnapshot
|
||||
# Example configuration file for rusnapshot
|
||||
# These are all the current available options
|
||||
|
||||
# Snapshots directory
|
||||
dest_dir = "/mnt/defvol/_snapshots/"
|
||||
# Directory to be snapshoted
|
||||
# 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/rustnapshot.sqlite"
|
||||
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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
dest_dir = "/mnt/defvol/_snapshots/"
|
||||
source_dir = "/home/"
|
||||
database_file = "/mnt/defvol/_snapshots/rustnapshot.sqlite"
|
||||
database_file = "/mnt/defvol/_snapshots/rusnapshot.sqlite"
|
||||
snapshot_prefix = "home"
|
||||
keep_only = "2"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
dest_dir = "/mnt/defvol/_snapshots/"
|
||||
source_dir = "/"
|
||||
database_file = "/mnt/defvol/_snapshots/rustnapshot.sqlite"
|
||||
database_file = "/mnt/defvol/_snapshots/rusnapshot.sqlite"
|
||||
snapshot_prefix = "root"
|
||||
keep_only = "2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue