Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Restore syntax

Status
Not open for further replies.
Oct 15, 2001
2
US
Hi, This is my first time posting to this forum, forgive stupid questions, I'm an AIX Novice.

I'm trying to do a restore from a tape in file-name archive format. I want to restore all files with a .dbf extension - they exist on three different volumes. I just can't seem to hit the syntax correctly - I've tried:
restore -xvqf /dev/rmt0 "*.dbf"
No files restored.
restore -xvqf /dev/rmt0 '*.dbf'
same result.
You get the idea.

FYI, running aix 4.3.

Thanks in advance.
 
Cwilliams,

Try

restore -xvqdf /dev/rmt0 ./*.dbf

or perhaps in quotes

Best of luck

PSD
IBM Certified Specialist - AIX V4.3 Systems Support
IBM Certified Specialist - AIX V4 HACMP
 
Well, that didn't produce any good results. Discovered that if you backup in by file, you have to provide the entire path, and that the wildcards can't stand in for the slashes in the path. So what worked was a variation on:
restore -xvqf /dev/rmt0 '/disk*/rest/of/path/*.dbf' where luckily, all my .dbf files were on disk1, disk2, and disk3. Thanks for your assistance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top