<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.civetsolutions.com/index.php?action=history&amp;feed=atom&amp;title=Manual%2FBacking_up_Convention_Master</id>
	<title>Manual/Backing up Convention Master - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.civetsolutions.com/index.php?action=history&amp;feed=atom&amp;title=Manual%2FBacking_up_Convention_Master"/>
	<link rel="alternate" type="text/html" href="https://docs.civetsolutions.com/index.php?title=Manual/Backing_up_Convention_Master&amp;action=history"/>
	<updated>2026-05-27T04:49:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://docs.civetsolutions.com/index.php?title=Manual/Backing_up_Convention_Master&amp;diff=35&amp;oldid=prev</id>
		<title>Alofoxx: Created page with &quot;== How to back up existing files and the database ==   While the upgrade scripts are well-maintained and robust, things could still go awry. Before proceeding to update Conven...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.civetsolutions.com/index.php?title=Manual/Backing_up_Convention_Master&amp;diff=35&amp;oldid=prev"/>
		<updated>2018-12-02T19:43:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== How to back up existing files and the database ==   While the upgrade scripts are well-maintained and robust, things could still go awry. Before proceeding to update Conven...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== How to back up existing files and the database == &lt;br /&gt;
&lt;br /&gt;
While the upgrade scripts are well-maintained and robust, things could still go awry. Before proceeding to update Convention Master and the database schema, &amp;#039;&amp;#039;&amp;#039;make a full backup&amp;#039;&amp;#039;&amp;#039; of Convention Master, including both the database and the files:&lt;br /&gt;
&lt;br /&gt;
===Convention Master&amp;#039;s database===&lt;br /&gt;
* MySQL, do a SQL dump with the &amp;lt;code&amp;gt;mysqldump&amp;lt;/code&amp;gt; command:&lt;br /&gt;
 mysqldump --user=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;db_user&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; --password=&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;db_userpassword&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;convention_master_db&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; &amp;gt; &amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;file.sql&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
:( replacing the &amp;quot;db_user&amp;quot; with your valid database username, &amp;quot;db_userpassword&amp;quot; with the database user&amp;#039;s password, &amp;quot;convention_master_db&amp;quot; with your Convention Master database name, and &amp;quot;file.sql&amp;quot; with the desired output filename. The output file name can have a full file path included if you want it to go to another folder.)&lt;br /&gt;
* Make sure you move that backup file to a safe location where it won&amp;#039;t be deleted or accessable by web.&lt;br /&gt;
* You do not need to use any extra flags with &amp;lt;code&amp;gt;mysqldump&amp;lt;/code&amp;gt;. The stored procedures and triggers are always automatically rebuilt when you login to the Convention Master console if they are missing or the database user has changed.&lt;br /&gt;
 &lt;br /&gt;
===Convention Master&amp;#039;s files===&lt;br /&gt;
* tar, compress all files into a backup file with the &amp;lt;code&amp;gt;tar&amp;lt;/code&amp;gt; command:&lt;br /&gt;
 tar -cvpzf backup.tar.gz --exclude=/backup.tar.gz /path/to/your/installation/ &lt;br /&gt;
* Make sure you move that backup file to a safe location where it won&amp;#039;t be deleted or accessable by web.&lt;br /&gt;
* Generally any user edited files will be new files that are not tracked by svn, and thus would not be overwritten by an upgrade. The most common changes are:&lt;br /&gt;
:* configuration of database settings: &amp;lt;code&amp;gt;.../shared_php/db_connect.inc.php&amp;lt;/code&amp;gt;&lt;br /&gt;
:* configuration of kiosks via steps files: &amp;lt;code&amp;gt;.../kiosk/{kiosk_name}/steps.inc.php&amp;lt;/code&amp;gt;&lt;br /&gt;
:* addition of custom theme folders in &amp;lt;code&amp;gt;.../themes/&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>Alofoxx</name></author>
	</entry>
</feed>