Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Cette page explique comment afficher et supprimer les sauvegardes existantes des instances Harbor dans Google Distributed Cloud (GDC) air-gapped.
Supprimez les sauvegardes Harbor inutilisées pour libérer de l'espace de stockage et réduire les coûts. Cette bonne pratique simplifie la gestion des sauvegardes et peut améliorer leurs performances.
Avant de commencer
Pour gérer une sauvegarde, vous devez avoir accès aux éléments suivants :
Rôles d'identité et d'accès nécessaires :
Administrateur d'instance Harbor : dispose d'un accès complet pour gérer les instances Harbor d'un projet. Demandez à votre administrateur IAM de l'organisation de vous attribuer le rôle Administrateur d'instance Harbor (harbor-instance-admin).
Administrateur secret : rôle requis pour utiliser la console GDC. Demandez à l'administrateur IAM de votre organisation de vous attribuer le rôle Administrateur Secret (secret-admin).
Une sauvegarde existante. Vous pouvez créer des sauvegardes à partir des sources suivantes :
GDC crée automatiquement des sauvegardes selon la planification du plan de sauvegarde. Pour en savoir plus, consultez Créer un plan de sauvegarde.
Pour afficher une sauvegarde existante, procédez comme suit :
Connectez-vous à la console GDC.
Dans le menu de navigation, cliquez sur Sauvegarde pour l'instance Harbor.
Cliquez sur Sauvegardes.
Affichez les sauvegardes existantes dans le tableau.
Pour afficher les détails d'une sauvegarde, cliquez sur son nom dans le tableau.
Supprimer une sauvegarde
Les sauvegardes sont supprimées de deux manières :
Les sauvegardes sont automatiquement supprimées une fois le nombre de jours défini dans la règle de conservation de leur forfait de sauvegarde atteint.
Vous supprimez les sauvegardes manuellement.
Pour supprimer manuellement une sauvegarde existante, procédez comme suit :
Connectez-vous à la console GDC.
Dans le menu de navigation, cliquez sur Sauvegarde pour l'instance Harbor.
Cliquez sur Sauvegardes.
Cliquez sur le nom de la sauvegarde que vous souhaitez supprimer.
Cliquez sur deleteSupprimer la sauvegarde.
Dans la boîte de dialogue de confirmation, saisissez le nom de la sauvegarde à supprimer.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThis page details the process of viewing and deleting backups of Harbor instances within Google Distributed Cloud (GDC) air-gapped environments.\u003c/p\u003e\n"],["\u003cp\u003eManaging Harbor backups requires Harbor Instance Admin and Secret Admin roles, which must be obtained from your Organization IAM Admin.\u003c/p\u003e\n"],["\u003cp\u003eYou can view existing Harbor backups by navigating to the "Backup for harbor instance" section in the GDC console and clicking the Backups tab.\u003c/p\u003e\n"],["\u003cp\u003eBackups are either automatically deleted based on their backup plan's retention policy or manually deleted through the GDC console, after confirming the backup's name in a deletion dialog.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a backup is irreversible and permanently removes the backup and all associated data, preventing future restores from that backup.\u003c/p\u003e\n"]]],[],null,["# Manage a backup\n\nThis page provides instructions on how to view and delete existing backups of\nHarbor instances in Google Distributed Cloud (GDC) air-gapped.\n\nDelete unused Harbor backups to free up storage space and reduce costs. This\nbest practice simplifies backup management and can improve the performance of\nbackups.\n\nBefore you begin\n----------------\n\nTo manage a backup, you must have access to the following:\n\n- The necessary identity and access roles:\n\n - Harbor Instance Admin: has full access to manage Harbor instances in a project. Ask your Organization IAM Admin to grant you the Harbor Instance Admin (`harbor-instance-admin`) role.\n - Secret Admin: required for operating in the GDC console. Ask your Organization IAM Admin to grant you the Secret Admin (`secret-admin`) role.\n- An existing backup. You create backups from the following sources:\n\n - GDC creates backups automatically as defined in the backup plan schedule. For more information, see [Create a backup plan](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/harbor-backup/create-backup-plan-harbor).\n - You create manual backups. For more information, see [Create a manual backup](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/harbor-backup/create-manual-backup-harbor).\n\nView an existing backup\n-----------------------\n\nTo view an existing backup, follow these steps:\n\n1. Sign in to the GDC console.\n2. In the navigation menu, click **Backup for harbor instance**.\n3. Click **Backups**.\n4. View existing backups in the table.\n5. To view the details of a single backup, click the name of the backup in the table.\n\nDelete a backup\n---------------\n\nBackups are deleted in two ways:\n\n- Backups are automatically deleted after the number of days in their backup plan retention policy is reached.\n- You delete backups manually.\n\nTo manually delete an existing backup, follow these steps:\n\n1. Sign in to the GDC console.\n2. In the navigation menu, click **Backup for harbor instance**.\n3. Click **Backups**.\n4. Click the name of the backup you want to delete.\n5. Click delete**Delete backup**.\n6. In the confirmation dialog, enter the name of the backup that is being deleted.\n7. Click **Delete backup**.\n\n| **Warning:** The delete operation can't be undone. The deletion of this backup permanently removes the backup and all of its data. The creation of restores from this backup is no longer possible.\n\nWhat's next\n-----------\n\n- [Create a restore](/distributed-cloud/hosted/docs/latest/gdch/platform-application/pa-ao-operations/harbor-backup/create-restore-harbor)"]]