Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to do a restore

Status
Not open for further replies.

Yardyy

Technical User
Aug 13, 2002
448
GB
Hi, We have a sybase v6 database, and we use a small script to backup each night.

dbbackup -c "dsn=nma" -y -q n:\nm_backup

this generates two files one is called ptadata.edb and one called ptadata.log, i need to restore the data back, as the database is corrupt.

Could someone please show me how to restore a backup, just the syntax would be good.

Regards

Many Thanks
Yurov Ardyy
 
I haven't used SQL Anywhere for some time but if I remember correct you can just stop the database engine, replace the database files with the files from the backup and restart.

I think this forum is more related to Adaptive Server Enterprise than to SQL Anywhere

You might have better luck posting at an SQL Anywhere newsgroup e.g. sybase.public.sqlanywhere.general


 
I tried that already, and it was saying that the log files are not from the same database, but thanks for your reply and suggestion for the link.

Many Thanks
Yurov Ardyy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top