Command 1:
drush sql:dump | gzip -c > /home/backup/db-$(date +%Y-%m-%d-%H%M).sql.gz
Error:
mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces
Lösung:
drush sql:dump --extra-dump=--no-tablespaces
Neuen Kommentar schreiben