From 0b2c84a07b5f55c5c50ee59c926ddacc68da74e8 Mon Sep 17 00:00:00 2001 From: Bastian Dehn Date: Tue, 19 May 2026 17:02:40 +0200 Subject: [PATCH] fix empty exmple config --- readme.md | 2 +- src/config-example.yaml | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 20d983a..213de5f 100644 --- a/readme.md +++ b/readme.md @@ -25,7 +25,7 @@ machines: - /etc - /home -# the next block need backup mount for mount luks devices +# the next block need backupmount for mount luks devices backup_volume: luks-crypt-volume media: day: diff --git a/src/config-example.yaml b/src/config-example.yaml index e69de29..12db624 100644 --- a/src/config-example.yaml +++ b/src/config-example.yaml @@ -0,0 +1,28 @@ +backup_path: /images/backup +backup_name: backup +backup_count: 15 + +machines: + testpc: + remote_user: backupuser + host: www.example.com + port: 22 + pathes: + - /etc + - /home + +# the next block need backupmount for mount luks devices +backup_volume: luks-crypt-volume +media: + day: + device: /dev/path/to/disk + key: /path/to/luks-key-file + partition: /dev/path/to/partition + week: + device: /dev/path/to/disk + key: /path/to/luks-key-file + partition: /dev/path/to/partition + month: + device: /dev/path/to/disk + key: /path/to/luks-key-file + partition: /dev/path/to/partition \ No newline at end of file -- 2.47.3