1
.TH ovimport 1 "20 Apr 2009" Linux "User Manuals"
3
ovimport \- imports routines and globals into a new OpenVista instance
5
.B ovimport [-h] [-q] [-f] [-r
13
imports routines and globals into a new OpenVista instance. Routines can be in
14
a %RO-format file, or loose .m files in a directory. In the latter case,
15
specify the directory containing the .m files after the -r flag; do not specify
16
the .m files themselves. Globals can be in a %GO-format file or a ZWR-format
17
file. Files with DOS-style line endings are converted to UNIX-style line
18
endings automagically; GT.M does not handle DOS-style line endings natively.
19
Line ending conversion requires enough free space in the target instance's
21
directory to hold a copy of the files to be imported. Support for compressed
22
files is planned in a future version.
25
checks to see if the target instance has any routines or database transactions.
26
If either are found, the instance is assumed to not be new and
28
aborts. To suppress this behavior, use the
32
Routines are compiled after the routines are imported. Journaling is
33
temporarily disabled during the global import to improve performance, unless the
35
flag was given. This is safe to do because the database is guaranteed to be
36
empty before the import, so even if the system crashes and the database is
37
destroyed, the database can be recreated and
39
can be run again. If the
41
flag was given, the database is not guaranteed to be empty. In this case,
42
journaling is not disabled because there may be other data already in the
43
database that is worth protecting.
45
Depending on the size of the files to be imported and the speed of the
48
may take several minutes to complete. By default, dated status messages are
49
printed to stderr. To suppress this behavior, use the
51
flag. All import operations are also logged to syslog.
56
do not ask for confirmation
58
quiet; suppress status messages
60
after restoring the backup, apply journal entries
62
force; kill any processes accessing the database before restore
64
Please report any bugs you encounter at
66
https://bugs.launchpad.net/openvista-gtm-integration
68
Jonathan Tai <jon.tai@medsphere.com>