PLAKAR-PTAR(1)
π PLAKAR-PTAR(1) π
the plakar-ptar girlies' guide (General Commands Manual, bestie edition)
okay so picture this: you've got a whole lil ecosystem of Plakar stuff and you want to smoosh it into one adorable little parcel you can carry anywhere. That's this command. Welcome to plakar-ptar, she's iconic, she's portable, she's giving "packed lunch but make it cryptography" π
β¨ NAME β¨
plakar-ptar β generate a self-contained Kloset archive (.ptar) π
πΈ SYNOPSIS πΈ
plakar ptar [-plaintext] [-overwrite] [-k location] -o file.ptar
[path ...]
like, that's it. that's the whole vibe. read it, internalize it, slay π¦
π DESCRIPTION π
so the plakar ptar command creates a single portable archive (a .ptar file, yeah that's the whole personality) that bundles up one or more existing Plakar repositories β we call them βklosetsβ around here, cute right β and/or arbitrary filesystem paths, all into one self-contained package. one file. one girl. no cap. β¨
the resulting archive preserves repository metadata, snapshots and data chunks, and it's compressed and encrypted so you can yeet it over the wire or stash it off-site and still sleep at night. π₯ secure transport. off-site storage. main character archive energy.
β οΈ okay bestie, important: at least one data source must be supplied. that means one or more-kor-klosetoptions naming remote or local kloset repositories, and/or one or morepatharguments pointing at files or directories to back up. no source = no archive, periodt.
and the destination archive name? mandatory. you give it with -o. she doesn't guess, she doesn't assume, she's not gonna pick a filename for you. π
also β unless you pass the -overwrite flag, plakar ptar refuses to replace an existing archive. she will simply not. respect her boundaries π
the options are as follows, let's go:
π§ OPTIONS π§
-plaintextβ disables the transparent encryption of the archive. if you omit this,plakar ptarencrypts repository data using a key derived from the passphrase you give viaPLAKAR_PASSPHRASEor get prompted for interactively. so like, leaving it off is the safe default, on purpose π-overwriteβ overwrite an existing.ptarfile at the destination path. only if you mean it, bestie π«Ά-k location,-kloset locationβ add a kloset repository to include in the archive. can be specified multiple times to bundle several repositories. one girl, many klosets, we love a collector π-o file.ptarβ path of the archive to create. this option is required. non-negotiable. β¨path ...β zero or more filesystem paths to back up directly into the archive. (zero is fine here! just don't bring zero total data sources, see above π)
π¦ ENVIRONMENT π¦
PLAKAR_PASSPHRASEβ passphrase used to derive the encryption key when encryption is enabled. guard it with your life, it's literally the key to the whole thing π
β EXIT STATUS β
the plakar-ptar utility exits 0 on success, and >0 if an error occurs. simple. clean. a vibe check in numeric form π
πΈ SEE ALSO πΈ
plakar(1), plakar-backup(1), plakar-create(1) β go read your sisters, they're all icons π
Debian Β· May 5, 2026 β mwah, that's the source/version and date, and that's the whole page. go forth and archive, bestie. ππβ¨
π¦ 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