|
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)
|
|
3688.
|
|
|
The <emphasis>Address</emphasis> directive needs to be the Fully Qualified Domain Name (FQDN) of the server. Change <emphasis>backupserver</emphasis> to the actual host name.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:720(para)
|
|
3689.
|
|
|
Also, make sure the <emphasis>Password</emphasis> directive matches the password string in <filename>/etc/bacula/bacula-sd.conf</filename>.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:724(para)
|
|
3690.
|
|
|
Create a new <emphasis>FileSet</emphasis>, which will determine what directories to backup, by adding:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:730(para)
|