Hi Philipp
> You can give the restore command all things in one line: e.g.:
>
> restore client=<client> fileset=<fileset> restoreclient=<client> \
> where=/tmp/bareos-restores select all done
>
> You only need to give this command to bconsole and it will restore.
that helped a lot, thanks!
I know created a script that looks like this:
bconsole <<END_OF_DATA
restore client=someclient-fd restoreclient=someotherclient-fd select
current all where=/path/to/restore
done
yes
quit
END_OF_DATA
Unfortunately that doesn't fit my needs exactly, because on
someclient-fd we run two different backup jobs - one of them ist
executed daily, and the other one is executed hourly. I like to restore
the latest backup of the daily backup job. The above example restores
the current job of the client - which is mostly one of the hourly jobs.
:-(
Is it possible to put a job name into the script instead of (or
additionally to) a client name?
Thanks and greets
Stephan