plakar-archive
PLAKAR-ARCHIVE(1)
General Commands Manual
PLAKAR-ARCHIVE(1)
NAME
plakar-archive
—
Create an archive from a Plakar
snapshot
SYNOPSIS
plakar archive | [-format type]
[-output archive]
[-rebase ]
snapshotID:path |
DESCRIPTION
The plakar archive
command creates an
archive of the given type from
the contents at path of a specified Plakar snapshot,
or all the files if no path is given.
The options are as follows:
-format
type- Specify the archive format. Supported formats are:
-output
pathname- Specify the output path for the archive file. If omitted, the archive is created with a default name based on the current date and time.
-rebase
- Strip the leading path from archived files, useful for creating "flat" archives without nested directories.
EXAMPLES
Create a tarball of the entire snapshot:
$ plakar archive -output backup.tar.gz -format tarball abc123
Create a zip archive of a specific directory within a snapshot:
$ plakar archive -output dir.zip -format zip abc123:/var/www
Archive with rebasing to remove directory structure:
$ plakar archive -rebase -format tar abc123
DIAGNOSTICS
The plakar-archive
utility exits 0
on success, and >0 if an error occurs.
- 0
- Command completed successfully.
- >0
- An error occurred, such as unsupported format, missing files, or permission issues.
SEE ALSO
Plakar July 3,
2025 PLAKAR-ARCHIVE(1)