mirror of
https://github.com/edu4rdshl/rusnapshot.git
synced 2026-07-17 23:24:55 +00:00
Update prefered database file location.
This commit is contained in:
parent
07ae19da1b
commit
4648c12379
4 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ dest_dir = "/.rusnapshot"
|
|||
# Directory to be snapshot-ed
|
||||
source_dir = "/"
|
||||
# SQLite database file PATH where snapshots metadata will be stored. Created if not exists
|
||||
database_file = "/var/lib/rusnapshot/rusnapshot.db"
|
||||
database_file = "/.rusnapshot/rusnapshot.db"
|
||||
# Prefix for the snapshots, they will be saved in the format prefix-$current_date
|
||||
snapshot_prefix = "root"
|
||||
# Snapshots identifier
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ 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"
|
||||
database_file = "/.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
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ dest_dir = "/.rusnapshot"
|
|||
# Directory to be snapshot-ed
|
||||
source_dir = "/"
|
||||
# SQLite database file PATH where snapshots metadata will be stored. Created if not exists
|
||||
database_file = "/var/lib/rusnapshot/rusnapshot.db"
|
||||
database_file = "/.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
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ pub struct Args {
|
|||
short = 'd',
|
||||
long = "dfile",
|
||||
env = "RUSNAPSHOT_DB_FILE",
|
||||
default_value = "/var/lib/rusnapshot/rusnapshot.db"
|
||||
default_value = "/.rusnapshot/rusnapshot.db"
|
||||
)]
|
||||
pub database_file: String,
|
||||
/// Prefix for the snapshot name.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue