April 22, 2014 at 4:45 am
Hi,
I am looking at the file / filegroup level backup and recovery options within SQL Server and I'm struggling with the following concept.
Books online assures me that it is possible to perform a file restore whilst the database is in the simple recovery model.
So I have set up a database with two separate file groups, a read/write primary and a read only "secondary". Each filegroup has 2 underlying data files.
I have then created a "live" customers tables within the primary filegroup and assigned my existing "archive" customers tables within the secondary filegroup.
If I try to perform a file or filegroup level backup within management studio, those options are greyed out. I can only perform a database backup.
If I switch back to the full recovery model, the options are no longer greyed out.
So my question is this, is file level backup and recovery actually supported in the simple user model, do you have to perform this task outside of management studio, or (as is likely) am I missing something crucial?
Any help that this community can provide would be gratefully received. Please let me know if you need any further info.
April 22, 2014 at 5:32 am
You can take file and filegroup backups in simple recovery, however unless the file/filegroup is read only, you won't be able to restore them and bring the entire DB online.
Get used to doing backups from T-SQL, far more control than you get via the GUI.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 22, 2014 at 5:55 am
Hi Gail,
thanks very much for the reply, is it safe to assume that it's just a quirk of the GUI that you are only allowed to perform file / filegroup backups in the full recovery model despite the fact that they are supported (for read/write file groups at least) in the simple recovery model as well?
I'll continue my investigation using script rather than the GUI.
Kind Regards,
DBANewbie.
April 22, 2014 at 6:53 am
Probably is.
Read-only filegroups in simple recovery, not read-write.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply