config.example.yaml

changeset 76
4b08fca3ce34
parent 74
4f56142e7497
child 97
96d5adbe0205
--- a/config.example.yaml	Sat Jan 27 12:19:39 2018 +0000
+++ b/config.example.yaml	Sun Jan 28 00:11:18 2018 +0000
@@ -39,6 +39,9 @@
     backup_interval: 86400
     # Retry every 15 minutes if unable to connect / unfinished backup
     retry_interval: 900
+    # Scheduling mode: dreamtime/realtime/manual
+    # Dreamtime scheduling discounts system sleep periods.
+    scheduling: dreamtime
     repository: myserver
     archive_prefix: 'all@mylaptop-'
     archive_template: '{now:%Y-%m-%d_%H:%M:%S}'
@@ -54,19 +57,23 @@
 
   # 2. A subset of files $HOME more frequently to ssh://myserver.invalid
   - name: Work to 'myserver'
-   # Backup every 3 hours
-   backup_interval: 10800
-   # Retry every 15 minutes if unable to connect / unfinished backup
-   retry_interval: 900
-   repository: myserver
-   archive_prefix: 'work@mylaptop-'
-   archive_template: '{now:%Y-%m-%d_%H:%M:%S}'
-   paths:
-     - $HOME/work
+    # Backup every 3 hours
+    backup_interval: 10800
+    # Retry every 15 minutes if unable to connect / unfinished backup
+    retry_interval: 900
+    # Scheduling mode: dreamtime/realtime/manual
+    # Dreamtime scheduling discounts system sleep periods.
+    scheduling: dreamtime
+    repository: myserver
+    archive_prefix: 'work@mylaptop-'
+    archive_template: '{now:%Y-%m-%d_%H:%M:%S}'
+    paths:
+      - $HOME/work
 
   # 3. Manual backup to external hard drive
   - name: Home to 'backup1'
    # Manual backup
+   scheduling: manual
    backup_interval: 0
    retry_interval: 0
    repository: backup1

mercurial