Base de connaissances

Command Line all-in-one DB unload and reload

Hint Ref: 021504080009
Hint Date: 08/04/2015

Hint Details:

For those who would like to be able to do an all in one database unload and reload from the command line, here it is:

 

dbunload -v -c "UID=***;PWD=***;DBF=C:\SourceDB\spaceman.db" -an "C:\TargetDB\spaceman.db"

Remember to change the source and target DBs appropriately and also to replace the two '***' with a valid Database (not Space Manager) Username and Password.


(Please Note: This Procedure can be destructive and should only be used by Advanced Users.  RADical Systems (UK) Limited or its Partners cannot be held responsible, in anyway, for any consequence of using this or any other Database Function, Procedure, XML Script or SQL command.  Responsibility resides solely with the user.  

IT IS HIGHLY RECOMMENDED THAT A FULL AND VALID SPACE MANAGER DATABASE BACKUP IS TAKEN AND VERIFIED AS VALID BEFORE MAKING ANY CHANGES TO THE DATABASE.)