sql server - How to rollback database only with MDF and LDF files but without backup file? -


is possible rollback mdf , ldf files without backup file?

i worked days it's gone. it's important me.

yes, possible, if:

  • your database in full or bulk-logged recovery mode, and
  • you had taken @ least 1 full backup prior point of failure, and
  • there complete chain of transaction log backups since last full backup, or
  • there no transaction log backups since then.

what need is:

  1. take transaction log backup of database;
  2. restore last full backup new database no_recovery option;
  3. restore necessary transaction log backups, if any, again no_recovery;
  4. restore recent transaction log backup made in #1 recovery , stopat options. in latter, can specify exact time on want database restored.

for full syntax, see restore.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -