Announcement

Collapse
No announcement yet.

restore template from backup files on computer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • restore template from backup files on computer

    I have a complete backup saved on my computer and I would like to restore or even copy/paste the postbit_legacy template. Where can I find this in the files?
    - Luke
    www.GarageJunkies.net

  • #2
    You would need to restore that backup to a new db, then rung this query:

    SELECT * FROM `template` WHERE title='postbit_legacy';

    Then copy-n-paste the contents of the template field to your live db (using the same query.)
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #3
      I have all of the files for the forum saved to my computer in addition to the backup file. I can't just pull the template out of one of the files? Is the backup file the only place it is stored?
      - Luke
      www.GarageJunkies.net

      Comment


      • #4
        The templates are in the database, not the files. The instructions I provided are the correct way to get this one template again.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...
        X