-
Notifications
You must be signed in to change notification settings - Fork 37
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
base: master
Are you sure you want to change the base?
Conversation
else | ||
raise | ||
end | ||
end |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
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: |
@@ -38,6 +38,7 @@ def run | |||
roles | |||
data_bags | |||
environments | |||
cookbooks |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
In this "official" Opscode code? |
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. |
Hacky I know.