PLAKAR-ARCHIVE(1)

πŸ“¦ version 1.1.7, in nixos 26.05, nixpkgs unstable

πŸ’… 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

  • -format type β€” 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 compressed tar.gz file. the compressed glow-up. ✨
    • zip β€” creates a zip archive. she's iconic, she's everywhere. πŸ’œ
  • -output pathname β€” 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