Noovolari Docs > How to > How to backup your MySQL server on an EC2 instance

How to backup your MySQL server on an EC2 instance

With Noovolari Smart Backup it is possible to make a point-in-time snapshot of your MySQL server installed on your EC2 instance, ensuring that your data is protected from errors, accidental loss or unwanted modification.

Moreover, by installing NSB agent you can grant application-level consistency.

The EC2 snapshot will be visible and fully manageable both from Noovolari Interface and from AWS Console.

To make a consistent backup of your EC2 instance containing a MySQL server follow these simple steps:

    Login to your Smart Backup account

    (not a user, yet? Sign up now for free!);

    Select the EC2 Instance

    Select an EC2 instance from the Resource View by selecting “EC2 Instance” from the service dropdown.
    This operation will filter your resources showing you only the EC2 instances.

    Click on “Agent link”

    Click on “Agent Link” choosing it from the menu placed on the right or from the “Agent Tab”  located in the detail section of the resource.

    Follow the modal’s instructions

    A modal will open; follow the instructions for installing Noovolari Smart Backup agent on the Ec2 instance.

    Access via ssh in the EC2 instance

    Access with SSH in the EC2 instance you want to install the agent on and paste the install command in the “Script” card.

    If asked, insert the “Uuid” code and the “Api Key“.

    Provide MySQL information to the agent

    Provide the requested information (username, password) and decide if you want to provide consistency for all database in your My Sql server

    Return to Noovolari Smart Backup

    Then you can return to Noovolari Smart Backup interface and associate the machine to a backup job to make a consistent backup.

    To know how to create a backup job, follow our guide here.

     

     

    Any Question?

    Write us, we'll call you back as soon as possible!