Got it

How to restore data for the AR

Created: Jul 11, 2019 10:07:13Latest reply: Jul 11, 2019 10:08:52 449 1 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

This post enquires how to restore the data for the AR.


Please provide some information.


Thanks!

Featured Answers
heshamk
Created Jul 11, 2019 10:08:52

Hello there!

Please check the following steps

1. Log in to the AR.

2. Go to the directory where the backup files are stored and enter the system view:

<Huawei>cd flash:/ <Quidway>system-view

3.Load system software.

The SFTP operation commands on the AR are the same as those in the DOS on a common PC. In this example, the SFTP server IP address is 192.168.1.4.

[Quidway]ssh client first-time enable [Quidway]sftp 192.168.1.4 Please input the username:   //Enter the user name of the SFTP service. Trying 192.168.1.4 ... Press CTRL+K to abort Connected to 192.168.1.4 ... The server is not authenticated. Continue to access it? [Y/N] :y Save the server's public key? [Y/N] :y The server's public key will be saved with the name 192.168.1.4. Please wait¡­ Enter password:    //Enter the password of the SFTP service.

sftp-client>get ARxxx- VxxxRxxxCxx-bak.cc ARxxx- VxxxRxxxCxx.cc  Remote file: / ARxxx- VxxxRxxxCxx-bak.cc --->  Local file: ARxxx- VxxxRxxxCxx.cc \ End of file SuccessInfo: Downloading file successfully ended.

ARxxx- VxxxRxxxCxx-bak.cc indicates the system backup file name, which is in the format of AR model- Version number-bak.cc.

4. Load the configuration file.
 
sftp-client>  get iascfg-bak.zip iascfg.zip Remote file: / iascfg-bak.zip --->  local file: iascfg.zip | SuccessInfo: Uploading file successfully ended

5. Load the license file.
 
sftp-client>  get license.dat-bak.dat license.dat Remote file: / license-bak.dat  --->  local file: license.dat | SuccessInfo: Uploading file successfully ended

6. Disconnect the SFTP connection.
 
sftp-client> quit

7. Run the reboot command to restart the AR and re-log in.
 
<Huawei> reboot Info: The system is now comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait... ................... Configuration file had been saved successfully Note: The configuration file will take effect after being activated <Huawei> System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...

8. Activate the license. 

The license file reloaded takes effect only after being activated.

<Huawei> license active flash:/license.dat Info: The License is being activated. Please wait for a moment. Info: Succeeded in activating the License file on the master board.

Run the following command to view the license status. The commercial license is in Normal state.

<Huawei> display license state Info: Master board license state: Normal. The remain days is xxx.
View more
  • x
  • convention:

All Answers
Hello there!

Please check the following steps

1. Log in to the AR.

2. Go to the directory where the backup files are stored and enter the system view:

<Huawei>cd flash:/ <Quidway>system-view

3.Load system software.

The SFTP operation commands on the AR are the same as those in the DOS on a common PC. In this example, the SFTP server IP address is 192.168.1.4.

[Quidway]ssh client first-time enable [Quidway]sftp 192.168.1.4 Please input the username:   //Enter the user name of the SFTP service. Trying 192.168.1.4 ... Press CTRL+K to abort Connected to 192.168.1.4 ... The server is not authenticated. Continue to access it? [Y/N] :y Save the server's public key? [Y/N] :y The server's public key will be saved with the name 192.168.1.4. Please wait¡­ Enter password:    //Enter the password of the SFTP service.

sftp-client>get ARxxx- VxxxRxxxCxx-bak.cc ARxxx- VxxxRxxxCxx.cc  Remote file: / ARxxx- VxxxRxxxCxx-bak.cc --->  Local file: ARxxx- VxxxRxxxCxx.cc \ End of file SuccessInfo: Downloading file successfully ended.

ARxxx- VxxxRxxxCxx-bak.cc indicates the system backup file name, which is in the format of AR model- Version number-bak.cc.

4. Load the configuration file.
 
sftp-client>  get iascfg-bak.zip iascfg.zip Remote file: / iascfg-bak.zip --->  local file: iascfg.zip | SuccessInfo: Uploading file successfully ended

5. Load the license file.
 
sftp-client>  get license.dat-bak.dat license.dat Remote file: / license-bak.dat  --->  local file: license.dat | SuccessInfo: Uploading file successfully ended

6. Disconnect the SFTP connection.
 
sftp-client> quit

7. Run the reboot command to restart the AR and re-log in.
 
<Huawei> reboot Info: The system is now comparing the configuration, please wait. Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y It will take several minutes to save configuration file, please wait... ................... Configuration file had been saved successfully Note: The configuration file will take effect after being activated <Huawei> System will reboot! Continue ? [y/n]:y Info: system is rebooting ,please wait...

8. Activate the license. 

The license file reloaded takes effect only after being activated.

<Huawei> license active flash:/license.dat Info: The License is being activated. Please wait for a moment. Info: Succeeded in activating the License file on the master board.

Run the following command to view the license status. The commercial license is in Normal state.

<Huawei> display license state Info: Master board license state: Normal. The remain days is xxx.
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.