

Backup dei dati › Opzioni globali di backup › Backup Manager Pre/Post Options
Backup Manager Pre/Post Options
Le opzioni Pre/Post consentono di eseguire i comandi prima e dopo aver eseguito un processo.
The list that follows describes commands that you can run using Pre and Post options.
- You can use the Pre option to stop the application that owns the data you are about to back up, and then use the Post option to restart the application after the backup is complete.
- You can use the Pre option to defragment a disk before a backup job starts.
- You can use the Post option to delete files from a disk after that backup is complete.
Be aware of the following behavior when using Pre and Post options:
- Arcserve Backup does not support running commands with executables that reside on remote systems.
- Using a Pre option and specifying an exit code prevents the backup operation from starting until after the Pre option process is complete.
- Using a Pre option and specifying an exit code and the Skip Operation option causes Arcserve Backup to skip the backup operation and, if specified, prevents the Post option process from starting.
- Post option processes start unless the following conditions are present:
- An exit code is specified, the Skip Post Application option is specified, and the result exit code is equal to the exit code specified.
- The result of the backup operation is equal to the value specified for the Do not run Command if option.
- Pre and Post options specified as global options run commands before a job starts or after a job finishes. Pre and Post options specified as node-level (local) options run commands before a node is backed up or after a node is backed up.
For example, a user submits a backup job consisting of nodes A and B. A Pre option is specified as a global option and a Pre option is specified for node B. Immediately before the job runs, the global Pre option executes. While the job is running, the Pre option specified for node B executes before node B is backed up.
- Run Command Before Operation Options
-
Immettere il nome e il percorso del file da eseguire sul computer prima dell'inizio del processo.
- Per codice di uscita: vengono rilevati i codici di uscita di altri programmi. Per un codice di uscita specifico, è possibile specificare le opzioni seguenti:
- Esegui processo immediatamente: il processo viene eseguito immediatamente se viene restituito il codice di uscita selezionato.
- Ignora processo: se viene rilevato il codice appropriato, il processo non viene eseguito.
- Ignora esecuzione successiva: se viene rilevato il codice specificato, tutti i comandi che avrebbero dovuto essere eseguiti dopo il processo vengono ignorati.
- Ritardo (in minuti): specificare i minuti di ritardo da attendere prima di eseguire un processo, una volta rilevato il codice di uscita appropriato.
- Run Command After Operation Options
-
Immettere il nome e il percorso del file da eseguire sul computer dopo il completamento del processo.
- Opzioni non eseguire il comando se
-
Consentono di specificare di non eseguire un comando se viene rilevato che un processo ha avuto esito negativo, è incompleto o è stato completato.
Nota: This option is not available when you are using Arcserve Backup to manage a UNIX or Linux based server.
- Opzioni Esegui comando Prima/Dopo come
-
Il nome utente e la password sono relativi al sistema del server host selezionato e sono richiesti per controllare i privilegi di sistema su tale server.
Il nome utente e la password immessi in questi campi non devono essere confusi con il nome utente e la password di Arcserve Backup.
Esempio: Submitting a Job Using Pre and Post Commands
A user submits a job that backs up local volume C. The user wants to check and fix errors using chkdsk.exe on local volume C before local volume C is backed up. After the job is complete, the user wants to generate an error report using CAAdvReports.exe.
- Pre Command for the node:
-
The command that follows checks and fixes errors on local volume C before the backup job starts.
chkdsk.exe C: /F", On Exit Code = 0, Run operation immediately
- Post Command for the job:
-
The command that follows generates an error reports and saves it in a specified location.
CAAdvReports.exe -reporttype 5 -maxSize 5 -Server DUVDO01 -outfile "C:\Program Files (x86)\CA\ARCserve Backup\Reports\Backup Error Report_data.xml" -PastDays 1 -AutoName
Copyright © 2016 .
All rights reserved.
 
|
|