TO use tar command

Hello,
i have already a backup in tar.gz format of test server.when i started to extract the backup it skip the archive folder,Please let me know if all you guru's have any solution of this.

Thanks,
Regards,
Umair

make sure of what you have already:

gunzip tar.gz
tar tf ./tar

tar is not a good name for a tar archive BTW.

If you tell us exactly what you need we can help.

i have backup in this format
APPS_PROD_26-Jan-12.tar.gz

Now i want to extract with skip of archive folder.

Regards,
Umair

Note the -Z option on some tar versions allows you to skip the gunzip below

gunzip APPS_PROD_26-Jan-12.tar.gz
tar tf  APPS_PROD_26-Jan-12.tar | grep archive > exclude_file
tar xvf APPS_PROD_26-Jan-12.tar -x exclude_file

Note - READ the exclude_file first to make sure you want to exclude all of the files in there. There can be a lot of other files that have "archive" somewhere in the name.