dbbackup - Database Backup

dbbackup [OPTIONS] dataarea ...

dbbackup [OPTIONS] --active

dbbackup [OPTIONS] --prodline prodLine ...

dbbackup [OPTIONS] --tenant tenant ...

Use this utility to back up a database to a zip file.

Program Option Description
dataarea The name of the data area whose database you want to back up. You can specify multiple space-separated data area names.
--active Back up databases for all active data areas.
--prodline prodLine Back up databases for all active data areas in the product line. You can specify multiple space-separated product line names.
--tenant tenant Back up databases for all active data areas of the tenant. You can specify multiple space-separated tenant names.
-b or --brief Print summary only for each file.
--directory=PATH Directory in which to put the created zip file.
--delete Delete the data area when complete.
--gridstatus= ID

Publish progress to grid. You can then use

managegrid getprogress

to see a list of all running programs, or you can use

managegrid getprogress ID

to see the status of this program. The value you specify for ID must be unique across the system for any programs being run with the gridstatus option.

--include=name,... Only dump the files defined by name,.... If you include more than one name pattern, they must be separated by commas. For more information on name, see below.
--lock Get an exclusive lock on the data area.
name

A list of names of dictionary files, business classes, modules, database spaces, or business class patterns to execute the command against.

Use the prefixes file-, pattern-, space-, or module- to resolve ambiguity. Use prefix- and type- to select files by prefix name or types used. File names can be the long or classic name and can include ? and *. Specifying "!" anywhere in the list will complement the selected files. Specifying @path reads names from the file, one per line. A hyphen ( - ) indicates stdin. Wildcard characters may need to be quoted in the command line or they will be interpreted by the command processor. A :L on a file name selects the lobs table. A :B on a file name selects the base table.

-q or --quiet Quiet mode - only print errors.
--localize Apply the current configuration to the dictionary.
-T or --timings Print timings
--threads=count

Maximum active threads for processing, for example, --threads=3. If you use multiple threads, you may see a performance improvement. However, performance depends on other factors as well. Note that a very large table will be processed in a single thread.

The default number of threads is four.

-v errorlevel or --errorlevel= errorlevel

errorlevel, tracelevel, and verbose specified in any order, where:

  • errorlevel = {n}none | {f}atal | {e}rror | {w}arning (warning is the default)

  • tracelevel = 0:6 where 0 is no message and 6 is everything

  • verbose = whether to display exception stacktrace