Page 1 of 1

Archive datasets using tar unix command

Posted: Tue Aug 11, 2009 1:33 pm
by vuluvala
Hi,
We have been having problem with accessing the archived datasets. We are using unix tar command as follows to archive the datasets on daily basis.

tar -cvf ${ARCHIVE_DIR}/${PROCESS_DATE}/stage.${BDATE}.tar -C ${STAGE} ./

All the datasets are written to sub-directories under ${STAGE} directory by the ETL jobs. I realized that I have to use orchadmin command but not sure how to make it work with tar command. Could you please give me some direction on how to archive the datasets using tar command so that we can retrieve the datasets when required.

Thanks

Posted: Tue Aug 11, 2009 1:52 pm
by chulett
First off, how about explaining what the "problem with accessing the archived datasets" you've been having is?

Posted: Tue Aug 11, 2009 2:10 pm
by ArndW
You have been (successfully) archiving the dataset descriptors; but the actual data resides in the location(s) pointed to by the disk resource in your active APT_CONFIG file.

Posted: Tue Aug 11, 2009 2:17 pm
by chulett
Hard to say, one way or the other, just from what was posted. Time will tell.