PLAKAR-SYNC(1)
π
PLAKAR-SYNC(1) β the plakar-sync girlies' guide
okay so bestie, welcome to plakar-sync, one of the plakar commands, and honestly? it's giving β¨*matchmaker for repositories*β¨. it synchronizes snapshots between Plakar repositories, and it does it flawlessly. no cap.
πΈ SYNOPSIS
plakar sync [-cache path] [-packfiles path] [snapshotID] to | from |
with repository
like, that's the whole vibe up there ^^ read it carefully, she's picky about order π
π DESCRIPTION
bestie. listen. the plakar sync command synchronizes snapshots between two Plakar repositories. that's it, that's the whole job, and she ate. π₯
and here's the cute part: if you pass a specific snapshot ID, then only the snapshots with matching IDs get synchronized. so if you're like "girl, just this one," she's like "say less." π
also, plakar sync supports the location flags documented in plakar-query(7) β so you can precisely select which snapshots you want, like a little curator. use them, they're iconic. π¦
the options are as follows, and yes we are going through every single one:
-cache pathβ specify a path where the vfs cache should live. and ooh, she has special values π: use the special valuenoto disable caching entirely, or the special valuevfsto use the in-memory vfs cache β which, btw, is the default. so that's the main character setting, periodt.-packfiles pathβ path where the temporary packfiles go, instead of building them in the default temporary directory. and if you specify the special valuememory, then the packfiles are built in memory. no disk, no problem. β (note: the original says "build in memory," we're not fixing that typo, we're just vibing with it π«Ά)
and now the arguments, aka the actual directions of the whole operation:
to|from|withβ this specifies the direction of synchronization, and each one has its own personality:toβ synchronize snapshots from the local repository to the specified peer repository. like, you're sending them out into the world. bye bestie, slay over there. π§fromβ synchronize snapshots from the specified peer repository to the local repository. receiving them. spoiling yourself. we love a self-care moment. πΈwithβ synchronize snapshots in both directions, ensuring both repositories are fully synchronized. mutual. reciprocal. the healthy relationship. π
repositoryβ path to the peer repository you're synchronizing with. your plus-one. your other half. π«Ά
fr fr: pick your direction deliberately βto,from, andwithdo genuinely different things and you don't want to find out the hard way π
β¨ EXIT STATUS
the plakar-sync utility exits 0 on success, and >0 if an error occurs. clean and simple, iykyk. π
π EXAMPLES
synchronize the snapshot abcd with a peer repository β look at her go:
$ plakar sync abcd to @peer
bi-directional synchronization with peer repository of recent snapshots β this one is so good, -since 7d giving main character energy π:
$ plakar sync -since 7d with @peer
synchronize all snapshots of @peer to @repo β a whole handoff, iconic:
$ plakar at @repo sync from @peer
π¦ SEE ALSO
literally go read them, they're both so good. π₯
okay bestie, that's the page π huge shoutout to the Debian edition, dated May 5, 2026 β that's the source/version and date energy you're getting, and honestly? she's a keeper. now go sync something and be iconic about it. πβ¨π
π¦ 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