mcpField
P
prestashop-restore

prestashop-restore

github.com/prestashopCloud & DevOps545 installsUpdated 5w ago
Repository

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

  1. 01List backups and dates
  2. 02Restore a selected backup
  3. 03Locate restore logs

Use cases

  1. 01Restore a store from a chosen backup
  2. 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-restore

After installing, type/prestashop-restorein Claude Code to confirm it loaded.

Details

From the project README

Requirements

Ask the user:

  • What is the path to the module autoupgrade from 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 -q avoids 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 --help at the end.

Steps

  • Run backup:list and 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