The ca_backup command provides a means to specify the scheduling methods for your backup job. The method you choose determines when your backups are run, the type of backup to be done on particular days, and the rotation of the backup media. The three schedule methods from which you can choose are Custom schedule, Rotation schedule, and GFS Rotation schedule.
For the following ca_backup schedule arguments, "incr" indicates an Incremental Backup and "diff" indicates a Differential Backup.
Note: If a job that is submitted from the ca_backup command runs an hour later than the scheduled time, it may be due to change in Daylight Savings Time (DST) start date. To avoid this you need to update your operating system by installing the Microsoft daylight saving time patch. For more information, see the Microsoft Daylight Saving Time Help and Support Center.
The ca_backup command includes the following schedule arguments:
The ca_backup command includes the following filter options:
ca_backup [-custom
-repeat <months> <days> <hours> <minutes>] -excludeday <Sun|Mon|Tue|Wed|Thu|Fri|Sat>*] -method <incr|diff|full-clear|full-keep>] -retrymissed_at <hh:mm:ss>|-retrymissed_after <minutes> [-retrymissed_maxtimes <count>]] -worm]
Specify the schedule type of the backup job as a custom schedule. By default, this is the schedule type used for backup jobs.
Use with -custom. Specify a repeating interval for a backup job. By default, there is no repeating interval and a job only runs once. Specify a repeating interval so your job runs every X minutes/hours/days/months. The syntax of the command requires a value for each field of months, days, hours, and minutes.
Example: To schedule a repeating job every 1 day and 2 hours enter: ca_backup - custom -repeat 0 1 2 0.
Use with -custom to exclude specific days from a repeating backup job.
Specifies the method for the custom scheduled backup job.
Specifies to perform an incremental backup.
Backs up only those files whose archive bit have been set since the last full or incremental backup was performed. After each backup, archive bits are reset so that they are not backed up during the next incremental backup job.
Specifies to perform a differential backup.
Backs up only those files whose archive bits have been set since the last full backup was performed. Because differential backup jobs do not clear a file’s archive bit, the files that were backed up in the last differential job are backed up again. Using this backup method, the backup jobs require more time to process than incremental backup jobs. However, this strategy requires less effort to restore servers and workstations because you will probably require fewer media to restore your machines.
Specifies to perform a full backup each time the job is repeated and clear the archive bit.
Specifies to perform a full backup each time the job is repeated and keep the archive bit.
Specifies the media retention period, in days, for the created media pool.
Backs up or copies any missed targets at the specified time. If the file is still unavailable, Arcserve Backup writes information to the Activity Log, and the job is labeled “Incomplete.”
Backs up or copies any missed targets at the specified number of minutes after all the other source files have been backed up. If the file is still unavailable, Arcserve Backup writes information to the Activity Log, and the job is labeled “Incomplete.”
Specifies the number of times you want to try to back up or copy the file.
Specifies to use the WORM (Write Once Read Many) option to apply media data protection for all custom schedule rules. With this option enabled, Arcserve Backup appends the backup sessions to the existing data on the media, because you cannot overwrite or erase WORM media..
Important! Arcserve Backup does not support the use of WORM media for multiplexing backup jobs. As a result, if you include the -multiplextape switch as a destination option, the -worm schedule option will be disabled.
Notes:
The ca_backup command includes the following Rotation schedule options:
ca_backup [-rotation
-mediapool <mediapool name>] -jobunit <full|diff|incr|off> <append|overwrite> <media name>[ds]] -saveset <no. of tapes>] -retention <days>] -retrymissed_at <hh:mm:ss>|-retrymissed_after <minutes> [-retrymissed_maxtimes <count>]] -exception <full|diff|incr|off> <append|overwrite> <mm/dd/yy[yy]>] -method <incr|diff|full>] -worm]
Specifies the schedule type of a backup job as a rotation schedule.
Specifies the media pool to use for the backup job. This switch must be used in conjunction with - rotation or -custom.
Note: If the target group is deduplication group or if the staging group is deduplication group, you cannot include the –mediapool switch.
Each job unit represents a day in the rotation scheme, from Sunday to Saturday. You can customize each day, although there are certain restrictions, such as not combining differential and incremental backups in the same rotation schedule. The first -jobunit switch is for Sunday, the next for Monday, and so on. The user must account for each day of the week, so seven (7) -jobunit switches are required. By default, any days not represented by a -jobunit switch are set to Off day, and no backup takes place on that day. The user has the option of not specifying the ‑jobunit switch, to set the rotation schedule to the default 5-day incremental with a full backup on Friday. This is the same schedule seen from the front-end backup manager.
Enables staging in daily backup of a rotation or GFS rotation job.
For a rotation job initiated from the ca_backup -diskstage command, every job unit within the rotation job must include "ds" as a parameter to enable the disk staging feature. If you do not include the "ds" parameter, data for the backup sessions will not be sent to the staging device.
For example, to schedule a full disk staging backup job to be executed every Monday for "my_jobs" use the following command:
-jobunit off -jobunit full overwrite my_job ds -jobunit off -jobunit off -jobunit off -jobunit off -jobunit off
Note: Each job unit represents a day in the rotation scheme, from Sunday to Saturday.
Use with -rotation. Specifies the minimum number of media to keep in the created media pool's save set.
Specifies the media retention period, in days, for the created media pool.
Backs up or copies any missed targets at the specified time. If the file is still unavailable, Arcserve Backup writes information to the Activity Log, and the job is labeled “Incomplete.”
Backs up or copies any missed targets at the specified number of minutes after all the other source files have been backed up. If the file is still unavailable, Arcserve Backup writes information to the Activity Log, and the job is labeled “Incomplete.”
Specifies the number of times you want to try to back up or copy the file.
Available range of count options are from 1 to 12 attempts.
Specifies an exception condition from the regular rotation schedule. This feature is useful in the case of a holiday or other event, when a different behavior for the backup job is needed on that date.
Specifies the method for the scheduled backup job.
Specifies to perform a scheduled incremental backup.
Specifies to perform a scheduled differential backup.
Specifies to perform a scheduled full backup.
Specifies to use the WORM (Write Once Read Many) option to apply media data protection for all rotation schedule rules. With this option enabled, Arcserve Backup appends the backup sessions to the existing data on the media, because you cannot overwrite or erase WORM media.
Important! Arcserve Backup does not support the use of WORM media for multiplexing backup jobs. As a result, if you include the -multiplextape switch as a destination option, the -worm schedule option will be disabled.
Notes:
The ca_backup command includes the following GFS Rotation schedule options:
ca_backup [-gfsrotation
-mpoolprefix <mediapool prefix>] -jobunit <full|diff|incr|off>[ds]] -preservedaily <no. of tapes>] -preserveweekly <no. of tapes>] -preservemonthly <no. of tapes>] -retrymissed_at <hh:mm:ss>|-retrymissed_after <minutes> [-retrymissed_maxtimes <count>]] -exception <full|diff|incr|off> <mm/dd/yy[yy]>] -method <incr|diff|full>] -worm [daily] [weekly] [monthly]]
Specifies the schedule type of the backup job as a GFS (Grandfather, Father, Son) rotation schedule.
Use with -gfsrotation as a prefix for naming three mediapools (Daily, Weekly, and Monthly) to be created and associated with this GFS rotation job.
Example: If the prefix is "GFSJOB1", the 3 pools created are: GFSJOB1_DLY, GFSJOB1_WLY, GFSJOB1_MLY.
Note: If the target group is deduplication group or if the staging group is deduplication group, you cannot include the -mpoolprefix switch.
Same as the description for Rotation schedule, except that, for GFS Rotation, the arguments are limited to specifying the type of backup to occur on the selected day.
Use with -gfsrotation to specify the minimum number of media to preserve in the daily media pool save set.
Use with -gfsrotation to specify the minimum number of media to preserve in the weekly media pool save set.
Use with -gfsrotation to specify the minimum number of media to preserve in the monthly media pool save set.
Backs up or copies any missed targets at the specified time. If the file is still unavailable, Arcserve Backup writes information to the Activity Log, and the job is labeled “Incomplete.”
Backs up or copies any missed targets at the specified number of minutes after all the other source files have been backed up. If the file is still unavailable, Arcserve Backup writes information to the Activity Log, and the job is labeled “Incomplete.”
Specifies the number of times you want to try to back up or copy the file.
Available range of count options are from 1 to 12 attempts.
Same as the description for Rotation schedule, except that, for GFS Rotation, the arguments are limited to specifying the type of backup to occur on the exception date.
Specifies the method for the scheduled GFS rotation backup job.
Specifies to perform a scheduled incremental backup.
Specifies to perform a scheduled differential backup.
Specifies to perform a scheduled full backup.
Specifies to use the WORM (Write Once Read Many) option to apply media data protection for all GFS Rotation schedule rules. With this option enabled, Arcserve Backup appends the backup sessions to the existing data on the media, because you cannot overwrite or erase WORM media. With this option enabled, you can also specify to apply the WORM media option for daily, weekly, and monthly GFS rotation jobs.
Important! Arcserve Backup does not support the use of WORM media for multiplexing backup jobs. As a result, if you include the -multiplextape switch as a destination option, the -worm schedule option will be disabled.
Notes:
Copyright © 2017 |
|