+1-888-365-2779
Try Now
More in this section

Forums / Thunder / Template Backups

Template Backups

7 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    27 Dec 2012
    Link to this post
    Can you put in a function on thunder to pull down the widget templates to zip file for backups?  Since we don't\won't have versioning for the foreseeable future?

    I'd like to just periodically backup all the templates to TFS.

    Steve
  2. Ivan Georgiev | Sitefin1ty
    Ivan Georgiev | Sitefin1ty avatar
    33 posts
    Registered:
    24 Sep 2012
    30 Jan 2013
    Link to this post
    Hello,

     this is actually a Sitefinity problem. We can't put this in Thunder but we will send you some code that gets the job done. We will prepare the code and write back. Thanks for the feedback.

    All the best,
    Ivan Georgiev | Sitefin1ty
    the Telerik team
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    30 Jan 2013 in reply to Ivan Georgiev | Sitefin1ty
    Link to this post
    Nice!

    Hey...is there (could there be) an EventHub event for before template save too?
  4. Nadezhda Petrova
    Nadezhda Petrova avatar
    20 posts
    Registered:
    28 Oct 2016
    04 Feb 2013
    Link to this post
    Hello Steve,

    In the attached file you can find a sample page that creates a backup of the widget templates. To create a backup you have to change the user authentication to forms. On button click the widget templates will be saved in SitefinityWebApp\App_Data\Sitefinity\WidgetTemplatesBackup\WidgetTemplates-[date] folder. If you select the checkbox on the page, a zip file will be created (not a folder).

    I hope you will find this useful.

    There is no EventHub event for before template save. I have logged this into PITS, you can track it here:
    http://www.telerik.com/support/pits.aspx#/public/sitefinity/14181

    All the best,
    Nadezhda Petrova
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Nadezhda Petrova
    Nadezhda Petrova avatar
    20 posts
    Registered:
    28 Oct 2016
    05 Feb 2013
    Link to this post
    Just a quick follow up - I forgot to tell you that you also have to be logged in to make page works. Or to handle if an user is not authenticated.

    Kind regards,
    Nadezhda Petrova
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    05 Feb 2013
    Link to this post
    Thanks for this, what part relies on forms? ...because that's really not an option on live, to swap it over, run this, then swap it back...is it the authentication?
  7. Nadezhda Petrova
    Nadezhda Petrova avatar
    20 posts
    Registered:
    28 Oct 2016
    06 Feb 2013
    Link to this post
    Hi Steve,

    I sent you the code to work only for forms because it is more simple. Now I changed it to work for forms and claims authentication.

    Please let me know if I can be of further assistance.

    All the best,
    Nadezhda Petrova
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
7 posts, 0 answered