Hi, On 3/12/2007 1:01 PM, [EMAIL PROTECTED] wrote: > Is there a known/standard way to get the jobid for the latest incremental > backup for a client using > bconsole?
The only suggestion I have is parsing a query output. Or, alternatively, directly access the catalog. > Or, does anyone have a tried and trusted method of their own? > > I need the jobid for an automatic restore from one client to another, in a > bconsole shell script that is > run immediately after successful completion of a daily incremental job. > > The "current" backup is not ideal because that includes the most recent full > backup. I need the > incremetal backup only (this is for servers with scheduled jobs for inc, diff > and full backups). > > One way I can think of would be to separate the diff/full and icremental > jobs. I could create a job that > only does incrementals, and then use restore option 5. (select most recent > backup for a client) in > the bconsole script. That would not work, because for the Levels to reference each other, they have to run through the same Job. I.e. it would create two independent lists of backups if you separated the levels into two Jobs. > > (This is for off-site incrementals that are taken by Attix off of a W2k3 > backup server. The W2k3 > machine is the one to which the incrementals are "restored".) > > Any suggestions would be most welcome. Looks like you, too, need copy jobs :-) Do you backup to disk or to tape? Backing up to disk, you could simply scp or rsync the volume files. Of course, you could also use rsync to transfer the data to the off-site system, independent of Bacula. Arno > Thanks, > > Mark > > Mark Tiramani > FREDO Internet Services > [EMAIL PROTECTED] > > > > ------------------------------------------------------------------------- > 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 -- IT-Service Lehmann [EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- 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