Créer des workflows de sauvegarde et de reprise après sinistre pour les bases de données IBM Db2, SAP ASE et SAP MaxDB
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Vous pouvez utiliser un workflow Backup and DR pour automatiser le processus de montage et d'actualisation des bases de données d'une instance de base de données à partir d'une image de sauvegarde.
Dans la console de gestion du service Backup and DR, ouvrez le Gestionnaire d'applications, puis effectuez un clic droit sur l'instance et sélectionnez Gérer les workflows.
Cliquez sur + Ajouter un workflow.
Remplissez les informations suivantes.
Nom du workflow : saisissez un nom pour ce workflow Backup and DR.
Type de workflow : sélectionnez Montage direct.
Type de programmation : sélectionnez Planifiée ou À la demande selon vos besoins.
Pour un workflow Backup and DR planifié, spécifiez également la fréquence.
Image source : sélectionnez une image en fonction des exigences.
Libellé du point de montage : vous pouvez spécifier un libellé du point de montage pour l'image montée.
Hôtes : sélectionnez le ou les hôtes cibles sur lesquels les copies des bases de données de l'instance Db2 virtuelle sont créées.
Emplacement du montage : spécifiez un point de montage pour monter les volumes de données et les volumes de journaux de la cible.
Script avant : vous pouvez éventuellement spécifier un nom de script à exécuter avant l'actualisation.
Post-scriptum : vous pouvez éventuellement spécifier un nom de post-scriptum à exécuter à la fin de l'actualisation.
Créer une application virtuelle : activez Créer une application virtuelle.
Sélectionner des éléments : sélectionnez les bases de données à actualiser sur la cible et spécifiez le nom de la base de données cible dans Options de la base de données pour chaque base de données.
Si vous voyez Nom d'utilisateur et mot de passe de l'instance cible, saisissez les identifiants de l'instance cible.
NOM DE L'INSTANCE CIBLE : si l'instance cible est visible, sélectionnez-la. Sinon, spécifiez son nom.
Gérer la nouvelle application : activez Gérer la nouvelle application.
Modèle : choisissez un modèle pour protéger la base de données.
Profil : sélectionnez un profil.
Cliquez sur Ajouter pour créer un workflow Backup and DR à la demande ou planifié afin de créer ou d'actualiser la copie virtuelle des bases de données de l'instance.
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\u003eA Backup and DR Workflow automates mounting and refreshing a database instance's databases from a backup image.\u003c/p\u003e\n"],["\u003cp\u003eWorkflows can be either scheduled or run on demand, and require details such as workflow name, type, schedule, source image, and target hosts.\u003c/p\u003e\n"],["\u003cp\u003eYou can define a mount label, location, prescripts, and postscripts, and choose to create and manage a new virtual application.\u003c/p\u003e\n"],["\u003cp\u003eDatabases to refresh on the target must be selected, along with specifying the target database name, and ensuring no naming conflicts exist with the existing target databases.\u003c/p\u003e\n"],["\u003cp\u003eTarget instance credentials can be needed, and you can choose a template and profile to protect the database when the workflow is created.\u003c/p\u003e\n"]]],[],null,["# Create Backup and DR Workflows for IBM Db2, SAP ASE, and SAP MaxDB databases\n\nYou can use a Backup and DR Workflow to automate the process of mounting and\nrefreshing a database instance's databases from a backup image.\n\n1. From the Backup and DR Service management console, open the **App Manager** , then right-click the instance and select **Manage Workflows**.\n2. Click **+ Add Workflow**.\n3. Complete the following information.\n\n - **Workflow Name**: Enter a name for this Backup and DR Workflow.\n - **Workflow Type** : Select **Direct Mount**.\n - **Schedule Type** : Choose **Scheduled** or **On Demand** based on your requirement. For a scheduled Backup and DR Workflow, specify the frequency as well.\n - **Source Image**: Select based on requirements.\n - **Mount Label**: Optionally, specify a mount label for the mounted image.\n - **Hosts**: Select the target host or hosts where the virtual Db2 instance databases copy are created.\n\n | **Note:** Be sure that the target instance has no databases with the same name as any of the source databases, or the new target database name selected for the source databases during the mount.\n - **Mount Location**: Specify a mount point to mount the data volumes and log volumes of the target.\n - **Pre-Script**: Optionally, specify a prescript name to be run before refresh.\n - **Post-Script**: Optionally, specify a postscript name to be run at the end of refresh.\n - **Create New Virtual Application** : Enable **Create New Virtual Application**.\n - **Select Items** : Select the databases to refresh on target and specify the target dbname from **Database Options** for each database.\n - If you see **Target Instance User and Password**, enter credentials for the target instance.\n - **TARGET INSTANCE NAME**: If target instance is visible, then select it, otherwise specify the target instance name.\n - **Manage New Application** : Enable **Manage New Application**.\n - **Template**: Choose a template to protect the database.\n - **Profile**: Choose a profile.\n4. Click **Add** to create an on-demand or scheduled Backup and DR Workflow\n to create or refresh the instance's databases virtual copy."]]