<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pixelrefraction.com/index.php?action=history&amp;feed=atom&amp;title=RefractSurvey_Backups</id>
	<title>RefractSurvey Backups - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pixelrefraction.com/index.php?action=history&amp;feed=atom&amp;title=RefractSurvey_Backups"/>
	<link rel="alternate" type="text/html" href="https://wiki.pixelrefraction.com/index.php?title=RefractSurvey_Backups&amp;action=history"/>
	<updated>2026-09-16T17:34:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.pixelrefraction.com/index.php?title=RefractSurvey_Backups&amp;diff=182&amp;oldid=prev</id>
		<title>Nerdofepic: Created page with &quot;&#039;&#039;&#039;Backups&#039;&#039;&#039; are how you get survey data out of RefractSurvey (or bring it into a different project or install) as a single downloadable file.  == Exporting ==  From &#039;&#039;&#039;Manage &amp;gt; Backups&#039;&#039;&#039;, choose which surveys in the current project to export, and whether to include their responses. RefractSurvey packages everything &amp;mdash; the chosen surveys&#039; structure, their images, optionally their responses, and your entire shared template library &amp;md...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.pixelrefraction.com/index.php?title=RefractSurvey_Backups&amp;diff=182&amp;oldid=prev"/>
		<updated>2026-09-13T13:53:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Backups&amp;#039;&amp;#039;&amp;#039; are how you get survey data out of RefractSurvey (or bring it into a different project or install) as a single downloadable file.  == Exporting ==  From &amp;#039;&amp;#039;&amp;#039;Manage &amp;gt; Backups&amp;#039;&amp;#039;&amp;#039;, choose which surveys in the current project to export, and whether to include their responses. RefractSurvey packages everything — the chosen surveys&amp;#039; structure, their images, optionally their responses, and your entire shared &lt;a href=&quot;/index.php/RefractSurvey_Templates&quot; title=&quot;RefractSurvey Templates&quot;&gt;template&lt;/a&gt; library &amp;amp;md...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Backups&amp;#039;&amp;#039;&amp;#039; are how you get survey data out of RefractSurvey (or bring it into a different project or install) as a single downloadable file.&lt;br /&gt;
&lt;br /&gt;
== Exporting ==&lt;br /&gt;
&lt;br /&gt;
From &amp;#039;&amp;#039;&amp;#039;Manage &amp;amp;gt; Backups&amp;#039;&amp;#039;&amp;#039;, choose which surveys in the current project to export, and whether to include their responses. RefractSurvey packages everything &amp;amp;mdash; the chosen surveys&amp;#039; structure, their images, optionally their responses, and your entire shared [[RefractSurvey_Templates|template]] library &amp;amp;mdash; into a single zip file you can download and store wherever you like.&lt;br /&gt;
&lt;br /&gt;
Access codes are never included in an export. They&amp;#039;re specific to one deployment, so every install generates its own rather than inheriting anyone else&amp;#039;s.&lt;br /&gt;
&lt;br /&gt;
== Importing ==&lt;br /&gt;
&lt;br /&gt;
From a project&amp;#039;s Import page, upload a previously exported backup zip. If an imported template&amp;#039;s name collides with one that already exists, RefractSurvey automatically renames it (adding &amp;quot; (2),&amp;quot; &amp;quot; (3),&amp;quot; and so on) rather than overwriting anything or failing outright.&lt;br /&gt;
&lt;br /&gt;
Importing through the browser is capped at a 25&amp;amp;nbsp;MB upload, which covers the overwhelming majority of backups. For anything larger, see the command-line option below.&lt;br /&gt;
&lt;br /&gt;
== Importing very large backups from the command line ==&lt;br /&gt;
&lt;br /&gt;
If a backup is too large to comfortably push through a browser upload, the same import logic is available as a command-line script:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
php scripts/import_backup.php &amp;amp;lt;project_id&amp;amp;gt; &amp;amp;lt;zip_path&amp;amp;gt; [--with-responses] [--user &amp;amp;lt;username&amp;amp;gt;]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Add &amp;lt;code&amp;gt;-l&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;--list-projects&amp;lt;/code&amp;gt; to see a project&amp;#039;s ID if you don&amp;#039;t already know it, or &amp;lt;code&amp;gt;-h&amp;lt;/code&amp;gt;/&amp;lt;code&amp;gt;--help&amp;lt;/code&amp;gt; for the full usage. This is the same underlying import used by the web form, just without the upload-size ceiling &amp;amp;mdash; it&amp;#039;s meant to be run directly on the server, from inside the application folder.&lt;br /&gt;
&lt;br /&gt;
== Why this matters beyond backups ==&lt;br /&gt;
&lt;br /&gt;
Because export/import round-trips a survey&amp;#039;s full structure, it&amp;#039;s also a convenient way to copy a survey (or an entire set of surveys and templates) from one project to another, or from a staging install to a production one, without rebuilding anything by hand.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[RefractSurvey_Templates|Templates]]&lt;br /&gt;
* [[RefractSurvey_Responses|Responses]]&lt;br /&gt;
* [[RefractSurvey_Security_Notes|Security Notes]]&lt;br /&gt;
&lt;br /&gt;
[[Category:RefractSurvey]]&lt;/div&gt;</summary>
		<author><name>Nerdofepic</name></author>
	</entry>
</feed>