Archive datasets using tar unix command
Posted: Tue Aug 11, 2009 1:33 pm
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
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