file archive
(with Compression)
Copyright © 2010, Juniper Networks, Inc.
The following sample command archives and compresses all message files in the local
directory
/var/log/messages
user@host> file archive compress source /var/log/messages* destination
/var/log/messages-archive.tgz
/usr/bin/tar: Removing leading / from absolute path names in the archive.
user@host>
Chapter 22: Operational Commands for Configuration File Management
as the single file
messages-archive.tgz
in the same directory:
439