Skip to content

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

Merged
lguohan merged 1 commit intosonic-net:masterfrom
rajendra-dendukuri:config_backup
Dec 4, 2019
Merged

Use config-setup infrastructure to take backup of SONiC configuration#715
lguohan merged 1 commit intosonic-net:masterfrom
rajendra-dendukuri:config_backup

Conversation

@rajendra-dendukuri
Copy link
Copy Markdown
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