Previous Topic

Next Topic

Extract the entire database

This section describes how to extract the contents of a SCHEDULE database into an ASCII text file. This is especially useful if you need to copy the database to another server or email a database as an attachment. The following commands will generate two new text files. The first file (part1.schedule) describes the directory structure of the database while the second file (part2.schedule) describes the contents of all the database records (i.e. jobs, calendars, variables, layouts, etc).

Examples

OpenVMS:


Schedule> dir/dir [*],[*.*] /log/template=%schedule_library%template_db.schedule/out=part1.schedule
Schedule> dir/all [*]*,[*.*]* /log/template=%schedule_library%template_db.schedule/out=part2.schedule

UNIX/Linux:

Schedule> lsdir /*/,/*/*/ -log-template=%schedule_library%template_db.schedule -out=part1.schedule
Schedule> dls /*/*,/*/*/* -log-template=%schedule_library%template_db.schedule -out=part2.schedule

Windows:

Schedule> dir/dir \*\,\*.*\ /log/template=%schedule_library%template_db.schedule/out=part1.schedule
Schedule> dir/all \*\*,\*\*\* /log/template=%schedule_library%template_db.schedule/out=part2.schedule

What it does: Extracts the entire database into files, which can be inserted using the source, @ or . command.

To insert the extracted database, see: Insert an extracted database. See Extract a job's list data (extract/job or extjob) for a detailed description of this command.

See Also

Common Command Examples

Create a new job

Modify a job's properties

Modify all jobs using wildcards

Display job properties

Delete a job

Copy an existing job

Edit job list data

Insert an extracted database

Type job list data

Submit a job

Create a new directory

Create a calendar

Display history

Monitoring activity