Posted By

roberocity on 06/10/09


Tagged

sql backup restore


Versions (?)

TSQL Backup / Restore


 / Published in: SQL
 

  1. BACKUP DATABASE @dbname
  2. TO DISK = @filelocation
  3. GO
  4.  
  5. RESTORE DATABASE @dbname
  6. FROM DISK = @filelocation
  7. GO

Report this snippet  

You need to login to post a comment.