Usage
Description
Therestore command undoes encryption by restoring original files from the automatic backup created by koava encrypt.
The
restore command is only needed for in-place encryption (when --output was not specified). When encrypting to a different directory with --output, your original files remain unchanged in the source directory, so no restoration is needed.How Restore Works
The backup and restore operations only involve safetensors files. When you restore:- All encrypted safetensors files in the model directory are removed
- Original safetensors files are copied back from the
.backupdirectory - The compliance block in
README.mdandLICENSE.KOALAVAULTare removed - The model directory is restored to its initial unencrypted state
Examples
Advanced
Arguments
MODEL_PATH
Directory containing the encrypted model and.backup folder (required).
Options
—force, -f
Restore without confirmation prompt.Related Commands
- koava encrypt - Encrypt model files (creates backup)