Closed ketan closed 11 years ago
Unfortunately this is not working for me. I tried it with chef 10.x and 11.x with the same result:
knife backup roles nodes
FATAL: Cannot find sub command for: 'backup roles nodes'
Available backup subcommands: (for details, knife SUB-COMMAND --help)
** BACKUP COMMANDS **
knife backup export [COMPONENT [COMPONENT ...]] [-D DIR] (options)
knife backup restore [COMPONENT [COMPONENT ...]] [-D DIR] (options)
Did you try knife backup export nodes roles
Ups. Somehow I knew that it was not a good idea to do this at 3am ;). Sorry about that. I will check it out again shortly.
Hi,
Any traction on this?
Merged; THanks @ketan! Sorry for the delay on getting back on this.
This commit allows passing in components to
knife backup export
andknife backup restore
commands:The above commands will backup just the roles and nodes
The above commands will backup just the data bags and environments