1748264 Members
3985 Online
108760 Solutions
New Discussion юеВ

Re: fbackup

 
Sanjiv Sharma_1
Honored Contributor

fbackup

Hi,

My data is coming in /tiger/assemble. I am compressing the data every 4 hour. I want to take the backup of only the *.Z files through fbackup. What should be the command.

# fbackup -f /dev/rmt/1m -i /tiger/assemble/*.Z
takes the backup of all files in /tiger/assemble.

Thanks,
Raje.
Everything is possible
3 REPLIES 3
Vincent Farrugia
Honored Contributor

Re: fbackup

Hello,

You have to save your Z files in another directory. The -i option lets you specify the path you want to backup, all files in the path will be considered regardless of how many wildcard characters you include.

E.g. Save them in /tiger/assemble/Z and then type:

fbackup -f /dev/rmt/1m -i /tiger/assemble/Z

HTH,
Vince
Tape Drives RULE!!!
Chris Wilshaw
Honored Contributor

Re: fbackup

You could also use an alternate backup method which would allow you to use wildcards.

eg: tar

tar cvf /dev/rmt/1m /tiger/assemble/*.Z
Trond Haugen
Honored Contributor

Re: fbackup

Or you could create a graph file for fbackup first:

for FILE in /tiger/assemble/*.Z
do
echo "i $FILE"
done > /tmp/fbackup.include

fbackup -f /dev/rmt/1m -g /tmp/fbackup.include

Regards,
Trond
Regards,
Trond Haugen
LinkedIn