]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
add readme config part for mount
authorBastian Dehn <hhaalo@arcor.de>
Sun, 25 May 2025 08:33:42 +0000 (10:33 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 25 May 2025 08:33:42 +0000 (10:33 +0200)
readme.md

index c42c2b9444c67ed58032c43fbd47896fd879cceb..c3339efd28fb9b7a38537fb56fb2bfb88be54d81 100644 (file)
--- a/readme.md
+++ b/readme.md
@@ -18,12 +18,28 @@ backup_count: 15
 
 machines:
   testpc:
-       remote_user: backupuser
-       host: www.example.com
-       port: 22
-       pathes:
-         - /etc
-         - /home
+    remote_user: backupuser
+    host: www.example.com
+    port: 22
+    pathes:
+      - /etc
+      - /home
+
+# the next block need backup mount 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
 ```
 
 ### mark backup media