Restore from restore point
When a file is deleted by mistake, the configuration is changed by mistake, or you need to review the contents of the historical version, follow the steps below.
Steps to follow
- First select the backup point that you want to restore.
- When the backup file is in the object store, first download it locally:
peppykeep backup download-artifact --apply --remote-key project-a/backup.ppke --output-file /tmp/backup.ppke --config-home /path/to/conf
- When the backup file is
.ppke, first decrypt it as.ppk:
ppk decrypt --input /tmp/backup.ppke --output /tmp/backup.ppk --apply --config-home /path/to/conf
- Restore the required files or directories to a temporary location first, do not overwrite the production path directly.
- After checking the file contents, directory structure and permissions, replace the official file or directory.
results verification
- The retrieved files are as expected.
- The directory structure is correct.
- Permissions and owners meet the requirements of the target environment.
Order Details: