Creating a Kloset Store
#A Kloset store is Plakar’s immutable storage backend for backup data. This guide covers filesystem-based store creation. You can learn more in the Kloset deep dive article
Create Store with Path
#$ plakar at /var/backups createPlakar prompts for an encryption passphrase. To avoid the prompt, set:
$ export PLAKAR_PASSPHRASE="my-secret-passphrase"
$ plakar at /var/backups createCreate Store with Alias
#Configure store once, reference by alias in all commands:
$ plakar store add mybackups /var/backups passphrase=xxxUse the configured store:
$ plakar at @mybackups create
$ plakar at @mybackups lsUpdate store configuration
#$ plakar store set mybackups passphrase=yyy
Passphrase Changes
Updating the passphrase only affects the configuration. Existing data created with the old passphrase requires the original passphrase to access.
Default Store Location
#Without specifying a path, plakar create uses ~/.plakar:
$ plakar createWhen to Use Aliases
#Use aliases for:
- Stores requiring credentials (S3, cloud storage)
- Multiple stores with different configurations
- Avoiding repetitive path specifications