|
here are my *.conf: -> bacula-dir.conf Director { # define myself
Name = smart09-dir DIRport = 9101 # where we listen for UA connections DirAddress = 10.0.0.151 QueryFile = "/etc/bacula/query.sql" WorkingDirectory = "/var/bacula/working" PidDirectory = "/var/run" Maximum Concurrent Jobs = 1 Password = "*" # Console password Messages = Daemon }
JobDefs {
Name = "DefaultJob" Type = Backup Level = Incremental Client = smart09-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Priority = 10 }
Job {
Name = "Smart09" JobDefs = "DefaultJob" Pool = smart09 FileSet = "Backup Cfg" Write Bootstrap = "/var/bacula/working/Smart09.bsr" }
Job {
Name = "BackupCatalog" JobDefs = "DefaultJob" Level = Full FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" # This creates an ASCII copy of the catalog RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula 12qwaszx" # This deletes the copy of the catalog RunAfterJob = "/etc/bacula/delete_catalog_backup" Write Bootstrap = "/var/bacula/working/BackupCatalog.bsr" Priority = 11 # run after main backup }
Job {
Name = "RestoreFiles" Type = Restore Client=smart09-fd FileSet="Full Set" Storage = File Pool = Default Messages = Standard Where = /home/backup/restore }
FileSet {
Name = "Full Set" Include {
Options {
signature = MD5 compression = GZIP } File = /usr/src/bacula-1.38.7 } Exclude {
File = /proc File = /tmp File = /.journal File = /.fsck } }
FileSet {
Name = "Backup Cfg" Include {
Options {
signature = MD5 compression = GZIP } File = /etc/ } Exclude {
File = /etc/samba/profiles } }
Schedule {
Name = "WeeklyCycle" Run = Full mon at 13:05 Run = Incremental tue-fri at 13:05 }
Schedule {
Name = "WeeklyCycleAfterBackup" Run = Full mon-fri at 13:10 }
FileSet {
Name = "Catalog" Include {
Options {
signature = MD5 } File = /var/bacula/working/bacula.sql } }
Client {
Name = smart09-fd Address = smart09 FDPort = 9102 Catalog = smart09 Password = "8HBW1A5iYQQbSmrAX9NvY4tzVpiPWwmaGg+cXg+/06GO" # password for FileDaemon File Retention = 10 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files }
Storage {
Name = File Address = smart09 # N.B. Use a fully qualified name here SDPort = 9103 Password = "xx0LAAwy/7BspJTdsYWXrEYCB//Ro6I91OdbCutaq8sP" Device = FileStorage Media Type = File }
Pool {
Name = Default Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Accept Any Volume = yes # write on any volume in the pool Maximum Volume Jobs = 1 # specifies that each volume is to be used only once. Label Format = "Backup-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}
Pool {
Name = smart09 Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 365 days # one year Accept Any Volume = yes # write on any volume in the pool Maximum Volume Jobs = 1 # specifies that each volume is to be used only once. Label Format = "Smart09-${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}"
}
Catalog {
Name = smart09 dbname = bacula; user = bacula; password = "12qwaszx" }
Messages {
Name = Standard mailcommand = "/sbin/bsmtp -h smtp.intranetworks.com.br -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/sbin/bsmtp -h smtp.intranetworks.com.br -s \"Bacula: Intervention needed for %j\" %r" mail = [EMAIL PROTECTED] = all, !skipped operator = [EMAIL PROTECTED] = mount console = all, !skipped, !saved append = "/var/bacula/working/log" = all, !skipped }
Messages {
Name = Daemon mailcommand = "/sbin/bsmtp -h smtp.intranetworks.com.br -s \"Bacula daemon message\" %r" mail = [EMAIL PROTECTED] = all, !skipped console = all, !skipped, !saved append = "/var/bacula/working/log" = all, !skipped }
Console {
Name = smart09-mon Password = "*" CommandACL = status, .status } -> bacula-fd.conf: Director {
Name = smart09-dir Password = "*" }
Director {
Name = smart09-mon Password = "*" Monitor = yes }
FileDaemon { # this is me
Name = smart09-fd FDport = 9102 # where we listen for the director WorkingDirectory = /var/bacula/working Pid Directory = /var/run Maximum Concurrent Jobs = 20 }
Messages {
Name = Standard director = smart09-dir = all, !skipped, !restored }-> bacula-sd.conf Storage { # definition of myself
Name = smart09-sd SDPort = 9103 # Director's port WorkingDirectory = "/var/bacula/working" Pid Directory = "/var/run" Maximum Concurrent Jobs = 20 }
Director {
Name = smart09-dir Password = "*" }
Director {
Name = smart09-mon Password = "*" Monitor = yes }
Device {
Name = FileStorage Media Type = File Archive Device = /home/backup/Smart09 LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; }
Messages {
Name = Standard director = smart09-dir = all }My problem is: with one only client (smart09), bacula works fine. If I add a new client (smart08), bacula generate the backup with no problems, but i can't restore files from first client backup (smart09) just from the new client (smart08). What's the correct way to add a new client to be backed up ? Thanks Goldim Ryan Novosielski wrote: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 For one, you need to explain what your problem is in the first place. You have provided no error messages and no information on your configuration. ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 Leonardo dos Santos Goldim wrote:so, what i need to do to my bacula works with more than one client? tks Goldim Ryan Novosielski wrote: I'm pretty sure that neither one is true. Hopefully I'm not wrong. <crosses fingers> ---- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III |$&| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 Leonardo dos Santos Goldim wrote: |
- Re: [Bacula-users] Restore more than one client Ryan Novosielski
- Re: [Bacula-users] Restore more than one c... Leonardo dos Santos Goldim
- Re: [Bacula-users] Restore more than o... Leonardo dos Santos Goldim
- Re: [Bacula-users] Restore more th... Tyler Bannister
