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

Use config-setup infrastructure to take backup of SONiC configuration #715

Merged
merged 1 commit into from
Dec 4, 2019

Conversation

rajendra-dendukuri
Copy link
Contributor

- What I did
Used "config-setup backup" command to take a backup copy of current SONiC configuration.

Refer to sonic-net/SONiC#433 and sonic-net/sonic-buildimage#3227 for more information

Added skip_migration option to "sonic_installer install" command to allow user to install an image
with factory default configuration.

- How I did it
Replaced cp commands with "config-setup backup" command which performs same cp commands and also executes and user defined migration hook scripts.

Added a new command line option for install command.

- How to verify it
Use sonic_installer install command

- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

Signed-off-by: Rajendra Dendukuri <rajendra.dendukuri@broadcom.com>
@wendani wendani requested a review from jleveque November 2, 2019 02:32
@lguohan lguohan merged commit d3d985a into sonic-net:master Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants