December 6, 2017 at 2:17 pm
Good Morning Experts
Can we restore copy-only full backup and regular tlog backup?
December 6, 2017 at 2:19 pm
coolchaitu - Wednesday, December 6, 2017 2:17 PMGood Morning Experts
Can we restore copy-only full backup and regular tlog backup?
I am going to go out on a limb here and say no. You want to check Books Online to be sure.
December 6, 2017 at 2:52 pm
You should be able to. The copy only backup merely prevents resets for the diff map. A normal restore chain should apply.
December 6, 2017 at 2:55 pm
All you can do is try it and let us know.
December 6, 2017 at 2:57 pm
This doesn't really answer the question: https://docs.microsoft.com/en-us/sql/relational-databases/backup-restore/copy-only-backups-sql-server
December 6, 2017 at 3:12 pm
Just tested on SQL 2016. Copyonly backup full + log from main db works fine.
December 6, 2017 at 3:29 pm
Steve Jones - SSC Editor - Wednesday, December 6, 2017 3:12 PMJust tested on SQL 2016. Copyonly backup full + log from main db works fine.
And that is what we needed. Thanks, Steve. I can't play with the databases I have access to at work.
December 10, 2017 at 6:09 am
question is a bit tricky as we wont be able to perform a tran log backup to begin with if copy_only full backup is being used as a base( and obviously it shouldn't and can't)
BACKUP LOG cannot be performed because there is no current database backup.
December 12, 2017 at 2:01 am
That's true, but you always need a first full backup. There's no trickiness here. If your primary database hasn't had a full backup without copy only, you are asking for data loss in the event of some issue.
Your primary should have a backup chain of full and log backups that are used for DR purposes. You take a copy only backup to avoid disturbing your DR chain. The copy only would be used for dev refresh, testing, etc., and can also use the regular log backups with this full.
December 13, 2017 at 2:04 am
If the database is part of an availability group and backups are performed on the secondary replica then you have no choice but to use copy only.
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply