diff --git a/docs/best-practices/backups/how-to-create-a-backup-and-download-it-to-your-local-machine.md b/docs/best-practices/backups/how-to-create-a-backup-and-download-it-to-your-local-machine.md index 5b040114..ef9bf029 100644 --- a/docs/best-practices/backups/how-to-create-a-backup-and-download-it-to-your-local-machine.md +++ b/docs/best-practices/backups/how-to-create-a-backup-and-download-it-to-your-local-machine.md @@ -36,7 +36,7 @@ If your application is in another folder you need to replace "/data/web/magento2 In this step you'll create a dump of your database, and zip that dump into a .zip file. To do this you need to know the name of the database. -- `mysqldump database > /data/web/backup_hypernode/database_[date].sql` +- `mysqldump --single-transaction database > /data/web/backup_hypernode/database_[date].sql` - `zip -ry /data/web/backup_hypernode/database_backup_[date].zip /data/web/backup_hypernode/database_[date].sql` ### Zip Both Backups into a Single .zip File