It's likely the parent directories were not included in the save, therefore
they cannot be restored due to missing objects.
--
Jim Oberholtzer
Chief Technical Architect
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dale
Janus
Sent: Tuesday, June 02, 2015 4:12 PM
To: midrange-l@xxxxxxxxxxxx
Subject: problem trying to RST to different location.
We use this command to save the IFS every night:
SAV DEV('/QSYS.LIB/TAP01.DEVD') OBJ(('/*' +
*INCLUDE) ('/QSYS.LIB' *OMIT) ('/QDLS' +
*OMIT) ('/domino/sptdomino/data' *OMIT) +
('/TMP' *OMIT)) SAVACT(*YES) +
ENDOPT(*REWIND) UPDHST(*YES)
We have used RST in the past to restore PHP programs to the same location.
But today we want to restore a bunch of folders/files to a new location.
We got errors that indicate we goofed up the RST command.
Here is the job log:
CALL PGM(RSTIFS5CL)
300 - RST DEV('/QSYS.LIB/TAP01.DEVD')
OBJ(('/var/communigate/accounts/mailbox.macnt/*.*' *INCLUDE
'/var/communigate/accounts/mailboxBAK.macnt/*.*')) OUTPUT(*PRINT) Object
not found. Object is /var/communigate/accounts/mailboxBAK.macnt/*.*.
Cannot restore directory /var/communigate/accounts/mailboxBAK.macnt/*.*.
Object not found. Object is
/var/communigate/accounts/mailboxBAK.macnt/*.*.
Cannot restore directory /var/communigate/accounts/mailboxBAK.macnt/*.*.
Object not found. Object is
/var/communigate/accounts/mailboxBAK.macnt/*.*.
It seems to me I have the RST command wrong, that it is trying to restore
mailboxbak.macnt.
I want to restore everything in mailbox.macnt to mailboxbak.macnt. I have
created a top level folder mailboxbak.macn, but no subfolders.
The original file mailbox.macnt contains both files and subfolders with
files.
Does anyone know the magic words for RST?
---Dale
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.