I am facing an issue with ustar tar archive on solaris 10.
By mistake I have created ustar tar archive of /var/adm/messages file on solaris10.
I am trying to untar the /var/adm/messages file . but I am not getting the original text messages file.
I user tar -xvf /var/adm/messages...
but no luck
Help appreciated
---------- Post updated at 08:19 PM ---------- Previous update was at 05:41 PM ----------
HI...
i guess it has overwritten all the file from /var/adm directory to
/var/adm/messages ustar archive file...
Oh...I think I lost my /var/adm/messages file......
[LEFT]Can you tell me exactly what you have run to take backup (creating tar file) and from which directory you ran?
If the tar file has old messages file and if you overwrote latest messages file then there is no way you could restore latest messages file. BUT you may get little recent message files in the form of messages.0,1,2 etc.
[/LEFT]
Its not possible to recover your messages file as you gave "messages" file as tar-file-name to be created in your tar command which overwrote your acutal message file.