About prestashop-restore
prestashop-restore guides an assistant through restoring a PrestaShop store from an existing autoupgrade backup. It lists available backups, asks which one to restore, then runs the restore command and checks that the store is working.
Key features
- 01List backups and dates
- 02Restore a selected backup
- 03Locate restore logs
Use cases
- 01Restore a store from a chosen backup
- 02Review logs after a restore
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ prestashop/ skills --skill prestashop-restoreAfter installing, type/prestashop-restorein Claude Code to confirm it loaded.
Details
From the project READMERequirements
Ask the user:
- What is the path to the module
autoupgradefrom the store. It may be in a Docker container or behind a SSH session. - What is the admin folder name if you don't know it. It will be needed to run commands.
- The param
-qavoids unecessary contents to be displayed. If you need to access the logs after a backup, an update or a restore, you can find them in[admin_path]/autoupgrade/logs/with files in the format[year]-[month]-[day]-[time]-[action].txt.
Usage:
- The commands of Update Assistant are run with
[module_path]/bin/console, - Commands details are provided by adding
--helpat the end.
Steps
- Run
backup:listand display the available backups with their dates. - Ask the user which backup to restore (GATE).
- Run
backup:restore --backup=[name] -q. This is a long process. - Confirm the store is back and working.
Comments
Markdown supported