HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

What is not persisted in a database backup / restore? (SQL Server 2005)

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
whatpersistedsqldatabase2005servernotrestorebackup

Problem

If I take a backup of a database on a SQL 2005 Server, and then restore that backup to a different (new) database on the same database server instance, what things will not be persisted (things like cached execution plans, statistics etc...)

Solution

Plans will be recreated at first run.

Otherwise, everything database level will be there except where it interacts at the instance level, such as:

  • replication



  • backup jobs/schedules



  • maintenance plans/schedules



  • login mappings to users



For a standard, everyday database, you've no worries.

Context

StackExchange Database Administrators Q#11184, answer score: 6

Revisions (0)

No revisions yet.