PDA

Click to See Complete Forum and Search --> : Stored Procedure for backup.


PaulB
Nov 6th, 2000, 10:11 AM
Hi

Is there a stored procedure for backup and restore in SQL Server 7?

If there is, can someone provide me with the parameters please.

Thanks.

jp_schwartz
Nov 6th, 2000, 10:37 AM
This is what I use for sybase (I suppose itīs the same):

to dump:
dump tran [your database] with truncate_only
go
checkpoint
go
dump database siefore to 'your filename'
go

to load:
load database [your database] from 'your device'
go
online database [your database]
go