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

Add option so mysql::backup to dump each database to its own file #253

Merged
merged 1 commit into from
Aug 27, 2013

Conversation

treydock
Copy link
Contributor

I added a file_per_database parameter to mysql::backup that will modify the mysqlbackup.sh script to loop over all databases and dump each database to it's own file.

Alternatively, a "magic" value for backupdatabases could be used that performs the same changes as file_per_database, something like backupdatabases => 'each'.

Also added rspec-system based tests for the mysql::backup class.

apenney pushed a commit that referenced this pull request Aug 27, 2013
Add option so mysql::backup to dump each database to its own file
@apenney apenney merged commit 4e649d7 into puppetlabs:master Aug 27, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants