Getting a backup file from an event broker
서준하
Member Posts: 4 ✭
Hi. I'm trying to send a backup file to a new event broker.
I have an event broker(solace1) and made a new one(solace2).
They are in AWS, using docker. I have ".pem" key files.
There are some config points in solace1, so I made a backup file and tried to transfer file to solace2.
But it was not successful. These are the things I did.
- Connect file transfer through SolAdmin
With file transfer user id, port:22 → Authentication Failed
With file transfer user id, port:2222 → Timeout
Plus, result of launching CLI session with SolAdmin was timeout, too. - Using windows cmd SFTP
I have a username and host address like
ssh -i "key.pem" sysadmin@someaddress.compute.amazonaws.com
so I changed "ssh" into "sftp".
It actually worked and cli was like
sftp>_
But I couldn't find destination of backup file.
It has to be like /configs/backup but there was no such directory.
Maybe I couldn't find solace directory. - Docker cp command
I found a docker command on the internet which copies a file to a container.
If I switch arguments, maybe I could get files from a container.
[sysadmin@ip ~]$ docker cp solace:/configs/backup /home/sysadmin
Result was like this.
Error: No such container:path: solace:/configs/backup
I have no clue why there is no such container:path, it is so confusing.
I would really appreciate it if anyone could solve this problem.
0