PLAKAR-RESTORE(1)
π PLAKAR-RESTORE(1) β the restore glow-up π
ok so this is the plakar-restore page from the General Commands Manual, and bestie, we're about to make restoring files make sense. no cap. π«Ά
β¨ NAME β¨
plakar-restore β restore files from a Plakar snapshot π (yes, the whole point: getting your stuff back)
πΈ SYNOPSIS πΈ
plakar restore [-category category] [-environment environment]
[-job job] [-name name] [-perimeter perimeter]
[-skip-permissions] [-tag tag] [-to directory] [-o option=value]
[snapshotID:path ...]
π DESCRIPTION π
okay so picture this: the plakar restore command pulls files and directories at path out of a specified Plakar snapshot and drops them onto your local file system. iconic behavior honestly. π¦
and like, the rules of the game are:
- if path is omitted, then all the files in the specified snapshotID are restored. full send. π
- if no snapshotID is provided, the command attempts to restore the current working directory from the last matching snapshot. literally so convenient.
The options are as follows: π
-namestring β only apply the command to snapshots that match name.-categorystring β only apply the command to snapshots that match category.-environmentstring β only apply the command to snapshots that match environment.-perimeterstring β only apply the command to snapshots that match perimeter.-jobstring β only apply the command to snapshots that match job.-tagstring β only apply the command to snapshots that match tag.-skip-permissionsβ skip restoring file permissions and ownership during restore, defaulting to0750for directories and0640for files. no permission drama, just vibes. π-todirectory β specify the base directory to which the files will be restored. if omitted, files are restored to the current working directory. main character default energy. π-ooption=value β can be used to pass extra arguments to the destination connector. the given option takes precedence over the configuration file. it said "i'm the priority here" and honestly? valid. β
π EXIT STATUS π
the plakar-restore utility exits 0 on success, and >0 if an error occurs. so like, zero means slay, anything else means something went off. π
π₯ EXAMPLES π₯
Restore all files from a specific snapshot to the current directory:
$ plakar restore abc123
Restore to a specific directory:
$ plakar restore -to /mnt/ abc123
Restore specific path to a specific directory:
$ plakar restore -to /mnt/ abc123:/etc/apache2
Restore to a specific destination:
$ plakar restore -to @s3target abc123
Restore specific path to a specific destination :
$ plakar restore -to @s3target abc123:/etc/apache2
π§ SEE ALSO π§
plakar(1), plakar-backup(1) β go read these too, iykyk π
that's the whole page bestie, go forth and restore responsibly. and fr fr, this one's brought to you by Debian, dated May 5, 2026 β the PLAKAR-RESTORE(1) of the group chat. ππ
β¨
π¦ 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