2. Using Ingres Commands : unloaddb Command—Create Command Files for Unloading and Reloading a Database : unloaddb Example: Unload a Database from the $HOME Directory
 
Share this page                  
unloaddb Example: Unload a Database from the $HOME Directory
This command unloads the empdata database from the $HOME directory, specifying the current directory as the source and destination directories:
unloaddb empdata -source="" -dest=""
Copy statements in the reload script would have the form:
copy emps () from 'emps.bob'
Copy statements in the unload script would have the form:
copy emps () into 'emps.bob'