Koozali.org: home of the SME Server

restore with flexbackup

FredS

restore with flexbackup
« on: February 20, 2002, 03:51:31 PM »
OK I give up


I need to restore 2 files called

RawMat&dateweek.xls
Factory list.doc

I can see them on the backup tape

/usr/bin/flexbackup -list

but cant restore them

flexbackup -extract -files

but I get this error

[root@zeus flexbackup]#
flexbackup version 0.9.8
/etc/flexbackup.conf syntax OK

Errors:
 list of files /home/e-smith/files/ibays/wordp/files/Factory/RawMat not readable: No such file or directory


Any thoughts

Robert Boerner

Re: restore with flexbackup
« Reply #1 on: February 20, 2002, 05:12:46 PM »
I think you may have to implicitly quote the filenames. The shell is interpreting the ampersand symbol as a command (the and operator), and not part of the file name. Same goes for the other one because it has a space in the name, The shell probably thinks you are talking about two files, instead of just one with a space in the middle. Try to single quote the names of the files and perform the extract. Another easy way to do this would be to use Darrel May's howto and run felxbackup in interactive mode. Then you could just use Linux's auto-complete feature. I believe most shells will automatically quote filenames like these.

check out http://myezserver.com for the howto.

Of course, you could always just have the users name the files with underscores :)

FredS

Re: restore with flexbackup
« Reply #2 on: February 20, 2002, 05:24:42 PM »
Ahh

I was missing the single quote

Thats what I get for wrinting a messy script to do the job

Thanks for that