Jelajahi Sumber

Add Windows specific file

jherve 1 bulan lalu
induk
melakukan
930393cf44
2 mengubah file dengan 14 tambahan dan 0 penghapusan
  1. 13 0
      data/borgmatic.d/windows.yaml
  2. 1 0
      data/borgmatic/common.yaml

+ 13 - 0
data/borgmatic.d/windows.yaml

@@ -0,0 +1,13 @@
+<<: !include /etc/borgmatic/common.yaml
+
+source_directories:
+  - "{home_windows}/Documents"
+
+archive_name_format: 'windows-{hostname}-{now}'
+source_directories_must_exist: true
+
+keep_hourly: 10
+keep_daily: 7
+keep_weekly: 4
+keep_monthly: 12
+keep_yearly: 10

+ 1 - 0
data/borgmatic/common.yaml

@@ -1,5 +1,6 @@
 constants:
   home: /mnt/source/home/theenglishway
+  home_windows: /mnt/source/C/Users/Julien
 
 repositories:
   - path: ssh://${STORAGE_BOX_USER}@${STORAGE_BOX_USER}.your-storagebox.de:23/./borg-repo