0% found this document useful (0 votes)
156 views

Router 6000 Backup Restore Procedure

Uploaded by

antonio
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views

Router 6000 Backup Restore Procedure

Uploaded by

antonio
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

Backup and Restore

Operating Instructions

127/1543-AXI 101 09/1 Uen T1


Copyright

© Ericsson AB 2017. All rights reserved. No part of this document may be


reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to
continued progress in methodology, design and manufacturing. Ericsson shall
have no liability for any error or damage of any kind resulting from the use of this
document.

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Contents

Contents

1 Introduction 1

2 Create Configuration Backup 2


2.1 Procedure of Creating a Configuration Backup 2

3 Create Log-file Backup 4


3.1 Procedure of Creating a Log-file Backup 4

4 Create All Backup 5


4.1 Procedure of Creating All Backup 5

5 Export Configuration Backup 6


5.1 Procedure of Exporting a Configuration Backup 6

6 Export Log-file Backup 8


6.1 Procedure of Exporting a Log-file Backup 8

7 Export All Backup 9


7.1 Procedure of Exporting All Backup 9

8 Delete Configuration Backup 10


8.1 Procedure of Deleting Configuration Backup 10

9 Delete Log-file Backup 11


9.1 Procedure of Deleting Log-file Backup 11

10 Delete All Backup 12


10.1 Procedure of Deleting All Backup 12

11 Import Configuration Backup 13


11.1 Procedure of Importing Configuration Backup 13
11.2 Additional Information of Importing Configuration Backup 14

12 Import Log-file Backup 15


12.1 Procedure of Importing Log-file Backup 15

13 Import All Backup 16


13.1 Procedure of Importing All Backup 16

14 Restore Configuration Backup 17

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Backup and Restore

14.1 Procedure of Restoring Configuration Backup 17

15 Restore All Backup 18


15.1 Procedure of Restoring All Backup 18

16 Configure Backup Scheduler 19

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Introduction

1 Introduction

This document describes how to create, export, and delete a configuration


backup from a Ericsson R6000 node. It also describes how to import and restore
a saved configuration. For brevity, only the Command-Line Interface (CLI) is
used in the examples.

Both local context and management context support importing and exporting
configuration backup.

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 1


Backup and Restore

2 Create Configuration Backup

2.1 Procedure of Creating a Configuration Backup


1. Log on to the Ericsson R6000 management system.

2. (Optional) Configure backup housekeeping through command backup-


housekeeping.

3. Create a configuration backup through command save backup-package


configuration. Specify a descriptive name for the backup, see Example 1. If
the name is not specified, one default name which follows
configuration_<time> will be used. If the command doesn't return error , it
has been accepted successfully.

4. Otherwise the command cannot be executed.

5. Check all the the details via command show backup-package [<name>]
[details].

Example 1 Creating Configuration Backup


[local]Ericsson1# save backup-package configuration a29

Example 2 Check Backup Details


[local]Ericsson1#show backup-package a29 detailsshow backup /flash/brm/Co →
nfiguration_System/a29/ericsson.cfg details:
!
Configuration last changed by user '<NO USER>' at Thu Feb 5 21:55:43 201 →
5
!
!
!
!
no service multiple-contexts
!
!
!
!
!
!
!
!
!
!
!
global synchronization option 2
!
!

2 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Create Configuration Backup

no release description
!
!
export package label-prefix ""
!
alarm-port 1 input 1 active low
alarm-port 1 input 1 admin-state disabled
alarm-port 1 input 1 severity critical
no alarm-port 1 input 1 description
alarm-port 1 input 2 active low
alarm-port 1 input 2 admin-state disabled
alarm-port 1 input 2 severity critical
no alarm-port 1 input 2 description
alarm-port 1 input 3 active low
alarm-port 1 input 3 admin-state disabled
alarm-port 1 input 3 severity critical
no alarm-port 1 input 3 description
alarm-port 1 input 4 active low
alarm-port 1 input 4 admin-state disabled
alarm-port 1 input 4 severity critical

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 3


Backup and Restore

3 Create Log-file Backup

3.1 Procedure of Creating a Log-file Backup


1. Log on to the Ericsson R6000 management system.

2. (Optional) Configure backup housekeeping through command backup-


housekeeping.

3. Create a log-file backup through command save backup-package log-


file. Specify a descriptive name for the backup, see Example 3. If the name
is not specified, one default name which follows log-file_<time> will be used.
If the command doesn't return error , it has been accepted successfully. The
backup log files include core dump files.

4. Otherwise the command cannot be executed.

Example 3 Creating Log-file Backup


[local]Ericsson1# save backup-package log-file a30

4 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Create All Backup

4 Create All Backup

4.1 Procedure of Creating All Backup


1. Log on to the Ericsson R6000 management system.

2. (Optional) Configure backup housekeeping through command backup-


housekeeping.

3. Create an all backup through command save backup-package all. Specify


a descriptive name for the backup, see Example 4. If the name is not
specified, one default name which follows all_<time> will be used. If the
command doesn't return error , it has been accepted successfully.

4. Otherwise the command cannot be executed.

5. Check all the details via command show backup-package all [<name>]
[details].

Example 4 Creating All Backup


[local]Ericsson1# save backup-package all a31

Example 5 Check Backup Details


[local]Ericsson1#show backup-all a31 details
Feb 3 00:14:00: %RDB-6-INFO: rcm: !! Configuration changed by user 'cde' →
at Thu Feb 3 00:14:00 2000

!! in rcm_session_thread_handler_3923(0x204b7f12d0

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 5


Backup and Restore

5 Export Configuration Backup

This section describes how to export a configuration backup stored on a Ericsson


R6000 node.

5.1 Procedure of Exporting a Configuration Backup

Prerequisites
Before starting this procedure, ensure that the following conditions are met:

— The remote backup storage directory is available from the Ericsson R6000
node through the SFTP protocol.

— The URI and user password are known for the export.

— The backup was created or imported using procedures described in this


document. Refer to Create Configuration Backup on page 2 and Import
Configuration Backup on page 13 for details.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. If no context is configured, local context is supported by default. To operate


under management context, configure through command management
context.

3. Create a configuration backup as described in Create Configuration Backup


on page 2.

4. View the names of the existing backups through command show backup-
package.

5. Export the package via command export backup-package <backupName>


<url> [password].

6. Check the all the details via command show backup-package [<name>]
[details].

Example 6 Exporting Configuration Backup


[local]Ericsson1#export backup-package a29 scp://[email protected]//home/nr root

Example 7 Checking the Export Action Information


[local]Ericsson1#show backup-package a29show backup a29 information:
Brm backup id : 2

6 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Export Configuration Backup

Backup name : a29


Creation time : 2015-02-13T23:42:39UTC
Status : 1
Progress report :
Action name : EXPORT
Additional info :
Progress info : Done
Progress percentage : 100
Result : 1
Result info : Success
State : 3
Action id : 0
Time action started : 2015-02-13T23:47:16UTC
Time action completed : 2015-02-13T23:47:16UTC
Time of last status update : 2015-02-13T23:47:16UTC
Creation type : 1
Sw version :
Product name : IPOS
Product number : CXC1737666_1
Product revision : 28Sep10:19:122015edanzho
Production date : 2015-09-28T08:19:12Z
Description : Copyright (C) 1998-2015, Ericsson AB. Al
l rights reserved.Image compiled with linux kernel version: .Image running with
linux kernel version: 3.10.59-ltsi-spitfire

Type : Release

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 7


Backup and Restore

6 Export Log-file Backup

This section describes how to export a log-file backup stored on a Ericsson


R6000 node.

6.1 Procedure of Exporting a Log-file Backup

Prerequisites
Before starting this procedure, ensure that the following conditions are met:

— The remote backup storage directory is available from the Ericsson R6000
node through the SFTP protocol.

— The URI and user password are known for the export.

— The backup was created or imported using procedures described in this


document. Refer to and Import Configuration Backup on page 13 for
details.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. If no context is configured, local context is supported by default. To operate


under management context, configure through command management
context.

3. Create a log-file backup as described in Create Log-file Backup on page 4.

4. View the names of the existing backups through command show backup-
log.

5. Export the package via command export backup-log <name> <url>


[password].

6. Check the all the details via command show backup-log [<name>]
[details].

Example 8 Exporting Log-file Backup


[local]Ericsson1#export backup-package a30 scp://[email protected]//home/nr root

8 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Export All Backup

7 Export All Backup

This section describes how to export all backup stored on a Ericsson R6000 node.

7.1 Procedure of Exporting All Backup

Prerequisites
Before starting this procedure, ensure that the following conditions are met:

— The remote backup storage directory is available from the Ericsson R6000
node through the SFTP protocol.

— The URI and user password are known for the export.

— The backup was created or imported using procedures described in this


document. Refer to and Import Configuration Backup on page 13 for
details.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. If no context is configured, local context is supported by default. To operate


under management context, configure through command management
context.

3. Create all backup as described in Create All Backup on page 5.

4. View the names of the existing backups through command show backup-
all.

5. Export the package via command export backup-all <name> <url>


[password].

6. Check the all the details via command show backup-all [<name>]
[details].

Example 9 Exporting All Backup


[local]Ericsson1#export backup-all a31 scp://[email protected]//home/nr root

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 9


Backup and Restore

8 Delete Configuration Backup

This section describes how to delete a configuration backup from a Ericsson


R6000 node.

8.1 Procedure of Deleting Configuration Backup

Prerequisites
Before starting this procedure, ensure that the following condition is met:

— The backup that is going to be deleted must be exported to a storage to be


used after a deletion from the node. For details on how to perform the
backup export, refer to Export Configuration Backup on page 6.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. View the names of the existing backups through command show backup-
package.

3. Delete a package via command delete backup-package [<name> [-


noconfirm]].

4. Delete all backup files via command delete backup-package.

Example 10 Deleting Configuration Backup


[local]Ericsson1#delete backup-package a29

10 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Delete Log-file Backup

9 Delete Log-file Backup

This section describes how to delete a log-file backup from a Ericsson R6000
node.

9.1 Procedure of Deleting Log-file Backup

Prerequisites
Before starting this procedure, ensure that the following condition is met:

— The backup that is going to be deleted must be exported to a storage to be


used after a deletion from the node. For details on how to perform the
backup export, refer to Export Log-file Backup on page 8.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. View the names of the existing backups through command show backup-
log.

3. Delete a package via command delete backup-log [<name> [-


noconfirm]].

4. Delete all backup files via command delete backup-log.

Example 11 Deleting Configuration Backup


[local]Ericsson1#delete backup-package a30

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 11


Backup and Restore

10 Delete All Backup

This section describes how to delete all backup from a Ericsson R6000 node.

10.1 Procedure of Deleting All Backup

Prerequisites
Before starting this procedure, ensure that the following condition is met:

— The backup that is going to be deleted must be exported to a storage to be


used after a deletion from the node. For details on how to perform the
backup export, refer to Export All Backup on page 9.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. View the names of the existing backups through command show backup-
all.

3. Delete a package via command delete backup-all [<name> [-


noconfirm]].

4. Delete all backup files via command delete backup-all.

Example 12 Deleting Configuration Backup


[local]Ericsson1#delete backup-all

12 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Import Configuration Backup

11 Import Configuration Backup

To apply a configuration backup created earlier and stored on an external server,


it is necessary to import the backup file to a Ericsson R6000 node.

This section describes how to import a configuration backup to a Ericsson R6000


node.

11.1 Procedure of Importing Configuration Backup

Prerequisites
Before starting the procedure, ensure that the following conditions are met:

— The Ericsson R6000 node has the same HW configuration as when the
configuration backup was saved. The node is equipped with boards in the
same positions and with the same product identities and compatible revision
states. Also,the same node management IP address plug settings are used.

— The running Ericsson R6000 SW revision is equal to the SW revision the


backup was created on.

— The backup storage place is available from the node through the SFTP
protocol.

— Not more than 9 backups are stored on the node. If there are 10 backups,
delete at least one of them.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. If no context is configured, local context is supported by default. To operate


under management context, configure through command management
context.

3. Import the package via command import backup-package <url>


[password].

4. Check the all the details via command show backup-package [<name>]
[details].

Example 13 Importing Configuration Backup


[local]Ericsson1#import backup-package scp://[email protected]//home/nr/a1_2000-09-24T17 →
-10-51.tar.gz root

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 13


Backup and Restore

11.2 Additional Information of Importing Configuration


Backup
A configuration backup includes SW and information about the SW and HW
configurations. Backup import cannot be successful if the backup was created on
Ericsson R6000 SW versions other than the running ones.

14 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Import Log-file Backup

12 Import Log-file Backup

This section describes how to import a configuration backup to a Ericsson


R6000 node.

To apply a log-file backup created earlier and stored on an external server, it is


necessary to import the backup file to a Ericsson R6000 node.

12.1 Procedure of Importing Log-file Backup

Prerequisites
Before starting the procedure, ensure that the following conditions are met:

— The backup storage place is available from the node through the SFTP
protocol.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. If no context is configured, local context is supported by default. To operate


under management context, configure through command management
context.

3. Import the package via command import backup-log <url> [password].

4. Check the all the details via command show backup-log [<name>]
[details].

Example 14 Importing Log-file Backup


[local]Ericsson1#import backup-log scp://[email protected]//home/nr/a1_2000-09-24T17-10- →
51.tar.gz root

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 15


Backup and Restore

13 Import All Backup

This section describes how to import all backup to a Ericsson R6000 node.

To apply all backup created earlier and stored on an external server, it is


necessary to import the backup file to a Ericsson R6000 node.

13.1 Procedure of Importing All Backup

Prerequisites
Before starting the procedure, ensure that the following conditions are met:

— The Ericsson R6000 node has the same HW configuration as when the
configuration backup was saved. The node is equipped with boards in the
same positions and with the same product identities and compatible revision
states. Also,the same node management IP address plug settings are used.

— The running Ericsson R6000 SW revision is equal to the SW revision the


backup was created on.

— The backup storage place is available from the node through the SFTP
protocol.

— Not more than 9 backups are stored on the node. If there are 10 backups,
delete at least one of them. For details, refer to Delete All Backup on page 12.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. If no context is configured, local context is supported by default. To operate


under management context, configure through command management
context.

3. Import the package via command import backup-all <url> [password].

4. Check the all the details via command show backup-all [<name>]
[details].

Example 15 Importing All Backup


[local]Ericsson1#import backup-all scp://[email protected]//home/nr/a1_2000-09-24T17-10- →
51.tar.gz root

16 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Restore Configuration Backup

14 Restore Configuration Backup

To apply the configuration from a backup file saved on the node restore action is
used.

This section describes how to restore a backup properly.

14.1 Procedure of Restoring Configuration Backup


To apply the configuration from a backup file saved on the node restore action is
used.

Prerequisites
Before starting the procedure, ensure that the following conditions are met:

— The Ericsson R6000 node has the same HW configuration as when the
configuration backup was created. The node is equipped with boards in the
same positions and with the same product identities and compatible revision
states. Also, the same node management IP address plug settings are used.

— The backup is stored on the node according to Procedure of Creating a


Configuration Backup on page 2 or Procedure of Importing Configuration
Backup on page 13.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. View the names of the existing backups through command show backup-
package.

3. Restore the backup package via command restore backup-package


<name>.

4. Check the all the details via command show backup-package [<name>]
[details].

Example 16 Restoring Configuration Backup


[local]Ericsson1#restore backup-package a29

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 17


Backup and Restore

15 Restore All Backup

This section describes how to restore a backup properly.

To apply the configuration from a backup file saved on the node restore action is
used.

15.1 Procedure of Restoring All Backup


To apply the configuration from a backup file saved on the node restore action is
used.

Prerequisites
Before starting the procedure, ensure that the following conditions are met:

— The Ericsson R6000 node has the same HW configuration as when the
configuration backup was created. The node is equipped with boards in the
same positions and with the same product identities and compatible revision
states. Also, the same physical address plug settings are used.

— The backup is stored on the node according to Procedure of Importing All


Backup on page 16.

Steps

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. View the names of the existing backups through command show backup-
all.

3. Restore the backup package via command restore backup-all <name>.

4. Check the all the details via command show backup-all [<name>]
[details].

Example 17 Restoring Configuration Backup


[local]Ericsson1#restore backup-package a29

18 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20


Configure Backup Scheduler

16 Configure Backup Scheduler

1. Connect a management terminal and log on to the Ericsson R6000


management system.

2. If no context is configured, local context is supported by default. To operate


under management context, configure through command management
context.

3. Configure the backup scheduler via command backup-scheduler and the


following sub commands.
— admin-state

— max-backups

— backup-name

— auto-export

— auto-export-uri

— auto-export-passwd

4. Configure the backup scheduler event via command one of the following
commands.
— bs-single-event

— bs-periodic-event

— bs-cb-periodic-event

5. Check the details via command show backup-scheduler.

Example 18 Restoring Backup Scheduler


The following example configured a backup scheduler with a periodic event every 3 weeks 2 days 8
hours from now for log-file backup.

[local]Ericsson1(config)#management context to-mgr


[local]Ericsson1(config)#backup-scheduler log-file
[local]Ericsson1(config-backup-scheduler)#admin-state unlocked
[local]Ericsson1(config-backup-scheduler)#max-backups 10
[local]Ericsson1(config-backup-scheduler)#backup-name backup-log01
[local]Ericsson1(config-backup-scheduler)#auto-export enabled
[local]Ericsson1(config-backup-scheduler)#auto-export-uri ftp://[email protected]/team2 →
/brm_backups
[local]Ericsson1(config-backup-scheduler)#commit
[local]Ericsson1(config-backup-scheduler)#exit
[local]Ericsson1(config)#bs-periodic-event log-file 1 hours 8

127/1543-AXI 101 09/1 Uen T1 | 2020-08-20 19


Backup and Restore

[local]Ericsson1(config-bs-periodic-event)#weeks 3
[local]Ericsson1(config-bs-periodic-event)#days 2
[local]Ericsson1(config-bs-periodic-event)#commit

Example 19 Checking Backup Scheduler


[local]Ericsson1#show backup-scheduler log-file
Brm backup scheduler : 1
Max stored scheduled backups : 10
Scheduled backup name : backup-log01
Progress report :
Action name : SCHEDULED_BACKUP
Additional info : Create backup
Progress info : Saving HW inventory for the backup
Progress percentage : 100
Result : SUCCESS
Result info : Successfully create backup
State : FINISHED
Action id : 0
Time action started : 2016-08-02T23:01:40
Time action completed : 2016-08-02T23:01:50
Time of last status update : 2016-08-02T23:01:50
Most recently created auto backup : backup-20160802T230140
Auto export : ENABLED
Auto export uri : ftp://[email protected]/team2/brm_backups
Admin state : UNLOCKED
Next scheduled time : 2016-08-26T07:01:40

20 127/1543-AXI 101 09/1 Uen T1 | 2020-08-20

You might also like