problems restoring logs & bak

  • hi , i'm trying to restore logs & bak with tsql, but when for example when i type

    RESTORE LOG action_packs FROM DISK='c:\promo_cp\temp\ac_pks_200604181635.trn' WITH NORECOVERY

    it said that it cant modified the state of database while other users use it, how could i fix this, any help plz?

    Thanks

  • You can only restore a database when there is noone in it, it must be empty from *all* users, including your own connection that does the restore.

    Make sure that no user is using your db, and then the restore should work fine.

    /Kenneth

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply