<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
    <channel>
        <title>Web-Site-Scripts.com - Backup and Restore</title>
        <link>https://www.web-site-scripts.com/knowledge-base/category/109</link>
        <description><![CDATA[Root / KnowledgeBase Manager Pro / Update Manual / Backup and Restore]]></description>
        <language>en-us</language>
        <generator>KnowlageBase RSS Generator</generator>

         
                <item>
                        <title>What is the full backup and restore procedure for the knowledge base?</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00653</link>
                                    <description><![CDATA[<p>Please Remember!</p><p>To make a full backup of KMP knowledge base, you need to backup:</p><p></p><ol><li>All KMP files.</li><li>KMP database.</li></ol><div>Read one the following guides which applies to your database storage type to learn how to make full backups and recover from them.</div><p></p><p><a href="ARTICLE_URL#599##AA-00638#" target="">How to backup your knowledge base? (<b>MySQL</b>)</a><br></p><p><a href="ARTICLE_URL#613##AA-00652#" target="">How to backup your knowledge base? (<b>MSSQL</b>)</a><br></p>]]></description>
                                    <pubDate>Fri, 01 Apr 2011 12:29:47 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00653</guid>
                    </item>
                <item>
                        <title>How to backup your knowledge base? (MSSQL)</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00652</link>
                                    <description><![CDATA[<p>You may want to backup your knowledge base from time to time or on a regular basis. Also you simply <b>must </b>backup before updating KMP to a new version, because otherwise you could lose all your data if something goes wrong.</p>
<p>We recommend to make backups on the file and database level rather than backing up from KMP user interface.</p><p>First of all, remember that KMP stores some data (most of it) in its database and some data (attachments and images) as files. This means that, to make a full backup which you could use to recover your knowledge base at any moment, you need to backup all KMP files <b>and </b>KMP database.</p><p></p><div class="info">
<div class="infoHeader">Snapshots</div>
<div class="infoContent">
<p>
If your server support snapshots, that would be a great way to backup your knowledge base. Just make sure that snapshot includes files and database backup.</p></div></div><p></p><h1><a name="backup" ></a>Backup</h1><p></p><h2 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 15px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; font-size: 18px; line-height: normal; color: rgb(63, 113, 173); ">Backing Up The Database</h2><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 17px; margin-left: 0px; font-size: 12px; line-height: 1.4em; ">You can use MSSQL server default backup method.</p><p style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 17px; margin-left: 0px; font-size: 12px; line-height: 1.4em; ">Alternatively, you can backup the database from KMP user interface at Administration &gt; Database Backup.</p><p></p><h2>Backing Up The Files</h2><p>There is nothing sophisticated about backing up KMP files - simply copy ALL KMP files to a secure location.</p><h1><a name="restore" ></a>Restore</h1><h2>Restoring The Database</h2><p>If you backed it up using MSSQL tools, you can restore it using MSSQL tools as well.</p><p>If you backed it up via KMP user interface, follow these steps:</p><p></p><ol><li>Drop all tables from the KMP database (i.e. delete all tables to empty the database).</li><li>Upload the database from backup. This can be done with the help of restore.php script, which is attached to the article.<br>To use this script, upload it to the main KMP directory and open it in your browser<br><img src="http://www.web-site-scripts.com/knowledge-base/admin/media_store/2/AA-00652/mazio.png" style="border-right-width: 0px; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; " title="" alt="" border="0"><br>Then select the latest dump from the list and click "Restore".<br>It may take up to an hour depending on the size of your database.<br>If any error occurs, send us the log file:&nbsp;<i>/admin/tmp/restore.log</i></li></ol><p></p><p></p><h2>Restoring The Files</h2><p style="line-height: 18px; ">There are two&nbsp;required&nbsp;steps:</p><p style="line-height: 18px; "></p><ol style="line-height: 18px; "><li>Delete all files of current KMP instance.</li><li>Copy files through from the back-up.</li></ol><p></p>
]]></description>
                                    <pubDate>Thu, 24 Mar 2011 16:57:56 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00652</guid>
                    </item>
                <item>
                        <title>How to backup your knowledge base? (MySQL)</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00638</link>
                                    <description><![CDATA[<p style="line-height: 18.1875px;">You may want to backup your knowledge base from time to time or on a regular basis. Also you simply&nbsp;<b>must&nbsp;</b>backup before updating KMP to a new version, because otherwise you could lose all your data if something goes wrong.</p><p style="line-height: 18.1875px;">We recommend to make backups on the file and database level rather than backing up from KMP user interface.</p><p style="line-height: 18.1875px;">First of all, remember that KMP stores some data (most of it) in its database and some data (attachments and images) as files. This means that, to make a full backup which you could use to recover your knowledge base at any moment, you need to backup all KMP files&nbsp;<b>and&nbsp;</b>KMP database.</p><p></p><div class="info">
<div class="infoHeader">Snapshots</div>
<div class="infoContent">
<p>
If your server support snapshots, that would be a great way to backup your knowledge base. Just make sure that snapshot includes files and database backup.</p></div></div><p></p><h1><a name="backup" ></a>Backup</h1><h2>Backing Up The Files</h2><p>There is nothing sophisticated about backing up KMP files - simply copy ALL KMP files to a secure location.</p><h2>Backing Up The Database</h2>
<p>The best way (i.e. easiest, fastest, and error-free) to do this is to use MySQL command "mysqldump". These command is available if you have SSH access to the MySQL server (if it is Linux server) or if you have RDP access or direct access (if it is Windows).&nbsp;<a href="ARTICLE_URL#572##AA-00611#" target="">This article explains how to backup and restore database via command line</a>.</p><p>If you do not have access to the command line on the server, you can dump the database using <a href="http://www.phpmyadmin.net/home_page/index.php" target="_blank" rel="nofollow">phpMyAdmin </a>or any other tool that is usually provided by ISP for database management.&nbsp;</p><h1><a name="restore" ></a>Restore</h1><h2>Restoring The Files</h2><p>There are two&nbsp;required&nbsp;steps:</p><p></p><ol><li>Delete all files of current KMP instance.</li><li>Copy files through from the back-up.</li></ol><p></p><h2>Restoring The Database</h2><p>There are two required steps:</p><p></p><ol><li>Drop all tables from the KMP database (i.e. delete all tables to empty the database).</li><li>Upload the database from backup.</li></ol><p></p><p>The best way (i.e. easiest, fastest, and error-free) to upload the database is to use MySQL command "mysql". These command is available if you have SSH access to the MySQL server (if it is Linux) or if you have RDP access or direct access (if it is Windows).&nbsp;<a href="ARTICLE_URL#572##AA-00611#" target="" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: underline; color: rgb(51, 102, 153) !important; cursor: pointer; ">This article explains how to backup and restore database via command line</a>.</p><p>If you do not have access to the command line on the server, you can restore the database using&nbsp;<a href="http://www.phpmyadmin.net/home_page/index.php" target="_blank" rel="nofollow" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: underline; color: rgb(51, 102, 153) !important; cursor: pointer; ">phpMyAdmin&nbsp;</a>or any other tool that is usually provided by ISP for database management.To restore a large database dump you would probably need the&nbsp;<a href="http://www.ozerov.de/bigdump.php" target="_blank" rel="nofollow" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; text-decoration: underline; color: rgb(51, 102, 153) !important; cursor: pointer; ">BigDump</a>&nbsp;tool. It is the only known PHP script that is capable of uploading large (more than 10Mb) database dumps.</p>
]]></description>
                                    <pubDate>Wed, 23 Feb 2011 13:21:29 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00638</guid>
                    </item>
                <item>
                        <title>Database backup and restore via command line</title>
                                    <link>https://www.web-site-scripts.com/knowledge-base/article/AA-00611</link>
                                    <description><![CDATA[<p>You can use your favorite database backup/restore tools to dump KMP database, but the best way to do this is to use command line (it works on Windows as well as on Unix-like systems).<br>Use this command to dump the database:<br></p><div class="preformatted" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-color: initial; font-family: Courier; font-size: 12px; line-height: 13px; "><div class="preformattedContent" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; overflow-x: hidden; overflow-y: hidden; background-color: rgb(240, 240, 240); font-size: 12px; ">mysqldump -u&nbsp;<span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(255, 240, 0); ">mysql-username</span>&nbsp;-p <span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(250, 192, 143); ">kmp-database</span>&nbsp;&gt; dump.sql</div></div><p><b>Before restoring the database</b>, open it in a database administration tool, e.g. phpMyAdmin or HeidiSQL and <b>drop all tables from this database</b> (i.e. select all tables and click "Drop Tables" button, which means "delete tables").</p><p>Then use this command to restore the database (if needed):<br></p><div class="preformatted" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: dashed; border-right-style: dashed; border-bottom-style: dashed; border-left-style: dashed; border-color: initial; font-family: Courier; font-size: 12px; line-height: 13px; "><div class="preformattedContent" style="padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; overflow-x: hidden; overflow-y: hidden; background-color: rgb(240, 240, 240); font-size: 12px; ">mysql -u&nbsp;<span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(255, 240, 0); ">mysql-username</span>&nbsp;-p <span style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; background-color: rgb(250, 192, 143); ">kmp-database</span>&nbsp;&lt; dump.sql</div></div><p></p><p></p>]]></description>
                                    <pubDate>Mon, 20 Dec 2010 17:24:53 +0000</pubDate>
                                    <guid>https://www.web-site-scripts.com/knowledge-base/article/AA-00611</guid>
                    </item>
                
    </channel>
</rss>