add bacula hints
[mirror/dsa-wiki.git] / input / howto / bacula-hints.mdwn
diff --git a/input/howto/bacula-hints.mdwn b/input/howto/bacula-hints.mdwn
new file mode 100644 (file)
index 0000000..0be38ce
--- /dev/null
@@ -0,0 +1,8 @@
+== useful bacula commands ==
+
+ * find out what was in a backup run
+   * get the job-id from the bacula mail
+   * run the following on bacula database (currently bmdb1.debian.org)
+```
+select path,name from filename inner join file on filename.filenameid=file.filenameid inner join path on path.pathid=file.pathid where file.jobid=$JOBID;
+```