Home » Infrastructure » Linux » help in tar restoring (red hat linux 9)
help in tar restoring [message #327316] Mon, 16 June 2008 00:53 Go to next message
Messages: 42
Registered: June 2006
we are using the following command to backup the data

tar -cvpPf /dev/st0  /dir_to_bkp/ /dir_to_bkp2/ --label "bkp_`date '+%d%m%y'`"  > PRODBKPTAPE-`date '+%d%m%y'`.log 2> prodbkptape.err

since i am using the absolute path flag "P" i am apprehensive of using the command

tax -xvf /dev/st0

Will this command overwrite the existing files or will it restore the backup to the current directory?
I want to restore the backup to my curent directory.
Re: help in tar restoring [message #327326 is a reply to message #327316] Mon, 16 June 2008 01:27 Go to previous message
Michel Cadot
Messages: 68600
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
As this is NOT an Oracle-related question, the topic is locked.

Previous Topic: Oracle 10g Install on Linux Hung
Next Topic: segmentation fault
Goto Forum:

Current Time: Sat Mar 02 04:40:56 CST 2024