On 04/10/10, Graham Keeling (gra...@equiinet.com) wrote: > On Mon, Oct 04, 2010 at 12:00:12PM +0100, Rory Campbell-Lange wrote: ... > > At present I am doing a restore job by using option 3 and entering the > > job id as all our backups are full backups. Then I go into the restore > > console. > > > > For each file I want to retrieve I find I have to walk the directory > > tree to mark the file. > > mark "/survey/GTC/02_SURVEY/02 Graphics/A Exisiting Site > > Images/GTC_40_ContactSheet-002.pdf" > > doesn't seem to work. > > I don't know if this is helpful to you, but the way I do this (with a script) > is: > path="/your/path/to/file.abc" > dir=${path%/*} > file=${path##*/} > (then in bconsole) > cd "$dir" > mark "$file" > > Bear in mind, last time I checked, bconsole has a very eccentric way of > quoting things. And the 'cd' quoting is different to the 'mark' quoting. > > For 'cd', you need to quote '\' and '"' with '\'. > > For 'mark': > '\' needs '\\\'. > '"' needs '\'. > '*', '?' and '[' need '\\'.
Thanks very much for your notes, Graham. Aaargh! I'll give those quoting patterns a go. It would be fantastically useful to be able to pipe file names to a Bacula restore process. -- Rory Campbell-Lange r...@campbell-lange.net Campbell-Lange Workshop www.campbell-lange.net 0207 6311 555 3 Tottenham Street London W1T 2AF Registered in England No. 04551928 ------------------------------------------------------------------------------ Virtualization is moving to the mainstream and overtaking non-virtualized environment for deploying applications. Does it make network security easier or more difficult to achieve? Read this whitepaper to separate the two and get a better understanding. http://p.sf.net/sfu/hp-phase2-d2d _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users