views:

358

answers:

1

I want to create a one off backup of a database that I can then restore on my local machine. I do not want to have any impact on the current media set. I see an option "Back up to new media set, and erase all existing backup sets". What I really want is "Bak up to new media set".

+5  A: 

See this article. It explains how to make a backup without breaking the existing backup chain.

http://www.sqlskills.com/blogs/paul/post/BACKUP-WITH-COPY_ONLY-how-to-avoid-breaking-the-backup-chain.aspx

NYSystemsAnalyst
Thanks NY. So The below would do it (sorry - very new to this and don't want to cause any problems..)BACKUP DATABASE MyDataBase TO DISK='C:\Dev\BackUpTest\BackUpTest.bak'WITH FORMAT, MEDIANAME = 'Tester', MEDIADESCRIPTION = 'My testing of backups', COPY_ONLYGO
MT
Looks OK. I would advise testing this first before running it against a production DB.
NYSystemsAnalyst
Naturally... seems to be working. Thanks again.
MT