sybrestore allows you to restore an Adaptive Server database to the time of failure from the most current full database backup dump files.
sybrestore [-v ] [-h ] [-S server_name | host_name:port_number] [-t restore database to point in time] [-D database_name ] [-d dump_directory] [-I interfaces_file ] [-J character_set ] [-P password ] [-U username] [-z language ]
(UNIX) $SYBASE/interfaces
(Windows) %SYBASE%\ini\sql.ini
host_name:port_number specifies the machine name and the port number.
sybrestore -Usa -P -SlinuxData
sybrestore -Usa -P -SlinuxData <<<<<<<<<====Restore Database Menu ====>>>>>>>> s : Select Database t : Target Server r : Recreate Database e : Use External Dump c : Check Geometry d : Dump Directory o : Online Database p : Preview g : Go
sybrestore -Usa -P -SaseServer1 -t
sybrestore -Usa -P -SaseServer1 -Ddba_db
Adaptive Server and Backup Server are running for both the target and source.
The master database is available.
The log segment of the source database is available for dumping and then loading back the most recent transaction logs that have not been dumped.
Either history files or external dump files are available.
To use sybrestore, you must be logged in with the sa_role, or as the database owner.