Guys, If I understand you correctly, the following should be a_piece_ of the bacula-dir.conf. I want to understand this but the problem still remains, how do I tie the files on WEB1, DB2 and RptEngine into the default job?
JobDefs { Name = "DefaultJob" Type = Backup Level = Incremental Client = DURANGO-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = DAT72 Messages = ConsOnly # no email during testing Pool = Default Priority = 10 } # Localhost to backup Client { Name = DURANGO-fd Address = DURANGO FDPort = 9102 Catalog = MyCatalog Password = "l4...y" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Local files FileSet { Name = "Full Set" Include { Options { signature = MD5 } File = /home/dgardner } } # # Database Client to backup # Client { Name = DB2-fd Address = DB2 FDPort = 9102 Catalog = MyCatalog Password = "l4...2" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Database files FileSet { Name = "Full Set" Include { Options { Compression=GZIP } File = /var/lib/mysql/airadvice-backup/c* } } # # Web Server Client to backup # Client { Name = WEB1-fd Address = WEB1 FDPort = 9102 Catalog = MyCatalog Password = "l4...2" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # Webserver files FileSet { Name = "Full Set" Include { Options { Compression=GZIP } File = /web/sites/* } } # # Report Engine Client to backup # Client { Name = RptEngine1-fd Address = RptEngine1 FDPort = 9102 Catalog = MyCatalog Password = "l4...2" # password for FileDaemon File Retention = 30 days # 30 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files } # RptEngine files FileSet { Name = "Full Set" Include { Options { Compression=GZIP } File = /usr/local/reports/A* } } /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ David Gardner email: djgardner(at)yahoo.com Yahoo! IM: djgardner AIM: dgardner09 "Everything is a learning experience, even a mistake." ----- Original Message ---- From: Arno Lehmann <[EMAIL PROTECTED]> To: bacula-users@lists.sourceforge.net Sent: Tuesday, October 23, 2007 3:01:24 PM Subject: Re: [Bacula-users] need help defining client files for backup... Hi, 23.10.2007 23:57,, David Gardner wrote:: > Hey gang, > > I've read through all the docs I can find on the subject but just > cannot decipher the correct method of describing in a fileset which > directories on which client machine should be backed up. > > Here's the Linux Server:/directories I want backed up where the > connections have all been made and I successfully backed up the local files: > > {localhost:}/home/* > RptEngine1:/usr/local/reports/A*.pdf > DB2:/var/lib/mysql/* > WEB1:/web/sites/* > > Any help would be appreciated. You define the necessary clients first. Then you create the filesets you need - there will be at least four of them. /home/, /var/lib/mysql/, and /web/sites/ are easy. /usr/local/reports/A*.pdf will need wildcards or regexes in an options clause. Nte that backing up the mysql database files while the database server is running is useless - you need to shut down the database server, or dump the databases you're interested in to a file and back up that (or these) files. Hope that gets you started, Arno __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users