Skip to content

Instantly share code, notes, and snippets.

@dlangille
Last active November 4, 2018 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlangille/87584f467a911366cce629d5f7bf833e to your computer and use it in GitHub Desktop.
Save dlangille/87584f467a911366cce629d5f7bf833e to your computer and use it in GitHub Desktop.
The full backups didn't run, so I rescheduled them. #bacula #freebsd #zfs
$ diff -ruN bacula-dir.conf~ bacula-dir.conf
--- bacula-dir.conf~ 2018-11-02 13:47:40.000000000 +0000
+++ bacula-dir.conf 2018-11-04 17:36:58.494608000 +0000
@@ -177,7 +177,16 @@
@/usr/local/etc/bacula/pools.conf
+
+# these are the schedules used in normal circumstances
@/usr/local/etc/bacula/schedules.conf
+
+# these are schedules used when something has gone wrong and we need to
+# reschedule stuff to run right now. We use either the above or the below, never
+# both.
+#@/usr/local/etc/bacula/schedules-custom.conf
+
+
@/usr/local/etc/bacula/filesets.conf
@/usr/local/etc/bacula/jobdefs.conf
[dan@bacula:/usr/local/etc/bacula] $ diff -ruN schedules.conf schedules-custom.conf
--- schedules.conf 2018-11-04 17:21:50.653054000 +0000
+++ schedules-custom.conf 2018-11-04 17:22:49.252924000 +0000
@@ -31,7 +31,7 @@
# and incremental backups other days
Schedule {
Name = "WeeklyCycle"
- Run = Level=Full 1st sun at 03:05
+ Run = Level=Full 1st sun at 17:25
Run = Level=Differential 2nd-5th sun at 03:05
Run = Level=Incremental mon-sat at 03:05
}
@@ -42,7 +42,7 @@
# and incremental backups other days
Schedule {
Name = "WeeklyCycle BiggerJobs"
- Run = Level=Full 1st sun at 03:04
+ Run = Level=Full 1st sun at 17:24
Run = Level=Differential 2nd-5th sun at 03:04
Run = Level=Incremental mon-sat at 03:04
}
@@ -75,7 +75,7 @@
# This schedule does the catalog.
Schedule {
Name = "DailyAfterBackup"
- Run = Level=Full 1st sun at 03:05
+ Run = Level=Full 1st sun at 17:25
Run = Level=Differential 2nd-5th sun at 03:05
Run = Level=Incremental mon-sat at 03:05
}
[dan@bacula:/usr/local/etc/bacula] $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment