When performing drush sql-dump
, should I set the site in maintenance mode or will this command makes sure a coherent dump will be generated even if users are busy using Drupal? I can't find confirmation in the documentation.
1 Answer
According to Moshe's answer in advantages of drush bam vs. drush sql-dump / drush sql-connect, the answer is no. drush sql-dump
does the right thing and will result in a consistent backup.
-
2This is correct. sql-dump calls through to mysqldump or pg_dump, which are guaranteed to be atomic operations. Feb 17, 2012 at 19:16
-
many thx for the answer. Well i am convinced! You point me into the right direction.– zeroFeb 17, 2012 at 22:42