NAME

dbsnapshot - create snapshot of database

SYNOPSIS

dbsnapshot [-d directory]
		[-e evid]
		[-f filename]
		[-n max-records]
		[-s subset]
		[-rRv]
		[-w minutes]
		    db [start_time [end_time|period]]

DESCRIPTION

dbsnapshot collects some information about and some records from a database db into a single tar file. This can be helpful for providing some information when trying to resolve a database problem.

OPTIONS

To include actual waveform data, specify the optional time range on the command line, or use the -w option described below.

EXAMPLE


% dbsnapshot -v demo
  13 affiliation  /opt/antelope/data/db/demo/demo.affiliation
  12 arrival      /opt/antelope/data/db/demo/demo.arrival
   9 assoc        /opt/antelope/data/db/demo/demo.assoc
  22 instrument   /opt/antelope/data/db/demo/demo.instrument
   1 lastid       /opt/antelope/data/db/demo/demo.lastid
   5 netmag       /opt/antelope/data/db/demo/demo.netmag
   1 network      /opt/antelope/data/db/demo/demo.network
1351 origin       /opt/antelope/data/db/demo/demo.origin
  39 sensor       /opt/antelope/data/db/demo/demo.sensor
  13 site         /opt/antelope/data/db/demo/demo.site
  39 sitechan     /opt/antelope/data/db/demo/demo.sitechan
   4 stamag       /opt/antelope/data/db/demo/demo.stamag
  18 wfdisc       /opt/antelope/data/db/demo/demo.wfdisc
created snapshot of database demo in dbsnapshot.21943.tar.gz

% dbsnapshot -d /tmp/mydir -w 5 -e 1234 demo2
left snapshot of database demo2 in directory /tmp/mydir

SEE ALSO

rtsnapshot(1)
dbloc_snapshot(1)

BUGS AND CAVEATS

Does not copy external files like response files.

AUTHOR

Daniel Quinlan

Table of Contents
Antelope Release 4.7 Darwin 7.9.0 2005-07-19
Boulder Real Time Technologies, Inc For more information, contact support@brtt.com