Difference between revisions of "SAC:Bacula"

From OSGeo
Jump to navigation Jump to search
(Copied from SAC:Backups)
 
Line 51: Line 51:
 
  *restore
 
  *restore
 
Then follow the prompts, using the above linked guide to help find the files you want.
 
Then follow the prompts, using the above linked guide to help find the files you want.
 +
 +
[[Category:Infrastructure]]
 +
[[Category:Services]]

Revision as of 02:31, 9 February 2017

As of 2017 Bacula server runs on the SAC:Backups host.

Configuration

Configuration as of June, 2011

A Full copy is made every Sat. with incremental backups nightly.

This consists of the following directories:

   File = /boot
   File = /etc
   File = /var/www
   File = /osgeo
   File = /var/lib/mysql
   File = /var/lib/postgresql
   File = /var/lib/dpkg
   File = /var/lib/aptitude/pkgstates

From each of the following machines:

  • wiki,secure,web,webextra,backup,qgis,projects,adhoc

Trac currently gets trac_backup.zip which is generated during the daily backup cycle

Administration

General configuration is managed in /etc/bacula/bacula-dir.conf.

To review the backups and perform a restore you can use the bconsole application:

 sudo bconsole

Specific configuration of the file/tape storage is in the Storage director /etc/bacula/bacula-sd.conf

  • Bacula uses the hard drive as a series of Tape drives.
  • Each Volume is a predetermined size (~500MB currently), when a volume fills bacula makes the next one.
  • Volumes older than a certain date or when volume increments have reach a configured maximum can be recycled into the available disk pool.

Recovery

  • If you use bconsole to recover data bacula does the work of finding the files you want and pulling them out of the various volumes.
  • Directory for recovered files is set in the bacula-dir.conf under:
Job {
 Name = "RestoreFiles"
 Type = Restore
 Client = backup.osgeo.osuosl.org-fd
 FileSet = "Full Set"
 Storage = File
 Pool = Default
 Messages = Standard
 Where = /tmp/bacula-restores
}
sudo bconsole
*restore

Then follow the prompts, using the above linked guide to help find the files you want.