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:mr. erich i tried again to configure bacula on my server... i installed the newest bacula's version and configure only one client (my own machine)... until now it's work fine, i create and restore backup with no problems... if i add a new cliente my problems start... looking your email i saw that i need one catalog for each cliente, when i read the documentation i realize i need one db for each catalog, is true? tks Goldim Erich Prinz wrote:Mr. Goldim, Keep it simple. If you need to separate machines for access control, consider using ACL directives in the bacula-dir.conf file and create a catalog for each client. I'll leave it to you to read through the documentation on how to do this. Erich On Mar 17, 2006, at 8:26 AM, Leonardo dos Santos Goldim wrote:hy guys, i have bacula installed and running making backup of two machines (Smart08, Smart09), the backup generation is ok. when i try to restore a backup for Smart09, bacula use the storage Smart08, not Smar09. when i restore Smart08, the proccess work fine. why bacula always use Smart08 storage and not use the storage configured for each client? sorry by the bad english, but y learning yet. Tks Goldim ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (MingW32) iD8DBQFEPAPYmb+gadEcsb4RAgBzAJ0VwEUVwTv+kfGmToi80Ca12sNKWACfSuSw /5ZLEj7/YbwcVeq3RETHWRw= =R4oH -----END PGP SIGNATURE----- |
- 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