Perform these tasks before using sybrestore.
- To restore a user database, you must be a user with
sa_role privilege. To work on an offline database that
has offline or inactivated devices, you must be a user with mon_role and sa_role.
- To restore a master database, you must provide a restoremaster.cfg
configuration file, resource files for building the SAP ASE server and the Backup Server,
and dump history files.
- Make sure these environment variables are set correctly:
- Adaptive Server and Backup Server must be running for both the target and
source servers.
- The master database must be
available.
- The source database must be connected to the server in a recovered or
unrecovered state.
- The log segment of the source database must be available for dumping and
then loading back the last transaction logs that have not been dumped.
- Dump history files or external dump files must be available.
sybrestore is installed as part of the SAP ASE
software. For more information, see the installation guide for your platform. The executable
file is located in:
$SYBASE/ASE-15_0/bin/