All, I will soon purchase a second (identical) tape drive for my autochanger, which will be used primarily for cloning jobs.
After reading the documentation, it seems that the following (with site-specific modifications of job-name and media-type) is all that needs to be added to each Job (or perhaps JobDefs) resource to make cloning happen: run = "<job-name> level=%l since=\"%s\" storage=<media-type>" Is this correct? I suppose that I can have a job cloned to a different pool using the "storage" keyword in that line, but I would much rather say: run = "<job-name> level=%l since=\"%s\" *pool*=<*pool-name*>" Are there any plans to implement "pool" as a cloning keyword in the run directive? I think that it would be much cleaner to refer to the pool-name as opposed to media-type since some folks (like yours truly) have one media-type, but multiple pools. Also, how does Bacula handle cloned jobs when "Spool Data = yes". Basically, does Bacula then spool once or twice? Please advise. Cheers, Mike Michael Proto wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I neglected to mention that I have a 2nd tape drive that I plan to use > with this clone job, so there shouldn't be an issue with both running > simultaneously. > > Michael Proto wrote: > >> As part of my monthly backup cycle, I am required to take 2 full backups >> to 2 different pools at the beginning of each month, one to store >> locally and one to store off-site. Up until now I have been running 2 >> independent schedules to take care of these: >> >> bacula-dir.conf: >> Schedule { >> Name = "WeeklyCycle" >> Run = Level=Full Pool=MonthlyOffsite Priority=9 1st sat at 1:05 >> Run = Level=Full Pool=Monthly Priority=9 1st sun at 1:05 >> Run = Level=Incremental Pool=Daily FullPool=Monthly mon-sat at 1:05 >> >> ... >> >> I see in the Director's Job resource that there is a "Run" directive >> (not to be confused with the Run directive in the Schedule resource >> above) that can be used to clone jobs. If possible I'd like to use this >> to clone the "Level=Full Pool=Monthly" backup job shown above to the >> MonthlyOffsite pool. Unfortunately I'm unable to wrap my head around >> this directive based on the single example given in the documentation. >> >> Here's a sample of one of my Job and JobDef resources: >> >> JobDefs { >> Name = "DefaultJob" >> Type = Backup >> Level = Incremental >> FileSet = "Full Set" >> Schedule = "WeeklyCycle" >> Storage = ADIC-Library1 >> Messages = Standard >> Pool = Daily >> Full Backup Pool = Monthly >> Priority = 10 >> Maximum Concurrent Jobs = 1 >> Spool Data = yes >> } >> >> Job { >> Name = "archive2" >> JobDefs = DefaultJob >> Client = "archive2-fd" >> FileSet = "archive2" >> } >> >> >> I imagine I'd need a line like this in the archive2 job: >> >> Run = "archive2 level=Full since=\"%s\" pool=MonthlyOffsite" >> >> The way I see it, if I put that in the archive2 job resource it will run >> every time a scheduled (incremental or full) job runs for this Job >> resource. Is there a way to have a "Run" job ONLY run when the other >> monthly full backup is scheduled to run? Or would I need to create >> another Job resource for all of my clients, under another schedule, and >> remove these full backups from my WeeklyCycle schedule? >> >> >> >> Thanks, >> Michael Proto >> > > - ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > - -- > Michael Proto | SecureWorks > Unix Administrator | > PGP ID: 5D575BBE | [EMAIL PROTECTED] > ******************************************************* > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (FreeBSD) > > iD8DBQFGCox/OLq/wl1XW74RAqGCAJ9Ukre8Fs9L/3/fKf1n4u0E6Xlj0gCeLM6q > jEdKRB10O4pzsTTPolo8rVk= > =qaww > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ------------------------------------------------------------------------- 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