PLAKAR(1)
β¨ PLAKAR(1) β¨
okay so bestie, this is plakar β the General Commands Manual entry for it β and honestly? she's THAT girl. effortless backups. that's literally the whole pitch. π
πΈ NAME πΈ
plakar β effortless backups π
β¨ SYNOPSIS β¨
plakar [-concurrency number] [-configdir dir] [-cachedir dir]
[-datadir dir] [-cpu number] [-json] [-keyfile path] [-quiet]
[-silent] [-stdio] [-time] [-trace subsystems] [at kloset]
subcommand ...
π DESCRIPTION π
plakar is a tool for creating distributed, versioned backups β with compression, encryption, and data deduplication. like she's out here doing the most and looking flawless while she does it. π₯
By default, plakar operates on the Kloset store at ~/.plakar. You can change that by using the at option. simple as that, no cap.
Here are all the options, every single one, because we don't skip: π«Ά
-concurrency numberβ sets the max number of parallel tasks so stuff processes faster. defaults to the CPU count. more hands, more work, periodt.-configdir dirβ points to an alternate configuration directory. defaults to~/.config/plakar.-cachedir dirβ points to an alternate cache directory. defaults to~/.cache/plakar.-datadir dirβ points to an alternate data directory. defaults to~/.local/share/plakar.-cpu numberβ limits how many parallel workersplakaruses to number. by default it's the number of online CPUs.-jsonβ uses newline-delimited JSON as the output format for some subcommands. for the data girlies. π-keyfile pathβ reads the passphrase from the key file at path instead of prompting you. overrides thePLAKAR_PASSPHRASEenvironment variable.-quietβ disables all output except for errors. she's being mysterious. π€«-silentβ disables ALL output. fully ghosted. π»-stdioβ uses text lines as the output format for some subcommands instead of the default ncurses frontend. enabled by default when standard output is not a terminal.-timeβ reports the time the subcommand took to run. β±οΈ-trace subsystemsβ displays trace logs. subsystems is a comma-separated series of keywords to enable trace logs for different subsystems:all,trace,repository,snapshotandserver.at klosetβ operates on the given kloset store. it could be a path, a URI, or a label in the form"@name"to reference a configuration created withplakar-store(1).
π General Commands π
helpβ shows this manpage and the ones for the subcommands. the "let me google that for you" of the group chat.loginβ authenticates to Plakar services, refer toplakar-login(1).logoutβ logs out from Plakar services, refer toplakar-logout(1).serviceβ manages additional Plakar services that require you to be logged in, refer toplakar-service(1).token createβ generates a token to interact with Plakar services, refer toplakar-token-create(1).versionβ displays the current Plakar version, refer toplakar-version(1).
π¦ Configuration management π¦
destinationβ manages configurations for the destination connectors, refer toplakar-destination(1).sourceβ manages configurations for the source connectors, refer toplakar-source(1).storeβ manages configurations for storage connectors, refer toplakar-store(1).
π Kloset management π
checkβ checks data integrity in a Kloset store, refer toplakar-check(1).createβ creates a new Kloset store, refer toplakar-create(1).infoβ displays detailed information about internal structures, refer toplakar-info(1).maintenanceβ removes unused data from a Kloset store, refer toplakar-maintenance(1).pruneβ prunes snapshots according to a policy, refer toplakar-prune(1).ptarβ creates a.ptararchive, refer toplakar-ptar(1).serverβ starts a Plakar server, refer toplakar-server(1).syncβ synchronizes snapshots between Kloset stores, refer toplakar-sync(1).uiβ serves the Plakar web user interface, refer toplakar-ui(1).
π Snapshot management π
archiveβ creates an archive from a Kloset snapshot, refer toplakar-archive(1).backupβ creates a new Kloset snapshot, refer toplakar-backup(1).catβ displays file contents from a Kloset snapshot, refer toplakar-cat(1).diffβ shows differences between files in a Kloset snapshot, refer toplakar-diff(1).digestβ computes digests for files in a Kloset snapshot, refer toplakar-digest(1).dupβ duplicates an existing snapshot with a different ID, refer toplakar-dup(1).locateβ finds filenames in a Kloset snapshot, refer toplakar-locate(1).lsβ lists snapshots and their contents in a Kloset store, refer toplakar-ls(1).mountβ mounts Kloset snapshots as a read-only filesystem, refer toplakar-mount(1).restoreβ restores files from a Kloset snapshot, refer toplakar-restore(1).rmβ removes snapshots from a Kloset store, refer toplakar-rm(1).
π§ Plugin handling π§
pkg addβ installs a plugin, refer toplakar-pkg-add(1).pkg buildβ builds a plugin from source, refer toplakar-pkg-build(1).pkg createβ packages a plugin, refer toplakar-pkg-create(1).pkg rmβ uninstalls a plugin, refer toplakar-pkg-rm(1).pkg showβ lists installed plugins, refer toplakar-pkg-show(1).
π ENVIRONMENT π
PLAKAR_INSECURE_PLAINTEXTβ must be set to work with a Kloset store that is not encrypted. without it, every command that would read from or write to an unencrypted store straight up refuses to run. like she's setting a boundary. π§PLAKAR_PASSPHRASEβ the passphrase to unlock the Kloset store; overrides the one from the configuration. if it's set,plakarwon't prompt to unlock. thekeyfileoption overrides this environment variable. πPLAKAR_REPOSITORYβ reference to the Kloset store.PLAKAR_TOKENβ token to authenticate for Plakar services.
π FILES π
~/.cache/plakarβ Plakar cache directories.~/.config/plakar/destinations.ymlβ restore destinations configuration.~/.config/plakar/sources.ymlβ backup sources configuration.~/.config/plakar/stores.ymlβ Kloset stores configuration.~/.plakarβ default Kloset store location.
β EXIT STATUS β
these exit codes are aligned with sysexits(3) where applicable, iykyk:
0β command completed successfully. slay. β1β a general error occurred. π64(EX_USAGE) β invalid command-line arguments or flags.65(EX_DATAERR) β data integrity check failed (corrupted chunks, verification mismatch).66(EX_NOINPUT) β the repository could not be opened or located.77(EX_NOPERM) β authentication or decryption failure (wrong passphrase, missing keyfile), or an unencrypted store used withoutPLAKAR_INSECURE_PLAINTEXT.78(EX_CONFIG) β incompatible repository version.
π EXAMPLES π
bestie these are copy-paste ready, go off π
Create an encrypted Kloset store at the default location:
$ plakar create
Create an encrypted Kloset store on AWS S3:
$ plakar store add mys3bucket \
location=s3://s3.eu-west-3.amazonaws.com/backups \
access_key="access_key" \
secret_access_key="secret_key"
$ plakar at @mys3bucket create
Create a snapshot of the current directory on the @mys3bucket Kloset store:
$ plakar at @mys3bucket backup
List the snapshots of the default Kloset store:
$ plakar ls
Restore the file "notes.md" in the current directory from the snapshot with id "abcd":
$ plakar restore -to . abcd:notes.md
Remove snapshots older than 30 days:
$ plakar rm -before 30d
and that's the whole page, no crumbs left. π
this little icon came from Debian, version dated May 5, 2026 β so like, she's been serving PLAKAR(1) energy since then and she has NOT slowed down. mwah. ππ¦
π¦ where this page comes from
- 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