Hello,
did someone give a try to backup commands as explained on this page:
Maybe I missed something, but when I use
php bin/console backup:create myadminfolder --include-images=1
I get
There are no commands defined in the "backup" namespace. 2025-08-21T14:01:13+02:00 [info] User Deprecated: The "PrestaShop\PrestaShop\Adapter\StockManager" class implements "PrestaShopBundle\Service\DataProvider\StockInterface" that is deprecated since 8.1 and will be removed in next major. 2025-08-21T14:01:13+02:00 [info] User Deprecated: prestashop.adapter.legacy_db service is deprecated and will be removed in 8.0. 2025-08-21T14:01:13+02:00 [info] User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 2025-08-21T14:01:13+02:00 [info] User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 2025-08-21T14:01:13+02:00 [info] User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 2025-08-21T14:01:13+02:00 [info] User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 2025-08-21T14:01:13+02:00 [info] User Deprecated: Not specifying the optional ShopConstraint parameter is deprecated since version 1.7.8.0 2025-08-21T14:01:13+02:00 [info] User Deprecated: __construct is deprecated since version 8.1 and will be removed in the next major version. 2025-08-21T14:01:13+02:00 [info] User Deprecated: Since api-platform/core 2.7: The service "ApiPlatform\Core\Bridge\Symfony\Routing\IriConverter" is deprecated, use ApiPlatform\Symfony\Routing\IriConverter instead.
(Up to now my backups use simple commands such as
tar -czvf backup_2025-08-21.tar.gz ../public_html mysqldump -u usernameofthedb -p --lock-tables --add-drop-table --databases psdbname > psdb.sql tar -czvf backup_db_2025-08-21.tar.gz psdb.sql
Does someone habe better ideas?)
Thank you.
My config:
Prestashop 8.2.1
PHP 8.1