Bacula-users

[Bacula-users] Non-interactive restore

2012-08-09 12:50:48
Subject: [Bacula-users] Non-interactive restore
From: Gary Stainburn <gary AT ringways.co DOT uk>
To: Bacula <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 9 Aug 2012 16:58:32 +0100
Hi folks.

Google has burried me once again as this seems to be a recurring question.

What is the best method of starting a restore without an interactive 
interface.  Basically, I want to be able to start a restore of the last 
backup state (option 5) for a client, specifying a difference restoreclient.

In an idea world I'd like to run a script after a successful completion.

I've tried:
restore all client=gary-fd restoreclient=eddie-fd

but it still asks for a resture type which I want to default to 5 and then 
asks me for a FileSet resource. I now only have one fileset resource for 
Linux but it still insists on giving me two choices including one I no long 
have in the config files.

Gary

-- 
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>