2. Using Ingres Commands : unloaddb Command--Create Command Files for Unloading and Reloading a Database : unloaddb Example: Unload and Reload a Database
 
Share this page                  
unloaddb Example: Unload and Reload a Database
The following commands unload and reload the empdata database:
Windows:
cd\mydir\backup
unloaddb empdata
unload
destroydb empdata
createdb empdata
reload
sysmod empdata
UNIX:
cd /mydir/backup
unloaddb empdata
unload.ing
destroydb empdata
createdb empdata
reload.ing
sysmod empdata
VMS:
set default [mydir.backup]
unloaddb empdata
@unload.ing
destroydb empdata
createdb empdata
@reload.ing
sysmod empdata