Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Matt 166 posts 417 karma points
    Mar 14, 2019 @ 15:00
    Matt
    0

    Hello all,

    Just a quick question in looking for best way to back up my Umbraco website.

    Currently the SQL database gets backed up but looking for a backup method for the code?

    I'm looking for best way to back up the entire website to keep everything synced? as I assume if code isn't the same back up as the database then things wouldn't quite work the same?

    Thanks

  • Kevin Jump 1384 posts 8699 karma points MVP 2x c-trib
    Mar 14, 2019 @ 15:07
    Kevin Jump
    100

    Hi Matt,

    you should consider uSync (disclaimer: was built by me)

    https://our.umbraco.com/packages/developer-tools/usync/

    Which will take the elements your Umbraco config that is in the DB and writes them to disk (and the other way around).

    this lets you extract the config from the Umbraco DB and use source control to backup all of your code and settings

  • Matt 166 posts 417 karma points
    Mar 14, 2019 @ 15:12
    Matt
    0

    Hello Kevin,

    Yea I did look at USync and looked promising for what I was trying to achieve.

    The issue I had with that it didn't work with the .Net I was using for my website, you did say it would be looked at in an update but I guess you not had time yet :)

    https://our.umbraco.com/packages/developer-tools/usync/usync/94480-usync-chauffeur-error-on-install

    Although we are looking at upgrading and using higher .Net in future, does uSync work for Umbraco 8 aswell?

    Thanks Kevin :)

  • Kevin Jump 1384 posts 8699 karma points MVP 2x c-trib
    Mar 14, 2019 @ 15:20
    Kevin Jump
    1

    yeah the Chauffeur uSync package hasn't been re-targeted (sorry)

    but you can just turn on export only in the config, and it will write all the changes out to disk which will get you your backup ;)

    There is a beta of uSync for v8 (https://github.com/KevinJump/uSync8) - still in progress but it does the basics.

Please Sign in or register to post replies

Write your reply to:

Draft