|
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)
|
|
3691.
|
|
|
# LocalhostBacup FileSet.
FileSet {
Name = "LocalhostFiles"
Include {
Options {
signature = MD5
compression=GZIP
}
File = /etc
File = /home
}
}
|
|
|
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:733(programlisting)
|
|
3692.
|
|
|
This <emphasis>FileSet</emphasis> will backup the <filename role="directory">/etc</filename> and <filename role="directory">/home</filename> directories. The <emphasis>Options</emphasis> resource directives configure the FileSet to create a MD5 signature for each file backed up, and to compress the files using GZIP.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:747(para)
|
|
3693.
|
|
|
Next, create a new <emphasis>Schedule</emphasis> for the backup job:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
serverguide/C/backups.xml:754(para)
|