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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        7d 4m 1 Fernando Lopez 28/Aug/17 10:19 AM
        Closed Closed In Progress In Progress
        20d 2h 38m 1 Fernando Lopez 21/Sep/17 7:55 AM
        In Progress In Progress Answered Answered
        1d 20h 27m 2 José Ignacio Carretero Guarde 21/Sep/17 8:40 AM
        Answered Answered Closed Closed
        6d 19h 18m 2 Fernando Lopez 26/Sep/17 4:43 AM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        HD-Node Spain [ 10846 ]
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        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.
        jicg José Ignacio Carretero Guarde made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        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
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Closed [ 6 ] In Progress [ 3 ]
        fw.ext.user FW External User made changes -
        Attachment image.png [ 54359 ]
        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
        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>: > >
        backlogmanager Backlog Manager made changes -
        Summary [Fiware-lab-help] How to create daily snapshots (for a week ) FIWARE.Request.Lab.How to create daily snapshots (for a week ).
        fla Fernando Lopez made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        fla Fernando Lopez made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        fla Fernando Lopez made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        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
        fla Fernando Lopez made changes -
        Assignee Fernando Lopez [ fla ]
        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
        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 >
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-LAB-HELP [ 10279 ]
        fw.ext.user FW External User created issue -

          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: