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

Added cookbooks to backup/restore #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bakins
Copy link

@bakins bakins commented Mar 29, 2012

Hacky I know.

Review on Reviewable

else
raise
end
end
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you split this off into a different commit?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. This snuck in there. This was done because I had restores fail for various reasons and then it would bomb here.

@stevendanna
Copy link
Owner

Thanks for taking the time to submit this pull request. I will need to look into whether you will need a CLA for this code. If you aren't opposed to signing one, it will also make contributing to Chef and other knife plugins easier. The directions for filling it out are here:

http://wiki.opscode.com/display/chef/How+to+Contribute

@@ -38,6 +38,7 @@ def run
roles
data_bags
environments
cookbooks
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might make sense to add an option for whether or not to upload cookbooks. Hopefully you would restore cookbooks from your local source code repository rather than a backup.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a quick and convenient way to grab all versions of a cookbook that had been uploaded. A flag probably makes sense.

@bakins
Copy link
Author

bakins commented Apr 6, 2012

In this "official" Opscode code?

@stevendanna
Copy link
Owner

Most everything in this repository is very UNOFFICIAL. However, since I am not the original author of some of the backup_export code, I just want to be sure about what is needed in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants