0% found this document useful (0 votes)
13 views4 pages

Ienergy Backup Collection

The document outlines the process for backing up and downloading data from the UEDM system in country S, specifically for network operator SM. It details the necessary steps to access the UEDM controller via SSH, navigate to the backup files, and copy them to a local PC using Docker commands. The summary emphasizes the need for specific commands and procedures due to the limitations of direct file downloads from the UEDM system.

Uploaded by

pubudu_ds_mk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views4 pages

Ienergy Backup Collection

The document outlines the process for backing up and downloading data from the UEDM system in country S, specifically for network operator SM. It details the necessary steps to access the UEDM controller via SSH, navigate to the backup files, and copy them to a local PC using Docker commands. The summary emphasizes the need for specific commands and procedures due to the limitations of direct file downloads from the UEDM system.

Uploaded by

pubudu_ds_mk
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Internal Use▲

*Incident Description

In country S, network operator SM, there was a requirement to backup and download
the backup data to a local PC.

Network Environment

Typical GUL network which consist of several power product types which are connected with the
UEDM.

*Problem Cause Analysis

When manual or auto backup is created, the backup files are automatically saved to a default sftp
location in the UEDM server. Following images show the location and file name details.

However, it is not possible to download these files directly from the UEDM system. In order to
download them and save in a third-party or a local PC, we have to use SSH and docker
commands. I will share the method I used in the Troubleshooting Process.

*Troubleshooting Process (Problem Solution)

First, we have to login to the UEDM controller with SSH. For this, we have to use an SSH client
like MobaXterm and SSH to the controller using the ubuntu user. In general, the controller IPs
details and user login credentials are mentioned in the DLD of the corresponding system.

All rights reserved. No spreading without permission of ZTE. Page1


Internal Use▲

After obtaining the above details, we need to use an SSH client and login to the controller with
ubuntu user.

ssh ubutu@controllerIP (input the correct IP and password)

Next execute sudo -i to change to root privileges. If prompts to input the password, type ubuntu
user’s password and hit enter.

Then we have to obtain the container ID of the ftp service. For this, we have to execute the
following command and get the corresponding container ID.

[root@localhost ~]# docker ps|grep ftp

The container ID is mentioned at the beginning.

All rights reserved. No spreading without permission of ZTE. Page2


Internal Use▲

Next we have to login to the container and find the saving path. Following commands can be used
for this step.

[root@localhost ~]# docker exec -it {container ID} sh

Files saving path for basic data is “/home/zenap/ftpserver/datas/data/imop/basic”, and we have to


change the directory to this path. In here there are 2 folders called auto and manual where manual
backup data are saved in the manual folder and auto backup data are saved in the auto folder.

4c23fd3e2e01:/home/zenap# cd /home/zenap/ftpserver/datas/data/imop/basic/

We have to navigate to the corresponding folder and note down the required backup folder name
in order to save to the local PC.

All rights reserved. No spreading without permission of ZTE. Page3


Internal Use▲

Next we have to exit from the container and copy the backup folder to a desired location in the
controller. For this, you can go to the /home/ubuntu/ directory and create a separate folder. Once
created the separate folder, use the below command to copy the backup folder.

[root@localhost ~]# docker cp [Container ID]:[Remote Directory] [Local Directory]

Once you have copied the backup folders, you can download using sftp tools.

Summary and Notes

When troubleshooting issues, sometimes we require backup files and folders. In some systems like
UEDM, if the system does not versatile methods to download these files, we have to login to the
corresponding container and download them.

All rights reserved. No spreading without permission of ZTE. Page4

You might also like