Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

tar command with compress option

user13681259Nov 8 2011 — edited Nov 8 2011
We are in process of developing the shell script to take the oracle database backup and using the TAR commnad with compress option as like below. But this commnad is not working. Please hlep

cd /u01/oradev/datafiles
tar cvf - data | compress -c > /u02/oraprod/dbf/proddata_`date +%d%b%Y`.tar.Z

Appreciate your kind help.

OS : Linux v5.5
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 6 2011
Added on Nov 8 2011
8 comments
1,030 views