From 5220b95a03db1edc348d719c683d179962acd0d5 Mon Sep 17 00:00:00 2001 From: xengineering Date: Wed, 6 Oct 2021 08:43:07 +0200 Subject: Implement manual Backup --- config/debug.json | 21 +++++++++++++++++++++ config/default.json | 20 +++++++++++++++++++- 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 config/debug.json (limited to 'config') diff --git a/config/debug.json b/config/debug.json new file mode 100644 index 0000000..948b432 --- /dev/null +++ b/config/debug.json @@ -0,0 +1,21 @@ +{ + "backup":{ + "backup_source":"fakeroot", + "borg_repos_folder":"fakeroot/var/lib/xbackup/borg", + "blacklist":[ + "dev/*", + "lost+found/*", + "media/*", + "mnt/*", + "proc/*", + "run/*", + "sys/*", + "tmp/*" + ], + "keep-hourly":null, + "keep-daily":7, + "keep-weekly":4, + "keep-monthly":6, + "keep-yearly":null + } +} diff --git a/config/default.json b/config/default.json index 2bfd471..fd0b5b4 100644 --- a/config/default.json +++ b/config/default.json @@ -1,3 +1,21 @@ { - "test":4 + "backup":{ + "backup_source":"/", + "borg_repos_folder":"/var/lib/xbackup/borg", + "blacklist":[ + "dev/*", + "lost+found/*", + "media/*", + "mnt/*", + "proc/*", + "run/*", + "sys/*", + "tmp/*" + ], + "keep-hourly":null, + "keep-daily":7, + "keep-weekly":4, + "keep-monthly":6, + "keep-yearly":null + } } -- cgit v1.2.3-70-g09d2