Getting a backup file from an event broker

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.

  1. 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.
  2. 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.
    https://docs.solace.com/Admin/Managing-Event-Broker-Files.htm
    Maybe I couldn't find solace directory.
  3. 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.

Best Answer

  • 서준하
    서준하 Member Posts: 4
    #2 Answer ✓

    I solved this with docker cp command.

    Full directory was solace:usr/sw/jail/configs/backup.

    so the complete command is
    docker cp solace:usr/sw/jail/configs/backup /home/sysadmin

    I leave this in case of helping someone. thanks.

Answers

  • 서준하
    서준하 Member Posts: 4
    #3 Answer ✓

    I solved this with docker cp command.

    Full directory was solace:usr/sw/jail/configs/backup.

    so the complete command is
    docker cp solace:usr/sw/jail/configs/backup /home/sysadmin

    I leave this in case of helping someone. thanks.