Hi there!
I made a backup of my database (MandoTECA) using the following code:
CREATE PROCEDURE [dbo].[CreateBackup]
@uri nvarchar(MAX)
AS
BACKUP DATABASE MandoTECA
--TO DISK = 'C:\Users\Pedro\Desktop\MandoTECA.Bak'
TO DISK = @uri
WITH FORMAT,
MEDIANAME = 'Z_SQLServerBackups',
NAME = 'Backup Completo da MandoTECA';
And used it a restore procedure to do the restore:
CREATE PROCEDURE [dbo].[RestoreBackup]
@uri nvarchar(MAX)
AS
RESTORE DATABASE MandoTECA
FROM DISK = @uri
The problem is that it gives me the following error:
[img]http://img197.imageshack.us/img197/518/errormmp.jpg[/img]
Can you help me?