Browse Source

Add sample source

Nathaniel van Diepen 4 years ago
parent
commit
792f37c11d
2 changed files with 11 additions and 0 deletions
  1. 2 0
      etc/backup.d/sources.d/.gitignore
  2. 9 0
      etc/backup.d/sources.d/example.yml

+ 2 - 0
etc/backup.d/sources.d/.gitignore

@@ -0,0 +1,2 @@
+*.yml
+!example.yml

+ 9 - 0
etc/backup.d/sources.d/example.yml

@@ -0,0 +1,9 @@
+---
+depends:
+  - something
+roots:
+  from: ssh.host::
+  to: /backups
+jobs:
+  - from: /var/www
+    to: www