Administrative functions > Transferring databases between computers > Unknown file structures > Packing the database
 
Packing the database
Quick reference
To pack a database, type:
qvpack [–m computer_name] [–u] packed_file
Parameters
–m computer_name
Name of the computer on which the database originated (see also below).
–u
Prevents qvpack from compressing the database once it has been packed.
packed_file
The name of the packed database.
More information
The computer name is the name of the computer or operating system on which you are working. If you have defined an alias for this system you should type the alias name, otherwise type the computer or operating system name. For example, if you are working on an xyz computer whose file structures are identical to those of a SCO UNIX, you could define an alias:
xyz = scou
in machine.def, and type this packing command:
qvpack -m xyz dbpack.out
or:
qvpack -m scou dbpack.out
and qvpack will assume that the xyz file formats are identical to the SCO UNIX file formats it already knows, and will pack the database accordingly. You will be reminded of this with the message ‘Warning: assuming scou to be identical to xyz’.
If the packed file is large, run qsj as described for the appropriate computer type above, then copy the file(s) to the destination computer. On the destination computer, run qsj if appropriate and then qvtrans as described above.
See also
Unknown file structures