Homestead: Backup databases before shutdown and/or provision

Created on 19 Jun 2018  路  2Comments  路  Source: laravel/homestead

I noticed the new addition via #883 Add support for database backup before destroying vm.

I think it's a great idea, and thank you for adding that feature.

Could that feature be extended to do database backups on each vm halt or provision? That way i can have regular backups of my projects complete with their databases.

Most helpful comment

I don't think we'd want them on halt or provision. Seems like unnecessary overhead, and neither of those commands will delete DBs.

Agreed

If we were to do anything, I would say we extract the feature into a bash script the user can choose to execute at their leisure.

That's essentially what the export alias is for.

All 2 comments

I don't think we'd want them on halt or provision. Seems like unnecessary overhead, and neither of those commands will delete DBs.

If we were to do anything, I would say we extract the feature into a bash script the user can choose to execute at their leisure.

I don't think we'd want them on halt or provision. Seems like unnecessary overhead, and neither of those commands will delete DBs.

Agreed

If we were to do anything, I would say we extract the feature into a bash script the user can choose to execute at their leisure.

That's essentially what the export alias is for.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattmcdonald-uk picture mattmcdonald-uk  路  3Comments

svpernova09 picture svpernova09  路  5Comments

cschoeni picture cschoeni  路  4Comments

leandroruel picture leandroruel  路  4Comments

pluxain picture pluxain  路  3Comments