PLAKAR-ARCHIVE(1)
π
PLAKAR-ARCHIVE β bestie, let's talk about plakar-archive
okay so real quick: this is the manual page for plakar-archive, a General Commands Manual situation, and it's about one thing and one thing only β turning a Plakar snapshot into an archive. that's the whole vibe. π
β¨ SYNOPSIS β¨
plakar archive [-format type] [-output archive] [-rebase]
snapshotID:path
that's it, that's the shape of it. three little flags and then a snapshot with a path. iykyk. π«
π¦ DESCRIPTION π¦
so the plakar archive command creates an archive β of whatever type you ask for β out of the contents at path inside a specified Plakar snapshot. and if you don't hand it a path? no stress, it just grabs all the files. every single one. main character energy fr. π
πΈ the options are as follows
-formattype β tells it what kind of archive you want. and the supported formats are, in their full glory:tarβ creates a tar file. classic. no notes. πtarballβ creates a compressedtar.gzfile. the compressed glow-up. β¨zipβ creates a zip archive. she's iconic, she's everywhere. π
-outputpathname β picks the output path for the archive file. lowkey important: if you omit it, the archive gets created with a default name based on the current date and time. so like, it'll name itself, no cap. π-rebaseβ strips the leading path from archived files. super useful for making "flat" archives without nested directories. it's giving decluttered. π§Ή
β EXIT STATUS β
plakar-archive exits 0 on success, and >0 if an error occurs. that's the whole check β zero means slay, bigger-than-zero means something went sideways. π
π₯ 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 the directory structure:
$ plakar archive -rebase -format tar abc123
see how clean that is?? three commands, zero confusion, ate. π
π SEE ALSO π
go read those too bestie, they're the supportive co-stars. π«Ά
π cute little sign-off: this page came from Debian, dated May 5, 2026, and it's the PLAKAR-ARCHIVE(1) page β General Commands Manual flavour. mwah, go archive something. ππ¦
π¦ where this page comes from
- nixos 26.05: plakar 1.1.4
- nixpkgs unstable: plakar 1.1.7
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms