 To Perform an Offline Backup of the Database
To Perform an Offline Backup of the DatabaseIf the database is running in embedded mode, you must perform an offline backup.
Change to the Service Registry install directory:
cd ServiceRegistry-base/install
Execute the following command (all on one line):
Ant-base/ant -f build-install.xml Dinstall.properties=props-file appserver.domain.stop
where props-file is the path name of the copy of install.properties file that you edited in To Configure Service Registry as Root Using Custom Properties After a Configure Later Installation or To Configure Service Registry as a Non-Root User Using Custom Properties After a Configure Later Installation.
Execute the following command (all on one line):
Ant-base/ant -f build-install.xml Dinstall.properties=props-file backup.db
Restart the domain by executing the following command (all on one line):
Ant-base/ant -f build-install.xml Dinstall.properties=props-file appserver.domain.start