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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can progress procopy command use for restore

Status
Not open for further replies.

menai2000

Programmer
Jan 8, 2002
1
CA
In my new job, there is a script file (HP UNIX) for the existing backup

#****** Start of file *****
chmod ug+w /d01/world/symix.lg
procopy /d01/world/symix /d03/symix/backup/symix
#****** End of file *****

*** note - the bi file actually stored in /d02/world/symix_bi/symix_b1, symix_b2 ...

If I need to restore the backup file back to /d01/world/symix

Can I just do a reverse script file

#******* Start of file ******
chmod ug+w /d03/symix/backup/symix.lg
procopy /d03/symix/backup/symix /d01/world/symix
#******* End of file *******

 
depending on the version of progress ( and i'll assume a v8+ ) your structure of where individual extents are contained in a file called "symix.st"

if you have a symix.st file in your backup directory then the various extents will be written to where they are defined in that file.
if you don't have one, then all extents will be written in the backup directory itself.

For restoring the above conditions would be exactly the same except that your target directory would be world instead of backup and the structure in the world/symix.st would be used.

stan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top