Document how to fix BASE-IS-OLD
[mirror/dsa-wiki.git] / input / howto / backup.creole
index 0e64bb1..5abe753 100644 (file)
@@ -1,10 +1,11 @@
 = Debian backup =
 
-beethoven.debian.org alias backup.debian.org is Debian's backup machine.
+storace.debian.org alias backup.debian.org is Debian's primary backup machine.
+backuphost.debian.org is Debian's secondary backup machine.
 
 == Backup organisation ==
 
-{{{/org/backup.debian.org}}} contains two directories, {{{staging}}} and
+{{{/srv/backup.debian.org}}} contains two directories, {{{staging}}} and
 {{{backup}}}.  The latter contains the backup and is organised in directories
 with date directories that contain all the files from that particular day.  The
 number of kept copies is configured in files in {{{/etc/da-backup-manager/}}}.
@@ -17,12 +18,12 @@ restricted SSH session based on key-authentication.
 Directories:
 
 {{{
-  /org/backup.debian.org/staging/
+  /srv/backup.debian.org/staging/
                                  wiki.debian.org
                                  cvs.debian.org
                                  ...
 
-  /org/backup.debian.org/backup/
+  /srv/backup.debian.org/backup/
                                wiki.debian.org/
                                                20050909
                                                20050910
@@ -42,7 +43,7 @@ Directories:
 * create a crontab that runs da-backup daily at some convenient time
 * configure the directories in {{{/etc/da-backup}}}
 * configure how many copies of the directory should be kept in
-  beethoven's {{{/etc/da-backup-manager/}}}
+  backuphost's {{{/etc/da-backup-manager/}}}
 * run {{{da-backup -v}}} on the client to see if it all works.
 
 
@@ -52,3 +53,15 @@ Directories:
 == Consistency checks ==
 
 * Run {{{sudo -u nagios /usr/lib/nagios/plugins/dsa-check-dabackup-server}}}
+
+== Restoring specific files ==
+
+* Login to the bacula director {{{dinis.debian.org}}}
+* run {{{sudo bconsole}}}
+* Use the {{{restore}}} command
+* Choose "find the job ids of the most recent backup for a client" (9)
+* Choose the server
+* Choose "enter a list of directories to restore for found job ids" (11)
+* Login to the server
+* Look at the files in {{{/var/tmp/bacula-restores/}}}
+* Clean up the files in {{{/var/tmp/bacula-restores/}}}