diff --git a/pages/public_cloud/compute/save_an_instance/guide.en-gb.md b/pages/public_cloud/compute/save_an_instance/guide.en-gb.md index 464a8130c70..02d491a16f7 100644 --- a/pages/public_cloud/compute/save_an_instance/guide.en-gb.md +++ b/pages/public_cloud/compute/save_an_instance/guide.en-gb.md @@ -1,9 +1,23 @@ --- title: Backing up an instance -excerpt: Find out how to back up a Public Cloud instance in the OVHcloud Control Panel +excerpt: Find out how to back up a Public Cloud instance in the OVHcloud Control Panel or via Openstack updated: 2025-04-28 --- + + ## Objective You can create a single backup of an instance or configure a schedule in order to automate your instance backups. Backups can be used to restore your instance to a previous state or to create a new, identical instance. @@ -14,6 +28,7 @@ You can create a single backup of an instance or configure a schedule in order t - A [Public Cloud instance](https://www.ovhcloud.com/en-gb/public-cloud/) in your OVHcloud account - Access to the [OVHcloud Control Panel](/links/manager) +- OpenStack CLI. Use [our guide to know how to prepare the environment to use the OpenStack API](/pages/public_cloud/public_cloud_cross_functional/prepare_the_environment_for_using_the_openstack_api). ## Instructions @@ -23,23 +38,69 @@ You can create a single backup of an instance or configure a schedule in order t > This option is only available through a **Cold Snapshot** for Metal instances. During this process, the Metal instance will be switched to rescue-mode, and once the backup is performed, the instance will reboot back to normal mode. > -Log in to the [OVHcloud Control Panel](/links/manager), go to the `Public Cloud`{.action} section and select the Public Cloud project concerned. Then click on `Instances`{.action} in the left-hand menu. - -Click on the `...`{.action} button to the right of the instance and select `Create a backup`{.action}. - -![public-cloud-instance-backup](images/createbackup1.png){.thumbnail} - -Enter a name for the backup on the next page. Take note of the pricing information and click on `Confirm`{.action}. - -![public-cloud-instance-backup](images/createbackup2.png){.thumbnail} - -It is not possible to track the progress of the backup in real time, however, in the `Instance Backup`{.action} section under **Compute** in the left-hand menu, the status will be displayed as "Backup in progress" during the process. - -![public-cloud-instance-backup](images/backup_in_progress.png){.thumbnail} - -Once the backup is complete, it will be available in the `Instance Backup`{.action} section under **Compute** in the left-hand menu. - -![public-cloud-instance-backup](images/createbackup3.png){.thumbnail} +>[!tabs] +> Via the OVHcloud Control Panel +>> Log in to [OVHcloud customer area](/links/manager), access the `Public Cloud`{.action} section and select the relevant Public Cloud project. Then click on `Instances`{.action} in the left-hand menu. +>> +>> Click on the `...`{.action} button to the right of the instance and select `Create backup`{.action}. +>> +>> ![public-cloud-instance-backup](images/createbackup1.png){.thumbnail} +>> +>> > [primary] +>> > +>> > Two types of backup are available: local and distant. +>> > +>> > The remote backup option also generates a local backup, billed separately and not deleted automatically. +>> > +>> > It is recommended that you keep this backup local, because if you recreate an instance in the same region, restoration will be significantly faster. This practice optimizes recovery times and performance. +>> > +>> +>> /// details | Local backup +>> +>> Enter a name for the backup. Review the pricing information and click `Confirm`{.action}. +>> +>> ![public-cloud-instance-backup](images/createbackup2.png){.thumbnail} +>> +>> /// +>> +>> /// details | Distant backup +>> +>> Enter a name for the local backup in the `Enter the name of your backup :` field. +>> +>> ![public-cloud-instance-distant-backup](images/createdistantbackup1.png){.thumbnail} +>> +>> Next, `activate`{.action} the option to add a remote backup, then specify the name of this backup, select its destination region and click `Confirm`{.action}. +>> +>> ![public-cloud-instance-distant-backup2](images/createdistantbackup2.png){.thumbnail} +>> +>> /// +>> +>> It is not possible to monitor backup progress in real time. However, in the `Instance Backup`{.action} section under **Compute** in the left-hand menu, the status `Backup in progress` will be displayed during the process. +>> +>> ![public-cloud-instance-backup](images/backup_in_progress.png){.thumbnail} +>> +>> Once the backup is complete, it will be available in the `Instance Backup`{.action} section under **Compute** in the left-hand menu. +>> +>> ![public-cloud-instance-backup](images/createbackup3.png){.thumbnail} +>> +> Via Openstack +>> ```bash +>> $ openstack server list +>> +>> +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ +>> | ID | Name | Status | Networks | Image Name | +>> +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ +>> | aa7115b3-83df-4375-b2ee-19339041dcfa | Server 1 | ACTIVE | Ext-Net=51.xxx.xxx.xxx, 2001:41d0:xxx:xxxx::xxxx | Ubuntu 16.04 | +>> +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ +>> ``` +>> +>> Then run the following commands to create a backup of your instance: +>> +>> ```bash +>> $ openstack server image create --name snap_server1 aa7115b3-83df-4375-b2ee-19339041dcfa +>> $ openstack workflow execution create ovh.glance.glance_download '{"src_image_id": "", "src_region": "", "dst_region": ""}' +>> ``` +>> ### Creating an automated backup of an instance diff --git a/pages/public_cloud/compute/save_an_instance/guide.fr-fr.md b/pages/public_cloud/compute/save_an_instance/guide.fr-fr.md index ab27515244b..bdec82265eb 100644 --- a/pages/public_cloud/compute/save_an_instance/guide.fr-fr.md +++ b/pages/public_cloud/compute/save_an_instance/guide.fr-fr.md @@ -1,9 +1,23 @@ --- title: 'Sauvegarder une instance' -excerpt: 'Découvrez comment sauvegarder une instance Public Cloud depuis votre espace client OVHcloud' -updated: 2025-04-28 +excerpt: 'Découvrez comment sauvegarder une instance Public Cloud depuis votre espace client OVHcloud ou Openstack' +updated: 2025-06-10 --- + + ## Objectif Vous pouvez créer une sauvegarde unique d'une instance ou configurer un planning afin d'automatiser les sauvegardes de vos instances. Les sauvegardes peuvent être utilisées pour restaurer votre instance à un état antérieur ou pour créer une nouvelle instance identique. @@ -14,6 +28,7 @@ Vous pouvez créer une sauvegarde unique d'une instance ou configurer un plannin - Avoir une instance [Public Cloud](https://www.ovhcloud.com/fr/public-cloud/) dans votre compte OVHcloud. - Être connecté à votre [espace client OVHcloud](/links/manager). +- CLI OpenStack. Consultez notre guide « [Comment préparer l'environnement pour utiliser l'API OpenStack](/pages/public_cloud/public_cloud_cross_functional/prepare_the_environment_for_using_the_openstack_api) ». ## En pratique @@ -23,23 +38,69 @@ Vous pouvez créer une sauvegarde unique d'une instance ou configurer un plannin > Cette option est uniquement disponible via un **Cold Snapshot** pour les instances Metal. L'instance Metal passera en mode rescue et, une fois la sauvegarde effectuée, l'instance sera redémarrée en mode normal. > -Connectez-vous à [l’espace client d’OVHcloud](/links/manager), accédez à la section `Public Cloud`{.action} et sélectionnez le projet Public Cloud concerné. Cliquez ensuite sur `Instances`{.action} dans le menu de gauche. - -Cliquez sur le bouton `...`{.action} à droite de l'instance et sélectionnez `Créer un backup`{.action}. - -![public-cloud-instance-backup](images/createbackup1.png){.thumbnail} - -Renseignez un nom pour la sauvegarde sur la page suivante. Prenez connaissance des informations tarifaires et cliquez sur `Confirmer`{.action}. - -![public-cloud-instance-backup](images/createbackup2.png){.thumbnail} - -Il n'est pas possible de suivre la progression de la sauvegarde en temps réel. Cependant, dans la section `Instance Backup`{.action} sous la rubrique **Compute** dans le menu de gauche, le statut `Backup en cours` sera affiché pendant le processus. - -![public-cloud-instance-backup](images/backup_in_progress.png){.thumbnail} - -Une fois la sauvegarde terminée, celle-ci sera disponible dans la section `Instance Backup`{.action} sous la rubrique **Compute** dans le menu de gauche. - -![public-cloud-instance-backup](images/createbackup3.png){.thumbnail} +>[!tabs] +> Via l'espace client OVHcloud +>> Connectez-vous à [l’espace client d’OVHcloud](/links/manager), accédez à la section `Public Cloud`{.action} et sélectionnez le projet Public Cloud concerné. Cliquez ensuite sur `Instances`{.action} dans le menu de gauche. +>> +>> Cliquez sur le bouton `...`{.action} à droite de l'instance et sélectionnez `Créer un backup`{.action}. +>> +>> ![public-cloud-instance-backup](images/createbackup1.png){.thumbnail} +>> +>> > [primary] +>> > +>> > Deux types de sauvegardes sont disponibles : locale et distante. +>> > +>> > L’option de sauvegarde distante génère également une sauvegarde locale, facturée séparément et non supprimée automatiquement. +>> > +>> > Il est recommandé de conserver cette sauvegarde locale, car en cas de recréation d’une instance dans la même région, la restauration sera notablement plus rapide. Cette pratique permet d’optimiser les temps de reprise et la performance. +>> > +>> +>> /// details | Sauvegarde locale +>> +>> Renseignez un nom pour la sauvegarde. Prenez connaissance des informations tarifaires et cliquez sur `Confirmer`{.action}. +>> +>> ![public-cloud-instance-backup](images/createbackup2.png){.thumbnail} +>> +>> /// +>> +>> /// details | Sauvegarde distante +>> +>> Renseignez un nom pour la sauvegarde locale dans le champ `Saisissez le nom de votre backup :`. +>> +>> ![public-cloud-instance-distant-backup](images/createdistantbackup1.png){.thumbnail} +>> +>> Ensuite, `activez`{.action} l’option permettant d’ajouter une sauvegarde distante, puis indiquez le nom de cette sauvegarde, sélectionnez sa région de destination et cliquez sur `Confirmer`{.action}. +>> +>> ![public-cloud-instance-distant-backup2](images/createdistantbackup2.png){.thumbnail} +>> +>> /// +>> +>> Il n'est pas possible de suivre la progression de la sauvegarde en temps réel. Cependant, dans la section `Instance Backup`{.action} sous la rubrique **Compute** dans le menu de gauche, le statut `Backup en cours` sera affiché pendant le processus. +>> +>> ![public-cloud-instance-backup](images/backup_in_progress.png){.thumbnail} +>> +>> Une fois la sauvegarde terminée, celle-ci sera disponible dans la section `Instance Backup`{.action} sous la rubrique **Compute** dans le menu de gauche. +>> +>> ![public-cloud-instance-backup](images/createbackup3.png){.thumbnail} +>> +> Via Openstack +>> ```bash +>> $ openstack server list +>> +>> +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ +>> | ID | Name | Status | Networks | Image Name | +>> +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ +>> | aa7115b3-83df-4375-b2ee-19339041dcfa | Server 1 | ACTIVE | Ext-Net=51.xxx.xxx.xxx, 2001:41d0:xxx:xxxx::xxxx | Ubuntu 16.04 | +>> +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ +>> ``` +>> +>> Exécutez ensuite les commandes suivantes pour créer une sauvegarde de votre instance : +>> +>> ```bash +>> $ openstack server image create --name snap_server1 aa7115b3-83df-4375-b2ee-19339041dcfa +>> $ openstack workflow execution create ovh.glance.glance_download '{"src_image_id": "", "src_region": "", "dst_region": ""}' +>> ``` +>> ### Créer une sauvegarde automatisée d’une instance @@ -70,6 +131,10 @@ Vous pouvez définir une planification de sauvegarde personnalisée ou choisir l ![public-cloud-instance-backup](images/createbackup7.png){.thumbnail} +Dans le cas ou vous activez l'option de sauvegarde distante, vous pourrez renseigner le nom ainsi que sélectionner la localisation de celle-ci. + +![public-cloud-instance-distant-backup-workflow](images/createdistantbackup3.png){.thumbnail} + #### **Le nom** Entrez un nom pour la planification de la sauvegarde automatique. Prenez connaissance des informations de tarification et créez le planning en cliquant sur le bouton `Créer`{.action}. diff --git a/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.en-gb.md b/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.en-gb.md index 6439cbbd3b3..624ca2474f4 100644 --- a/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.en-gb.md +++ b/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.en-gb.md @@ -25,24 +25,10 @@ You will also need a [Public Cloud instance](/links/public-cloud/compute) in you ## Instructions -### Create a backup - - -```bash -$ openstack server list - -+--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ -| ID | Name | Status | Networks | Image Name | -+--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ -| aa7115b3-83df-4375-b2ee-19339041dcfa | Server 1 | ACTIVE | Ext-Net=51.xxx.xxx.xxx, 2001:41d0:xxx:xxxx::xxxx | Ubuntu 16.04 | -+--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ -``` - -Next, run the following command to create a backup of your instance: - -```bash -$ openstack server image create --name snap_server1 aa7115b3-83df-4375-b2ee-19339041dcfa -``` +> [primary] +> +> If you need to create a backup with Openstack, please refer to this dedicated guide on how to [backup an instance.](/pages/public_cloud/compute/save_an_instance) +> ### Download the backup diff --git a/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-ca.md b/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-ca.md index 6ef99f4a2d5..c7d677e997f 100644 --- a/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-ca.md +++ b/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-ca.md @@ -28,7 +28,7 @@ Vous aurez également besoin d’une [instance Public Cloud](/links/public-cloud ```bash $ openstack server list - + +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ | ID | Name | Status | Networks | Image Name | +--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ diff --git a/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-fr.md b/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-fr.md index 6ef99f4a2d5..9d7b2df5302 100644 --- a/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-fr.md +++ b/pages/public_cloud/compute/transfer_instance_backup_from_one_datacentre_to_another/guide.fr-fr.md @@ -24,23 +24,10 @@ Vous aurez également besoin d’une [instance Public Cloud](/links/public-cloud ## En pratique -### Créer une sauvegarde - -```bash -$ openstack server list - -+--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ -| ID | Name | Status | Networks | Image Name | -+--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ -| aa7115b3-83df-4375-b2ee-19339041dcfa | Server 1 | ACTIVE | Ext-Net=51.xxx.xxx.xxx, 2001:41d0:xxx:xxxx::xxxx | Ubuntu 16.04 | -+--------------------------------------+-----------+--------+--------------------------------------------------+--------------+ -``` - -Exécutez ensuite la commande suivante pour créer une sauvegarde de votre instance : - -```bash -$ openstack server image create --name snap_server1 aa7115b3-83df-4375-b2ee-19339041dcfa -``` +> [primary] +> +> Si vous devez créer une sauvegarde avec Openstack, veuillez vous référer à ce guide dédié pour savoir comment [sauvegarder une instance.](/pages/public_cloud/compute/save_an_instance) +> ### Télécharger la sauvegarde