On Wednesday 23 November 2005 17:32, PCextreme - Updates wrote: > Hello, > > I have a little bit of a problem with Bacula and i can't figure a way to > fix it. > > I have a server with around 350GB of data in /home and i wan't to backup > all the data. > > The server has a lot to do and doens't make it to make a full backup of > the whole /home in 1 night. > > So i wanted to devide in in 4 slides: > Day 1 > /home/a* > /home/b* > /home/c* > > Day 2 > /home/h* > /home/i* > > etc, etc, i guess you know what i mean. > > So i made 4 filesets that look all like this. > > FileSet { > Name = "slashhome-day1" > Include { > Options { > signature = MD5; > compression=GZIP; > wilddir = "/home/a*"; > wilddir = "/home/b*"; > wilddir = "/home/c*"; > wilddir = "/home/d*"; > wilddir = "/home/e*"; > wilddir = "/home/f*"; > wilddir = "/home/g*"; > } > File = /home > } > } > > Well this does NOT work at all, everything get's back-upped multiple > times by "day1", "day2", "day3", "day4".
Well, after finally finding the time to look at this in more detail, I would say, yes, the above setup is going to backup everything in /home -- assuming that all the subdirectories are on the same filesystem. If I am not mistaken, the manual shows very clearly why this will not work, and I'll give you a hint here: in the absence of any exclude Option, *everything* in the File section is included. The manual can explain this and tell you how to fix it. Off the top of my head (don't blame me if I am wrong), I think adding something like: Options { exclude = yes wilddir = "*" } Just before the File statement, or even after it, might resolve the problem. The manual may have a better way of resolving this though ... > > My bacula-dir.conf is a little big, so i won't post the whole config > file here. > > My Job: > > Job { > Name = "fileserver-nl02-home-day1" > Type = Backup > Client = fileserver.nl02 > FileSet = "slashhome-day1" > Schedule = "FullOnmonday" > Storage = backup02-02 > Messages = Standard > Pool = fileserver-nl02 > Priority = 10 > Write Bootstrap = "/var/lib/bacula/fileserver-nl02-home-day1.bsr" > Max Run Time = 21600 > Max Start Delay = 7200 > } > > Is this the way to divide my backups over the week or is this totally > wrong? > > Wido den Hollander > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users