Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-12622

FIWARE.Request.Lab.How to create daily snapshots (for a week ).

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-LAB-HELP
    • Labels:
      None

      Description

      Hello,

      We would like to create daily snapshots for our 3 VMs (db instance is the
      most important).

      How can we implement this backups ?
      Is there any remote api or any (not found) option in the administration
      site ?

      Thanks.
      B.R.

      *Victor M. Varela*Systems Analyst

      https://geographica.gs

      __________________________________________________________________________________________

      You can get more information about our cookies and privacy policies on the following links:

      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: "Victor M. Varela" <victor@geographica.gs>]

        Activity

        Hide
        fw.ext.user FW External User added a comment -

        Comment by victor@geographica.gs :

        Hello again,

        Any answer to my question ? We need to make daily backups ?

        Thanks.
        Regards.

        *Victor M. Varela*Systems Analyst

        https://geographica.gs

        2017-08-21 14:05 GMT+02:00 Victor M. Varela <victor@geographica.gs>:

        > Hello,
        >
        > We would like to create daily snapshots for our 3 VMs (db instance is the
        > most important).
        >
        > How can we implement this backups ?
        > Is there any remote api or any (not found) option in the administration
        > site ?
        >
        > Thanks.
        > B.R.
        >
        >
        >
        > *Victor M. Varela*Systems Analyst
        >
        > https://geographica.gs
        >

        Show
        fw.ext.user FW External User added a comment - Comment by victor@geographica.gs : Hello again, Any answer to my question ? We need to make daily backups ? Thanks. Regards. *Victor M. Varela*Systems Analyst https://geographica.gs 2017-08-21 14:05 GMT+02:00 Victor M. Varela <victor@geographica.gs>: > Hello, > > We would like to create daily snapshots for our 3 VMs (db instance is the > most important). > > How can we implement this backups ? > Is there any remote api or any (not found) option in the administration > site ? > > Thanks. > B.R. > > > > *Victor M. Varela*Systems Analyst > > https://geographica.gs >
        Hide
        fw.ext.user FW External User added a comment -

        Comment by victor@geographica.gs :

        Hello again,

        Any answer to my question ? We need to make daily backups ?

        Thanks.
        Regards.

        2017-08-21 14:05 GMT+02:00 Victor M. Varela <victor@geographica.gs>:

        > Hello,
        >
        > We would like to create daily snapshots for our 3 VMs (db instance is the
        > most important).
        >
        > How can we implement this backups ?
        > Is there any remote api or any (not found) option in the administration
        > site ?
        >
        > Thanks.
        > B.R.
        >
        >
        >
        > *Victor M. Varela*Systems Analyst
        >
        > https://geographica.gs
        >

        VIctor M. Varela
        Systems Analyst

        Show
        fw.ext.user FW External User added a comment - Comment by victor@geographica.gs : Hello again, Any answer to my question ? We need to make daily backups ? Thanks. Regards. 2017-08-21 14:05 GMT+02:00 Victor M. Varela <victor@geographica.gs>: > Hello, > > We would like to create daily snapshots for our 3 VMs (db instance is the > most important). > > How can we implement this backups ? > Is there any remote api or any (not found) option in the administration > site ? > > Thanks. > B.R. > > > > *Victor M. Varela*Systems Analyst > > https://geographica.gs > – VIctor M. Varela Systems Analyst
        Hide
        fla Fernando Lopez added a comment -

        Dea Victor,

        Currently, there is an option to get a complete snapshot of your instance through the portal which means that you can make the same through APIs. But keep in mind that it is a lot of information in your account and not all it is needed for your database backup.

        My suggestion is to go outside of the cloud and implement some automatic procedure to get it from the database and store it (if it could be possible) outside the FIWARE Lab environment. It is not a question about if I do not believe in the availability of the FIWARE Lab but it is a question regarding the the semantic of this backup process. If there is a problem with your VMs could be possible that you also have a problem with the one in which to keep this backup.

        I hope that I can answer your email.

        Fernando

        Show
        fla Fernando Lopez added a comment - Dea Victor, Currently, there is an option to get a complete snapshot of your instance through the portal which means that you can make the same through APIs. But keep in mind that it is a lot of information in your account and not all it is needed for your database backup. My suggestion is to go outside of the cloud and implement some automatic procedure to get it from the database and store it (if it could be possible) outside the FIWARE Lab environment. It is not a question about if I do not believe in the availability of the FIWARE Lab but it is a question regarding the the semantic of this backup process. If there is a problem with your VMs could be possible that you also have a problem with the one in which to keep this backup. I hope that I can answer your email. Fernando
        Hide
        fw.ext.user FW External User added a comment -

        Comment by victor@geographica.gs :

        Hello Fernando,

        Can you tell me some links/info about how to make these ?

        > there is an option to get a complete snapshot of your instance through the
        > portal which means that you can make the same through APIs.

        Thanks for your answer.

        2017-08-28 10:20 GMT+02:00 Help-Desk <jira-help-desk@jira.fiware.org>:

        >
        >

        Show
        fw.ext.user FW External User added a comment - Comment by victor@geographica.gs : Hello Fernando, Can you tell me some links/info about how to make these ? > there is an option to get a complete snapshot of your instance through the > portal which means that you can make the same through APIs. Thanks for your answer. 2017-08-28 10:20 GMT+02:00 Help-Desk <jira-help-desk@jira.fiware.org>: > >
        Hide
        fw.ext.user FW External User added a comment -

        Comment by victor@geographica.gs :

        Hello Fernando,

        I wanted to make snapshots today (using https://cloud.lab.fiware.org panel).

        Three servers:

        • api-connectors, we cannot access, Task "image_pending_upload"
        • database, we cannot access, Task "image_pending_upload"
        • web, we can access but we cannot make snapshots (Status = ERROR)

        We need help.

        Thanks.

        [image: Imágenes integradas 1]

        2017-09-06 10:04 GMT+02:00 Víctor Varela <victor@geographica.gs>:

        > Hello Fernando,
        >
        > Can you tell me some links/info about how to make these ?
        >
        >> there is an option to get a complete snapshot of your instance through
        >> the portal which means that you can make the same through APIs.
        >
        >
        > Thanks for your answer.
        >
        >
        > 2017-08-28 10:20 GMT+02:00 Help-Desk <jira-help-desk@jira.fiware.org>:
        >
        >>
        >>
        >

        Show
        fw.ext.user FW External User added a comment - Comment by victor@geographica.gs : Hello Fernando, I wanted to make snapshots today (using https://cloud.lab.fiware.org panel). Three servers: api-connectors, we cannot access, Task "image_pending_upload" database, we cannot access, Task "image_pending_upload" web, we can access but we cannot make snapshots (Status = ERROR) We need help. Thanks. [image: Imágenes integradas 1] 2017-09-06 10:04 GMT+02:00 Víctor Varela <victor@geographica.gs>: > Hello Fernando, > > Can you tell me some links/info about how to make these ? > >> there is an option to get a complete snapshot of your instance through >> the portal which means that you can make the same through APIs. > > > Thanks for your answer. > > > 2017-08-28 10:20 GMT+02:00 Help-Desk <jira-help-desk@jira.fiware.org>: > >> >> >
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        Snapshot is not a good method to make daily backups — I don't recommend it, you would run out of quota in few days and this is dangerous for the FIWARE Lab itself as it could lead to a Denial of service as the snapshots grew too big.

        There are tools to make backups for almost anything you want to backup, specially for any database you can think of. — Snapshots are basically done to be able to create a new VM from an existing one.

        FIWARE Lab doesn't offer a tool to make backups. —

        What I'd recommend you to do is keeping a backup of your data and using a Snapshot for your already configured VMs to make sure you can recreate your VMs in case of loosing the VM itself.

        Regards,
        José Ignacio

        Show
        jicg José Ignacio Carretero Guarde added a comment - Snapshot is not a good method to make daily backups — I don't recommend it, you would run out of quota in few days and this is dangerous for the FIWARE Lab itself as it could lead to a Denial of service as the snapshots grew too big. There are tools to make backups for almost anything you want to backup, specially for any database you can think of. — Snapshots are basically done to be able to create a new VM from an existing one. FIWARE Lab doesn't offer a tool to make backups. — What I'd recommend you to do is keeping a backup of your data and using a Snapshot for your already configured VMs to make sure you can recreate your VMs in case of loosing the VM itself. Regards, José Ignacio
        Hide
        jicg José Ignacio Carretero Guarde added a comment -

        As FIWARE Lab is implemented using Openstack, you can use Openstack's APIs for the Snapshot. It should be enough to use Openstack Nova APIs. These APIs are implemented in python-openstackclient and python-novacliente packages.

        The command is "nova image-craete <server_uuid> <name_of_snapshot>"

        But this is not a good choice for a daily snapshot.

        Show
        jicg José Ignacio Carretero Guarde added a comment - As FIWARE Lab is implemented using Openstack, you can use Openstack's APIs for the Snapshot. It should be enough to use Openstack Nova APIs. These APIs are implemented in python-openstackclient and python-novacliente packages. The command is "nova image-craete <server_uuid> <name_of_snapshot>" But this is not a good choice for a daily snapshot.

          People

          • Assignee:
            fla Fernando Lopez
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: