Documentation
¶
Overview ¶
Command restore restores an archive from Proxmox Backup Server into a directory with a single gopbs.Restore call: the newest snapshot of the backup group by default, the whole archive or only the -path entries, v1 or v2 (told apart by the snapshot manifest). With -list it prints the archive's tree instead, without reading any file content.
Encrypted backups need -keyfile (passphrase from PBS_ENCRYPTION_PASSWORD for a protected key), or -master-key, the RSA master private key, whose passphrase is read from PBS_MASTER_PASSWORD.
The flag defaults match the test stack in tests/compose.yml:
cd tests && docker compose up -d garage pmoxs3 go run ./examples/backup-sync -source /tmp go run ./examples/restore -id "$(hostname)" -list go run ./examples/restore -id "$(hostname)" -target /tmp/restored
Click to show internal directories.
Click to hide internal directories.