5

I am planning to take content manager Tridion_CM database backup.

I am using SDL Tridion 2011 SP1 and my database is MS SQL.

Can some one point me the links to do it.

1 Answer 1

10

Best scenario is always to take an "offline" backup, which means:

  1. shutdown all SDL Tridion services (also on other servers in case of an outscaled scenario)
  2. shutdown IIS (or at least the CMS website)
  3. backup the database following MS SQL Server documentation, use a full database backup

In case you are doing the backup as part of your standard maintenance and recovery plan, then you are probably looking towards an "online" backup. For that just ignore steps 1 and 2 and skip directly to step 3.

The restore of a full "offline" database backup would be done as follows:

  1. shutdown all SDL Tridion services (also on other servers in case of an outscaled scenario)
  2. shutdown IIS (or at least the CMS website)
  3. follow MS SQL Server documentation to restore the entire database (complete overwrite)

    (if the backup came from another server you will have to drop the existing database user and set the correct right for the restored one, since even if the names are similar, their unique ID won't be. This is all described in MS SQL Server documentation somewhere).

    In case of an "online" backup, you have to add the following step:

  4. set all the value of IS_ONLINE to 0 for all records in the QUEUE_CONSUMERS table to match the state of the stopped services (which were running while you created the "online" backup)

2
  • Can you tell which backup do we prefer while doing content porting.
    – Patan
    Sep 26, 2013 at 10:36
  • A offline backup is always preferred, because it takes a clean snapshot. The online backup is usually the one which is used as an ongoing task, since you don't want to bring down your CMS server every night for your nightly backup. It's fine using either two, just know that the online backup requires an additional step after restoring. Sep 26, 2013 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.