Support Center
Import/Export
You can export your existing website in zip format and import your zip backup to replace or update content on your Saber website. Typically, developers will use this feature to make changes to their website offline from a development environment, then export the latest changes to a zip file and import those changes to their live website.
Export to Zip
There are some options you can choose from when exporting your Saber website to zip format. After selecting File > Export from the top menu, you'll be able to select the following filters.
Include web pages | This will include all html, less, js, & css files for all pages & partials located in the Content, wwwroot/content, wwwroot/css, & wwwroot/js folders. |
Include images | This will include all image files uploaded to the Content & wwwroot folders. |
Include other files | This will include all user-defined files uploaded to the Content & wwwroot folders. |
Last modified | This will exclude all included files that are older than the specified date. This is very helpful if you decide to only export the changes you've made recently. |
The above filters will ignore all files that exist within the Content/temp & wwwroot/editor folders.
Import from Zip
When importing files to your Saber website, there is a folder structure that your zip file must adhere to. After selecting File > Import from the top menu, you can choose to backup your existing website to a zip file that will be located within Saber's file browser under backup/latest.zip, and you can choose to delete all existing website files before importing files from your uploaded zip file.
Be careful when deciding to delete all existing files while importing as this cannot be undone.
Below is a table describing the folder structure your zip file must adhere to:
/wwwroot | You can include any files and folder structure you want within the wwwroot folder. This is a public-facing folder that will be accessible by anyone on the internet. |
/Content | You can include any files and folder structure you want within the Content folder. This is a protected folder that is only accessible by Saber. |