datalist.dat

Package: WA2L/edrc 1.5.57
Section: File Formats (4)
Updated: 13 January 2010
Index Return to Main Contents

 

NAME

datalist.dat - datalist definition for lots

 

SYNOPSIS

edrc/var/lots/objects/datalist.dat
VARDIR/objects/datalist.dat

 

AVAILABILITY

WA2L/edrc

 

DESCRIPTION

This is the datalist definition for the lots command.

In this file sets of files are defined that can be scheduled to be saved in the schedule.dat file.

 

FILEFORMAT

The fileformat is a list of definitions that have the format

DATALIST ; DESCRIPTION ; DIRECTORY ;

Rows starting with a # are considered as comments. Empty lines are allowed, too.

It is allowed to have multiple lines in the file having the identical DATALIST definition, but different DIRECTORY entries to enable to save data from different directories with one schedule. If multiple lines are defined, ensure that all DESCRIPTION entries of those lines are identical due to the fact that only the first DESCRIPTION definition of a DATALIST will be saved in the lots job and conserved for the duration of the data retention.

 

OPTIONS

DATALIST

name of the data list, the set of directories or files to be saved. To save data defined here in the DATALIST, DIRECTORY pair, a relating DATALIST entry in the schedule.dat file must exist.

DESCRIPTION

description of the datalist respectively of the data to be saved.

Be aware that this should be a meaningful description due to the fact that this data is saved for a long time and people having done the definition might have moved on before the data might be needed for restore.

DIRECTORY

definition of the directory or file(s) to be saved in this set. If a directory is specified, all files and subdirectories are saved. If a file is specified only the matching file(s) are saved. It is allowed to use wild-cards, but if you want to save multiple directories that cannot be defined using wild-cards, create multiple DATALIST entries.

To resolve the files/directories to be saved, lots uses

find DIRECTORY -print

internally. Therefore if you are unsure if your definition is correct, use this command for verification or start a collect run using ' lots -a collect -d DATALIST ' to verify the setting.

 

EXAMPLES

#
# var/lots/objects/datalist.dat - data save definition
#
# [00] 30.09.2009 CWa   Initial Version
#
#DATALIST     ;DESCRIPTION                                            ;DIRECTORY;
DB_CEDPROD    ;Database, PRODUCTION, PReCED                           ;/orara/be/CEDPROD/export/daily/g0;
DB_COIPROD    ;Database, PRODUCTION, OpenCO                           ;/orara/be/COIPROD/export/daily/g0;
DB_DMSPROD    ;Database, PRODUCTION, Phoenix DocumentManagementSystem ;/orara/be/DMSPROD/export/daily/g0;

DB_ASYPROD    ;Database, PRODUCTION, AutoSYS Job Scheduler            ;/orara/be/ASYPROD/export/daily/g0;

SQL_CHaT      ;MSSQL Database, PRODUCTION, CHaT                       ;/dat/sqlra/be/CHaT/export/daily/g0;
SQL_plumdb    ;MSSQL Database, PRODUCTION, plumdb                     ;/dat/sqlra/be/plumdb/export/daily/g0;

 

SEE ALSO

edrcintro(1), schedule.dat(4), volume.dat(4), lots.cfg(4), lots(1m)

 

NOTES

To verify the datalist definitions, use the lots -a list_datalist command. Only correct entries will be listed.

 

BUGS

-

 

AUTHOR

datalist.dat was developed by Christian Walther. Send suggestions and bug reports to wa2l@users.sourceforge.net .

 

COPYRIGHT

Copyright © 2010 Christian Walther

This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


 

Index

NAME
SYNOPSIS
AVAILABILITY
DESCRIPTION
FILEFORMAT
OPTIONS
EXAMPLES
SEE ALSO
NOTES
BUGS
AUTHOR
COPYRIGHT

This document was created by man2html using the manual pages.
Time: 00:13:59 GMT, March 08, 2025