SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Restoring Policies From Backup


Restoring Policies From Backup

Author
Message
shindle 17293
shindle 17293
SSC-Addicted
SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)

Group: General Forum Members
Points: 454 Visits: 765
Hi

Is there a way of restoring Policies from a sql database backup as opposed to importing them from xml backups?
Sue_H
Sue_H
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27961 Visits: 8089
shindle 17293 - Sunday, November 12, 2017 11:51 PM
Hi

Is there a way of restoring Policies from a sql database backup as opposed to importing them from xml backups?


To have the initial policies, you import the xml files or you manually create the policies.
After the policies are created, if you wanted to restore the policies from a database backup, you would need to restore msdb as that's where they are stored.

Sue



shindle 17293
shindle 17293
SSC-Addicted
SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)SSC-Addicted (454 reputation)

Group: General Forum Members
Points: 454 Visits: 765
Yes I resotred the msdb database and msdb_OLD but the Policies did not appear under Management/Policies? How do I export them from the msdb database?
Sue_H
Sue_H
One Orange Chip
One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)One Orange Chip (27K reputation)

Group: General Forum Members
Points: 27961 Visits: 8089
shindle 17293 - Monday, November 13, 2017 11:36 PM
Yes I resotred the msdb database and msdb_OLD but the Policies did not appear under Management/Policies? How do I export them from the msdb database?


You need both msdb and the policies. The msdb database has all of the settings, meta data for the policies you settings, etc.
Importing them should be fairly straitforward and just take a few seconds and then you would have your changes in msdb.

Sue



Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search