Skip to content

Instantly share code, notes, and snippets.

@nagaozen
Created June 4, 2009 20:03
Show Gist options
  • Save nagaozen/123812 to your computer and use it in GitHub Desktop.
Save nagaozen/123812 to your computer and use it in GitHub Desktop.
BACKUP DATABASE {$database}
TO DISK = '{$path}'
WITH FORMAT,
NAME = '{$description}'
GO
RESTORE DATABASE {$database}
FROM DISK = '{$path}'
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment