Or, put yourself on the / folder, and repeat the command, without the leading
/...

so:

# cd /
# tar -cvf /dev/rmt/0n mnt/20-database/*

tar stores the pathname as You specify it... and so will untar it...

then:

# cd /my-recover-files
# tar -xvf /dev/rmt/0n

Saludos,

Leo

----- Original Message ----- 
From: "Romeo Ninov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 19, 2003 11:37
Subject: Re: [Solaris-Users] Backup to tape


get GNU version of tar


<><><><><><><><><><><><><><><><>
                        Regards: Romeo Ninov
<><><><><><><><><><><><><><><><>

>>> [EMAIL PROTECTED] 11/19/03 04:24 >>>
Hi people,

I am trying to do a backup on a tape of a directory:

 >tar -cvf /dev/rmt/0n /mnt/20-database/*
a /mnt/20-database/archivelogs-4dbAFTERmmsoraconf.tar.Z 9092007 tape
blocks

But it puts here absolute path meaning that when I decompress it, it
will do it in /mnt/20-database/archivelogs-4dbAFTERmmsoraconf.tar.Z and
not maybe in
/my-recover-files/mnt/20-database/archivelogs-4dbAFTERmmsoraconf.tar.Z

How can I do this?

Thnaks

Joaquin

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

_______________________________________________
Solaris-Users mailing list
[EMAIL PROTECTED]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to