drush

mysqldump: Error: 'Access denied; you need (at least one of) the PROCESS privilege(s) for this operation' when trying to dump tablespaces

Submitted by Gast (nicht überprüft) on Sa, 10/03/2020 - 19:53

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

 

 

drush - Wichtigste Befehle - Status, Backup, Update

Submitted by Gast (nicht überprüft) on So, 01/05/2020 - 14:42
  • Status anzeigen:
    drush status

     

  • Updates anzeigen:
    drush ups

     

  • Module deinstallieren:
    drush pmu MODULENAME

     

  • Module aktivieren:
    drush en MODULENAME

     

  • Backup (an default drush-backups Ordner):
    drush ard

     

  • Backup / Sicherung an einem bestimmten Ort:
    drush archive-dump default --destination=/home/mywebsite/drush-backups/mywebsitename-20200105.tar.gz