-------- Forwarded Message -------- > From: James P. Kinney III <[EMAIL PROTECTED]> > To: David Gardner <[EMAIL PROTECTED]> > Subject: Re: [Bacula-users] need help defining client files for > backup... > Date: Tue, 23 Oct 2007 21:33:11 -0400 > > On Tue, 2007-10-23 at 15:50 -0700, David Gardner wrote: > > Arno, > > > > Are you suggesting I create multiple fileset (directives) within > > bacula-dir.conf? If so, how do I identify the fileset with the client? > > also in bacula-dir.conf: > > JobDefs { > Name = "WebHost" > Type = Backup > Level = Incremental > Client = WebHost > FileSet = "Full Set" > Schedule = "WeeklyCycle" > Storage = PacketLoader > Messages = Standard > Pool = Default > Priority = 10 > } > > The machine is called WebHost and I am backing up a set of directories > called "Full Set". > > There is also a job called: > > Job { > Name = "WebHost" > JobDefs = "WebHost" > Write Bootstrap = "/var/bacula/WebHost.bsr" > } > > > and an associated fileset called "Full Set": > > # List of files to be backed up > FileSet { > Name = "Full Set" > Include { > Options { > signature = MD5 > } > # > # Put your list of files here, preceded by 'File =', one per line > # or include an external list with: > # > # File = <file-name > # > # Note: / backs up everything on the root partition. > # if you have other partitons such as /usr or /home > # you will probably want to add them too. > # > # By default this is defined to point to the Bacula build > # directory to give a reasonable FileSet to backup to > # disk storage during initial testing. > # > #File = /usr/src/redhat/BUILD/bacula-1.38.3 > File = /home > File = / > File = /boot > File = /var > } > > # > # If you backup the root directory, the following two excluded > # files can be useful > # > Exclude { > File = /proc > File = /tmp > File = /.journal > File = /.fsck > File = /var/mail > File = /sys > } > } > > > And all of this is in bacula-dir.conf. > > Note: There is a specific listing for each _PARTITION_ in the fileset. > Otherwise, the backup process will not cross partition boundaries. > > An example for a windows machine fileset (with many exclusions!) is > below: > <<beware of line wrapping>> > > #This is my Windows 2000 fileset: > FileSet { > Name = "win2k" > Include { > Options { > signature = SHA1 > Exclude = yes > IgnoreCase = yes > # Exclude Mozilla-based programs' file caches > WildDir = "[A-Z]:/Documents and Settings/*/Application > Data/*/Profiles/*/*/Cache" > WildDir = "[A-Z]:/Documents and Settings/*/Application > Data/*/Profiles/*/*/Cache.Trash" > WildDir = "[A-Z]:/Documents and Settings/*/Application > Data/*/Profiles/*/*/ImapMail" > # Exclude user's registry files - they're always in use anyway. > WildFile = "[A-Z]:/Documents and Settings/*/Local > Settings/Application Data/Microsoft/Windows/usrclass.*" > WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*" > # Exclude directories full of lots and lots of useless little files > WildDir = "[A-Z]:/Documents and Settings/*/Cookies" > WildDir = "[A-Z]:/Documents and Settings/*/Recent" > WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/History" > WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temp" > WildDir = "[A-Z]:/Documents and Settings/*/Local Settings/Temporary > Internet Files" > # These are always open and unable to be backed up > WildFile = "[A-Z]:/Documents and Settings/All Users/Application > Data/Microsoft/Network/Downloader/qmgr[01].dat" > # Some random bits of Windows we want to ignore > WildFile = "[A-Z]:/WIN*/security/logs/scepol.log" > WildDir = "[A-Z]:/WIN*/system32/config" > WildDir = "[A-Z]:/WIN*/msdownld.tmp" > WildDir = "[A-Z]:/WIN*/Internet Logs" > WildDir = "[A-Z]:/WIN*/$Nt*Uninstall*" > WildDir = "[A-Z]:/WIN*/sysvol" > WildFile = "[A-Z]:/WIN*/cluster/CLUSDB" > WildFile = "[A-Z]:/WIN*/cluster/CLUSDB.LOG" > WildFile = "[A-Z]:/WIN*/NTDS/edb.log" > WildFile = "[A-Z]:/WIN*/NTDS/ntds.dit" > WildFile = "[A-Z]:/WIN*/NTDS/temp.edb" > WildFile = "[A-Z]:/WIN*/ntfrs/jet/log/edb.log" > WildFile = "[A-Z]:/WIN*/ntfrs/jet/ntfrs.jdb" > WildFile = "[A-Z]:/WIN*/ntfrs/jet/temp/tmp.edb" > WildFile = "[A-Z]:/WIN*/system32/CPL.CFG" > WildFile = "[A-Z]:/WIN*/system32/dhcp/dhcp.mdb" > WildFile = "[A-Z]:/WIN*/system32/dhcp/j50.log" > WildFile = "[A-Z]:/WIN*/system32/dhcp/tmp.edb" > WildFile = "[A-Z]:/WIN*/system32/LServer/edb.log" > WildFile = "[A-Z]:/WIN*/system32/LServer/TLSLic.edb" > WildFile = "[A-Z]:/WIN*/system32/LServer/tmp.edb" > WildFile = "[A-Z]:/WIN*/system32/wins/j50.log" > WildFile = "[A-Z]:/WIN*/system32/wins/wins.mdb" > WildFile = "[A-Z]:/WIN*/system32/wins/winstmp.mdb" > WildDir = "[A-Z]:/WIN*/SoftwareDistribution/EventCache/*" > WildFile = "[A-Z]:/hiberfil.sys" > # Temporary directories & files > WildDir = "[A-Z]:/WIN*/Temp" > WildDir = "[A-Z]:/temp" > WildFile = "*.tmp" > WildDir = "[A-Z]:/tmp" > WildDir = "[A-Z]:/var/tmp" > # Recycle bins > WildDir = "[A-Z]:/RECYCLER" > # Swap files > WildFile = "[A-Z]:/pagefile.sys" > # Hibernation file > WildFile = "[A-Z]:/hiberfile.sys" > # These are programs and are easier to reinstall than restore from > # backup > WildDir = "[A-Z]:/cygwin" > #WildDir = "[A-Z]:/Program Files/Grisoft" > #WildDir = "[A-Z]:/Program Files/Java" > #WildDir = "[A-Z]:/Program Files/Java Web Start" > #WildDir = "[A-Z]:/Program Files/JavaSoft" > #WildDir = "[A-Z]:/Program Files/Microsoft Office" > #WildDir = "[A-Z]:/Program Files/Mozilla Firefox" > #WildDir = "[A-Z]:/Program Files/Mozilla Thunderbird" > #WildDir = "[A-Z]:/Program Files/mozilla.org" > #WildDir = "[A-Z]:/Program Files/OpenOffice*" > WildDir = "[A-Z]:/Program Files" > } > # Our Win2k boxen all have C: and D: as the main hard drives. > File = "C:/" > #File = "D:/" > } > } # End FileSet "Windows 2000" > > > > > > That is the root of my confusion, I cannot figure out how to correlate a > > group of files/directories with hosts. > > > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > > 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 > > > > > /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ > > > David Gardner > > > email: djgardner(at)yahoo.com > > > Yahoo! IM: djgardner > > > AIM: dgardner09 > > > "Everything is a learning experience, even a mistake." > > > > > > > > > > > > > > > __________________________________________________ > > > 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 > > > > > > > -- > > Arno Lehmann > > IT-Service Lehmann > > www.its-lehmann.de > > > > ------------------------------------------------------------------------- > > 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 > > > > > > > > > > > > __________________________________________________ > > 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 > > -- James P. Kinney III CEO & Director of Engineering Local Net Solutions,LLC 770-493-8244 http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics) <[EMAIL PROTECTED]> Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- 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