Minemeld - best way to backup and move config to new image

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Minemeld - best way to backup and move config to new image

L2 Linker

I am tring to move the /opt/minemeld/local/config directory to a new image of Minemeld I have running in AWS.  I can scp the config directory out of my exisintg Minemeld using winscp but when I try to copy it into my new Mindmeld image it always aborts.

 

It appears to be a permission issue but not sure how to around this.  I am logged in via winscp and ssh as the ubuntu user.

 

Can someone help with this?

 

Thank you.

 

Rich

1 REPLY 1

L7 Applicator

Hi @rschunk,

to backup the config you should:

  1. open an ssh shell on the instance
  2. run the following commands
    $ sudo service minemeld stop
    $ tar -cvzf backup.tar.gz /opt/minemeld/local/config/ /opt/minemeld/local/prototypes/
  3. use scp/sftp to transfer backup.tar.gz to some safe location

to restore:

  1. use scp/sftp to transfer backup.tar.gz to the instance
  2. open an ssh shell on the instance
  3. run the following commands
    $ sudo minemeld stop
    $ sudo -g minemeld -u minemeld tar -C / -xvzf backup.tar.gz
    $ sudo minemeld start
  • 6535 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!