Ienergy Backup Collection
Ienergy Backup Collection
*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.
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.
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.
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.
Next we have to login to the container and find the saving path. Following commands can be used
for this step.
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.
Once you have copied the backup folders, you can download using sftp tools.
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.