]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
fix empty exmple config
authorBastian Dehn <hhaalo@arcor.de>
Tue, 19 May 2026 15:02:40 +0000 (17:02 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Tue, 19 May 2026 15:02:40 +0000 (17:02 +0200)
readme.md
src/config-example.yaml

index 20d983ad675a130207014287039d7e01c3a743f0..213de5ff4a48b20372d906c05a71be3f129725bf 100644 (file)
--- 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:
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..12db624f08bf09af0e7f70ad9fa1c26aa76d5a49 100644 (file)
@@ -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