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.
All rights reserved. No spreading without permission of ZTE.
Page1
Internal Use▲
*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.
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.
All rights reserved. No spreading without permission of ZTE.
Page2
Internal Use▲
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.
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.
All rights reserved. No spreading without permission of ZTE.
Page3
Internal Use▲
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.
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.
All rights reserved. No spreading without permission of ZTE.
Page4
Internal Use▲
[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.
Page5