Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable automatic database backups? #1596

sahibalejandro opened this Issue Aug 1, 2018 · 3 comments


None yet
2 participants
Copy link

sahibalejandro commented Aug 1, 2018

Hi, I just installed a new VVV box and noted that when I run vagrant halt it does an automatic database backup, although this is a cool feature, in my case is a pain because my DB is 20GB big.

Is there a way to disable this feature? I did Google it but can't find anything.

Expected Behavior

Do not make automatic database backups when runningvagrant halt

Current Behavior

Automatic database backups

Possible Solution

An option to enable/disable automatic database backups

Steps to Reproduce (for bugs)

Run vagrant halt


Database backups

Your Environment

  • VVV version: 2.2.1
  • VVV Git Branch: develop
  • Vagrant version: 2.1.2
  • VM Provider name: VirtualBox
  • VM Provider version: 5.2.16
  • Operating System and version: macOS 10.13.5

@tomjn tomjn added the question label Aug 1, 2018


This comment has been minimized.

Copy link

tomjn commented Aug 1, 2018

You can create vagrant_halt_custom and vagrant_halt_custom, vagrant_destroy_custom, and vagrant_suspend_custom scripts in the config/homebin folders then reprovision. Those scripts will be ran instead of db_backup


This comment has been minimized.

Copy link

tomjn commented Aug 1, 2018

Of note, you could use that to call a custom db_backup_compressed script, that does the same thing but gzips the database files, they should compress very well

@tomjn tomjn closed this Aug 1, 2018


This comment has been minimized.

Copy link

sahibalejandro commented Aug 1, 2018

Would be nice to have this in the official documentation. ☝🏼
On the note, I'm not worried about compressing or disk space, I was worried by the time it takes to dump the database. 😛

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.