How to create an archive with TAR.NLM (instead of ZIP.NLM)

(Last modified: 10Oct2001)

This document (10063503) is provided subject to the disclaimer at the end of this document.

goal

How to create an archive with TAR.NLM (instead of ZIP.NLM)

fact

NetWare 4.11
NetWare 5.x
NetWare 6.x

symptom

The customer wishes to create an archive on the NetWare server, of all the files on a volume, which include long file names.

cause

Server crashed, need to move files off the server and onto a spare drive the customer has mounted as an extra volume.

fix

NetWare 5: LOAD TAR.NLM --create --verbose --totals --file=sys:\test.tar "Long File Name Directory"
NetWare 4: LOAD TAR.NLM --create --verbose --totals --file=test.tar "Long File Name Directory"
 
Note the --file parameter is different, NetWare 4 is a bit fussy, it doesn't like the volume name. The "Long File Name Directory" in this case is an actual directory to put into the archive recursively (ie: with subdirectories). Note that it seems to have a problem putting empty directories into the archives. There's a few other small quirks, but it certainly gets the job done in a disaster.. and works well. WinZip can open it up etc too.
 
TAR.NLM is actually compiled from GNU TAR. You can obtain the GNU TAR Reference manual from http://www.gnu.org/manual/tar/ which includes all the command line parameters.

You can also use TAR.NLM --help to display command line options. This can be piped out to a file such as SYS:\TARINFO.TXT using the following command:
LOAD TAR.NLM (CLIB_OPT)/>TARINFO.TXT

Keywords: PKZIP UNZIP GZIP TAR ZIP.NLM UNZIP.NLM TAR.NLM ARCHIVE DISASTER

document

Document Title: How to create an archive with TAR.NLM (instead of ZIP.NLM)
Document ID: 10063503
Solution ID: NOVL52872
Creation Date: 13Jul2001
Modified Date: 10Oct2001
Novell Product Class:NetWare

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.