|
3678.
|
|
|
Localhost Backup
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:665(title)
|
|
3679.
|
|
|
This section describes how to backup specified directories on a single host to a local tape drive.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:666(para)
|
|
3680.
|
|
|
First, the <emphasis>Storage</emphasis> device needs to be configured. Edit <filename>/etc/bacula/bacula-sd.conf</filename> add:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:671(para)
|
|
3681.
|
|
|
Device {
Name = "Tape Drive"
Device Type = tape
Media Type = DDS-4
Archive Device = /dev/st0
Hardware end of medium = No;
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = Yes;
RemovableMedia = yes;
RandomAccess = no;
Alert Command = "sh -c 'tapeinfo -f %c | grep TapeAlert'"
}
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:674(programlisting)
|
|
3682.
|
|
|
The example is for a <emphasis>DDS-4</emphasis> tape drive. Adjust the Media Type and Archive Device to match your hardware.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:688(para)
|
|
3683.
|
|
|
You could also uncomment one of the other examples in the file.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:691(para)
|
|
3684.
|
|
|
After editing <filename>/etc/bacula/bacula-sd.conf</filename> the <application>Storage</application> daemon will need to be restarted:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:696(para)
|
|
3685.
|
|
|
sudo /etc/init.d/bacula-sd restart
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:701(command)
|
|
3686.
|
|
|
Now add a <emphasis>Storage</emphasis> resource in <filename>/etc/bacula/bacula-dir.conf</filename> to use the new Device:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:705(para)
|
|
3687.
|
|
|
# Definition of "Tape Drive" storage device
Storage {
Name = TapeDrive
# Do not use "localhost" here
Address = backupserver # N.B. Use a fully qualified name here
SDPort = 9103
Password = "Cv70F6pf1t6pBopT4vQOnigDrR0v3LT3Cgkiyj"
Device = "Tape Drive"
Media Type = tape
}
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:708(programlisting)
|