Defining Archive Database Jobs
PASS databases can be archived using Schedule Job Agent.
Before you begin
Procedure
- Select a job from the grid.The scheduled job record settings are shown in the Job Schedule frame.
- Confirm the Agent Name PassScheduleAgent is defined for the job schedule.The selected agent determines the options that are available in the Job Type field.
- Click Job Data.The Job Data dialog box appears.
-
Define the schedule type and date information:
- In the Job Type field, select Archive Database. If no Job Types are available, confirm that an Agent Name has been selected in the Job Schedule frame of the Schedule Job Agent dialog box.
-
Click New.
The New Batch dialog box appears.
- Type a Batch name.
-
Define the following:
- Batch name
- The name of the Archive Database batch.
- Number of days
- Number of days greater than which an archive should be created. Lowest number is 30.
- Archive DSN
- Database to be used as the archive database.
- Desired longest runtime in hours
- Limits the amount of archiving to be done in a single
session.
Tables are archived based on the processing power available for the action. For example, if 8 processors are available, 8 tables can be archived at the same time.
If a table is currently being archived when the hour limit is reached, the table will finish being archived (unless strict runtime restriction is selected).
Leave as 0 for no restriction. Note that this setting is not recommended until after an initial archive has occurred. Depending on the size of the database, this process can take days or weeks.
- strict runtime restriction
- Forces the system to finish immediately when the Desired longest runtime in hours is reached. The table currently being archived will be rolled back (unarchived).
- Date related tables to keep in source (comma-separated list)
- Tables that should be copied into the archive but also retained in
the source database. For example,
Address,Clients,Alerts
- Click OK.
-
Click OK.
The Job Data dialog box closes.
- Click Save.
- Click Close.