question

Alan Featherston Lago avatar image
Alan Featherston Lago asked

After restoring, do i need to take a backup?

Hi,
If I take a backup of a database which is in FULL recovery mode, and then I do a restore with it somewhere else, do I have to take a full backup of this db in order to be able to recover from this point, or this backup can be consider the first full backup in the recovery plan?
Another thing, what happens if the original backup is done with the option COPY_ONLY does it affect the recovery model in any way?

sql-serverbackuprestore
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Steinar avatar image
Steinar answered

Actually you will have to take a full backup otherwise you can not get started with log backups right away.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kev Riley avatar image
Kev Riley answered

You don't have to take another backup, however, if you have moved it to another location, probably changing database names, and file locations, it would be useful to have a backup that can be restored without the added complication of restoring over.

COPY_ONLY is used so that you don't affect the backup and recovery procedure of the original database. It won't have any effect on the restored database. I presume you meant the recovery model of the restored database in your question?


Steinar has a good point - I hadn't read the question that way.....

1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Steve Jones - Editor avatar image Steve Jones - Editor ♦♦ commented ·
Excellent point. If you had an issue right away, it would be easy to forget to "move" things to the right place.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.