Hi,
I'm attaching a small patch (git diff vs. the current HEAD of Branch-5.2). It
only describes the "restorejob" argument in the restore chapter of the main
manual and in the console manual.
Am Dienstag, 4. Dezember 2012, 10:43:05 schrieb Kern Sibbald:
> Hello Bastian,
>
> On 12/03/2012 04:30 PM, Bastian Friedrich wrote:
> > Hi,
> >
> > Am Montag, 3. Dezember 2012, 15:49:06 schrieb Eric Bollengier:
> >> Hello Bastian,
> >>
> >> How is it different from the restorejob command line option?
> >
> > Duh.
> >
> > Palm -> Face.
> >
> > It obviously is not (other than that the implemenation that is already
> > present is smoother than mine).
> >
> > Sorry for the noise, and forget about my patch :)
> >
> > The reason I did not stumble uppon that flag is that it is not listed in
> > the respective section in the documentation ("The Restore Command",
> > currently chapter 20.2). I'll see whether I can supply a documentation
> > patch.
> That would be kind of you :-)
>
> Kern
Mit freundlichen Grüßen
Bastian Friedrich
--
Collax GmbH . Basler Str. 115a . 79115 Freiburg . Germany
p: +49 (0) 89-990 157-28 www.collax.com
Geschäftsführer: Falk Birkner, Ralf Elias
AG München HRB 173695. Ust.-IdNr: DE270819312
\ Read what I mean, not what I write.
diff --git a/docs/manuals/en/console/bconsole.tex b/docs/manuals/en/console/bconsole.tex
index 8861a22..c1637b7 100644
--- a/docs/manuals/en/console/bconsole.tex
+++ b/docs/manuals/en/console/bconsole.tex
@@ -962,6 +962,7 @@ release storage=\lt{}storage-name\gt{}
restore storage=\lt{}storage-name\gt{} client=\lt{}backup-client-name\gt{}
where=\lt{}path\gt{} pool=\lt{}pool-name\gt{} fileset=\lt{}fileset-name\gt{}
restoreclient=\lt{}restore-client-name\gt{}
+ restorejob=\lt{}job-name\gt{}
select current all done
Where {\bf current}, if specified, tells the restore command to
@@ -977,6 +978,12 @@ restore storage=\lt{}storage-name\gt{} client=\lt{}backup-client-name\gt{}
if the restoreclient keyword is specified, then the restore is written
to that client.
+ The restore job rarely needs to be specified, as bacula installations
+ commonly only have a single restore job configured. However, for certain
+ cases, such as a varying list of RunScript specifications, multiple
+ restore jobs may be configured. The restorejob argument allows the
+ selection of one of these jobs.
+
\item [run]
\index[general]{run}
This command allows you to schedule jobs to be run immediately. The full form
diff --git a/docs/manuals/en/main/restore.tex b/docs/manuals/en/main/restore.tex
index 855fe3d..8481e0f 100644
--- a/docs/manuals/en/main/restore.tex
+++ b/docs/manuals/en/main/restore.tex
@@ -631,6 +631,12 @@ The full list of possible command line arguments are:
\item {\bf add\_suffix=.old} -- add a suffix to all your files.
\item {\bf regexwhere=!a.pdf!a.bkp.pdf!} -- do complex filename manipulation
like with sed unix command. Will overwrite other filename manipulation.
+\item {\bf restorejob=jobname} -- Pre-chooses a restore job. Bacula can be
+ configured with multiple restore jobs ("Type = Restore" in the job
+ definition). This allows the specification of different restore properties,
+ including a set of RunScripts. When more than one job of this type is
+ configured, during restore, Bacula will ask for a user selection
+ interactively, or use the given restorejob.
\end{itemize}
\label{restorefilerelocation}
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel