= Debian backup =
-beethoven.debian.org alias backup.debian.org is Debian's backup machine.
+backuphost.debian.org alias backup.debian.org is Debian's backup machine.
== Backup organisation ==
* install da-backup on the client
* create a crontab that runs da-backup daily at some convenient time
* configure the directories in {{{/etc/da-backup}}}
-* install the public host key of the server with a proper command in
- puppet {{{modules/ssh/templates/authorized_keys.erb}}} for beethoven. Do a puppetrun on beethoven.
- (This might get done automatically eventually.)
* configure how many copies of the directory should be kept in
- {{{/etc/da-backup-manager/}}}
+ backuphost's {{{/etc/da-backup-manager/}}}
* run {{{da-backup -v}}} on the client to see if it all works.
== 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/}}}