How to restore files without deleting existing
I'm trying to resolve a tar restore issue. Using the
newest gnu tar.
While using tar to deploy software, today I wiped
clean my destination directory. This was somewhat of a
surprise. The only files left in the destination were
those present in the source archive.
The destination directory is a symlink - could this
cause the existing files to be silently erased?
I hadn't seen this behavior under the orginal Solaris
host system. At that time, I went from Debian Linux to
Solaris (unknown vintage). The new sequence is Debian
Linux to Red Hat Linux.
In both environments, I create the archive as tar -czf
Under Solaris I restored using a command like gzip
archive.tar.gz | tar df -
In the new environment I thought I could just tar -xzf
archive.tar.gz Apparently, this isn't the case...
Thanks for your help,
Do you Yahoo!?
Declare Yourself - Register online to vote today!