<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Backups and development server in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/497983#M25192</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi, I am about to develop some sites in HubSpot CMS and I got two questions, maybe you can help me sort it out. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;It seems like the is no local dev server available for it, meaning that I will be coding on my local PC, but use your CLI client to upload the files to you, and they will only get rendered there. It is super fine at the beginning, when there are no visitors on the site, but what about the future? When I will need to make some changes to the modules I have there - will I have to code it on the live site, meaning that everyone will see the possible errors I make while coding?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I am unable to write any back-end code or access the database storing the content of the site directly. Does that mean that I practically can't write any custom back-end or export my database (take a backup of the site)?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 21 Sep 2021 07:26:02 GMT</pubDate>
    <dc:creator>MHlavacka</dc:creator>
    <dc:date>2021-09-21T07:26:02Z</dc:date>
    <item>
      <title>Backups and development server</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/497983#M25192</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, I am about to develop some sites in HubSpot CMS and I got two questions, maybe you can help me sort it out. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;It seems like the is no local dev server available for it, meaning that I will be coding on my local PC, but use your CLI client to upload the files to you, and they will only get rendered there. It is super fine at the beginning, when there are no visitors on the site, but what about the future? When I will need to make some changes to the modules I have there - will I have to code it on the live site, meaning that everyone will see the possible errors I make while coding?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;I am unable to write any back-end code or access the database storing the content of the site directly. Does that mean that I practically can't write any custom back-end or export my database (take a backup of the site)?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 21 Sep 2021 07:26:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/497983#M25192</guid>
      <dc:creator>MHlavacka</dc:creator>
      <dc:date>2021-09-21T07:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Backups and development server</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498047#M25196</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/192454"&gt;@MHlavacka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We use the CLI to sync our local project to HubSpot. For every project, we have a dev portal and a production portal. You can create a test portal by creating a '&lt;A href="https://developers.hubspot.com/docs/cms/guides/getting-started" target="_blank" rel="noopener"&gt;Developer Account&lt;/A&gt;', which is a 90 day (which can be renewed) portal with all enterprise functionality, or you can create a &lt;A href="https://offers.hubspot.com/free-cms-developer-sandbox" target="_blank" rel="noopener"&gt;CMS Developer Sandbox Portal&lt;/A&gt;&amp;nbsp;which has no expiring date, and has all CMS functionality.&lt;BR /&gt;Cause we use drag and drop templates for all our websites, we code all the templates locally (so each template has all the modules it needs with default content) and sync those to the portals. That way, the templates stay in sync. The &lt;A href="https://github.com/HubSpot/cms-theme-boilerplate/tree/main/src" target="_blank" rel="noopener"&gt;HubSpot CMS boilerplate&lt;/A&gt; has some great examples. Cause we use the templates to display our modules with dummy content, we can test everything in our sandbox portal before syncing to the production portal. You could even create a setup where you use a git branch to sync to a certain portal by using something like &lt;A href="https://circleci.com/" target="_blank" rel="noopener"&gt;CircleCI&lt;/A&gt;.&lt;BR /&gt;If you watch the &lt;A href="https://academy.hubspot.com/courses/cms-for-developers" target="_blank" rel="noopener"&gt;CMS for Developer certification course&lt;/A&gt;, you should be able to come up with a plan how you can fit this in your current development proces.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 09:51:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498047#M25196</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2021-09-21T09:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: Backups and development server</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498079#M25197</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;our setup is practically identical to yours. I will have a look at the suggested solution. May I ask about the other part of my question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Where do you write the backend code if you need any? What pragramming language do you actually write it? I can create an external API for it in (for example) Laravel/Lumen, that it will communicate with, but is the the right way to do it? I know that HubSpot has some built in API feature, but I assume you can only use NodeJS there?&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;How about backups of the existing content? Is there any was how you can backup and restore it?&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 21 Sep 2021 10:26:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498079#M25197</guid>
      <dc:creator>MHlavacka</dc:creator>
      <dc:date>2021-09-21T10:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Backups and development server</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498102#M25198</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/192454"&gt;@MHlavacka&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Depending on the Hub our client has, we will use &lt;A href="https://developers.hubspot.com/docs/cms/data/serverless-functions" target="_blank" rel="noopener"&gt;Serverless functions&lt;/A&gt;. But must of the times, our clients do not have the required Hub, so we use an external application instead. You can write that in PHP and host it on a server, but we use NodeJS with Express and host it on Heroku to communicate with HubSpot. You could also create an integration, but that code is not hosted in HubSpot, just uses oAuth to communicate with HubSpot. So you would need to host that code externally as well.&lt;/P&gt;
&lt;P&gt;2. Backups are currently not available. It is a much &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Database-Backups/idi-p/24956" target="_blank" rel="noopener"&gt;requested feature&lt;/A&gt;, but is not available yet. Right now, the only way you can create a backup of certain content types, is by using the export functionality.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 10:58:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498102#M25198</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2021-09-21T10:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Backups and development server</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498107#M25199</link>
      <description>&lt;P&gt;Thanks for your time and help &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2021 11:00:56 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/498107#M25199</guid>
      <dc:creator>MHlavacka</dc:creator>
      <dc:date>2021-09-21T11:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Backups and development server</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/1201522#M44125</link>
      <description>&lt;P data-start="0" data-end="71"&gt;Hi&amp;nbsp; &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/192454"&gt;@MHlavacka&lt;/a&gt;&amp;nbsp;&amp;nbsp;totally get the concern no one wants to “debug on prod.”&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;You don’t have to. Set up a CMS Sandbox and do all theme/module work there, then promote to production when it’s stable.&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;That keeps real visitors safe while you iterate locally with the CLI and preview everything in the sandbox first (&lt;A href="https://knowledge.hubspot.com/account-management/set-up-a-hubspot-standard-sandbox-account" target="_blank"&gt;https://knowledge.hubspot.com/account-management/set-up-a-hubspot-standard-sandbox-account&lt;/A&gt; )&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;For back-end logic, if your hub tier allows it, use CMS serverless functions; otherwise host a small Node or PHP app externally and call it from HubSpot via API. Heroku still works but is expensive and dated in 2025; Vercel/Render/Fly are simpler for small services, or keep it inside HubSpot with serverless if possible.&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="73" data-end="733"&gt;Which CMS Hub tier are you on?&lt;/P&gt;
&lt;P data-start="735" data-end="996"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="735" data-end="996"&gt;Full backups aren’t one-click images of the site, but you can and should schedule exports of key data (contacts, deals, blog, files, etc.) and keep your theme in Git as your “code backup” (&lt;A href="https://knowledge.hubspot.com/account-management/export-your-content-and-data" target="_blank"&gt;https://knowledge.hubspot.com/account-management/export-your-content-and-data&lt;/A&gt; )&lt;/P&gt;
&lt;P data-start="998" data-end="1130" data-is-last-node="" data-is-only-node=""&gt;If you’re juggling data across tools, Stacksync keeps HubSpot and your source in two-way sync, which prevents these clean-up cycles. Hope this helps.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2025 04:06:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Backups-and-development-server/m-p/1201522#M44125</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-09-17T04:06:25Z</dc:date>
    </item>
  </channel>
</rss>

