<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[iRedMail — [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
		<link>http://www.iredmail.org/forum/topic577-faq-backuprestore-procedure-for-iredmail-using-mysql-database.html</link>
		<atom:link href="http://www.iredmail.org/forum/feed-rss-topic577.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in [FAQ] Backup/Restore procedure for iRedMail (using MySQL database).]]></description>
		<lastBuildDate>Sun, 02 May 2010 14:25:58 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3855.html#p3855</link>
			<description><![CDATA[<div class="quotebox"><cite>hata_ph wrote:</cite><blockquote><div class="quotebox"><cite>hata_ph wrote:</cite><blockquote><p>Currently I am using iRedOS-0.5 (with mysql as the backend database) and I am testing to do a backup/restore procedure. Below is the step for it.</p><p>1. Setup a new iRedMail server with the same configuration as the old server.<br />2. Restore the 4 database for MySQL. I am using the /root/iRedMail/tools/backup_MySQL.sh to do the backup.<br />3. Restore /var/www/roundcubemail/config/*.inc.php (for using roundcubemail as webmail only).<br />4. Restore /var/vmail/* (your mail directory).<br />5. Restore /etc/policyd.conf and /etc/policyd_sender_throttle.conf.<br />6. Restore /etc/postfix/mysql*.cf.<br />7. Restore /etc/dovecot-mysql.conf.<br />8. Restore /var/www/roundcubemail/plugins/changepasswd/config.inc.php for the change password plugins<br />9. Restore /etc/httpd/conf.d/awstats.conf for access of the awstats report.</p><p>PS: I didn&#039;t restore configuration file like main.cf/master.cf for postfix and other as the iRedMail installation for both server is the same.</p></blockquote></div><p>Pls read my guide carefully.....I have listed all the files or directories that needed to be backup. When you restore the vmail directory to the new server it will only restore the email of your last backup. All the email is store in /var/vmail/*.</p><div class="quotebox"><blockquote><p>I am taking backup using scripts and while i am trying to restore i am facing the problems like taking long time to send mails and mails are found in inbox if i am keeping the mails manually on user mailbox on /var/vmail/......./maildir/...if i am taking the backup of /var/vmail/ and while restoring if i replace the whole /var/vmail directory mails are found on mailbox of users but not on webmail inbox.whats the problem?i need to solve it asap.if u can u just say which directories i have to take backup for saving mail and user mail account if crashes...</p></blockquote></div><p>What I recommend is setup a new iRedMail server and make sure the configuration is exactly same as your original server. Test the server before restoring the old data. Then restore the old data using cp or mc. Are using the backup script provided by iRedMail? You can modify the script for which files or directories to backup. Always, disable the mail service while restoring the data just in case any missing new email when restoring.</p></blockquote></div><p>Thx bro.Its working.Thx for helping all the way.I got an error during running scripts because in scripts there is written database name polycid instead of postfixpolicyd.</p>]]></description>
			<author><![CDATA[null@example.com (raskin_ece)]]></author>
			<pubDate>Sun, 02 May 2010 14:25:58 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3855.html#p3855</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3854.html#p3854</link>
			<description><![CDATA[<div class="quotebox"><cite>hata_ph wrote:</cite><blockquote><p>Currently I am using iRedOS-0.5 (with mysql as the backend database) and I am testing to do a backup/restore procedure. Below is the step for it.</p><p>1. Setup a new iRedMail server with the same configuration as the old server.<br />2. Restore the 4 database for MySQL. I am using the /root/iRedMail/tools/backup_MySQL.sh to do the backup.<br />3. Restore /var/www/roundcubemail/config/*.inc.php (for using roundcubemail as webmail only).<br />4. Restore /var/vmail/* (your mail directory).<br />5. Restore /etc/policyd.conf and /etc/policyd_sender_throttle.conf.<br />6. Restore /etc/postfix/mysql*.cf.<br />7. Restore /etc/dovecot-mysql.conf.<br />8. Restore /var/www/roundcubemail/plugins/changepasswd/config.inc.php for the change password plugins<br />9. Restore /etc/httpd/conf.d/awstats.conf for access of the awstats report.</p><p>PS: I didn&#039;t restore configuration file like main.cf/master.cf for postfix and other as the iRedMail installation for both server is the same.</p></blockquote></div><p>Pls read my guide carefully.....I have listed all the files or directories that needed to be backup. When you restore the vmail directory to the new server it will only restore the email of your last backup. All the email is store in /var/vmail/*.</p><div class="quotebox"><blockquote><p>I am taking backup using scripts and while i am trying to restore i am facing the problems like taking long time to send mails and mails are found in inbox if i am keeping the mails manually on user mailbox on /var/vmail/......./maildir/...if i am taking the backup of /var/vmail/ and while restoring if i replace the whole /var/vmail directory mails are found on mailbox of users but not on webmail inbox.whats the problem?i need to solve it asap.if u can u just say which directories i have to take backup for saving mail and user mail account if crashes...</p></blockquote></div><p>What I recommend is setup a new iRedMail server and make sure the configuration is exactly same as your original server. Test the server before restoring the old data. Then restore the old data using cp or mc. Are using the backup script provided by iRedMail? You can modify the script for which files or directories to backup. Always, disable the mail service while restoring the data just in case any missing new email when restoring.</p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Sun, 02 May 2010 11:17:25 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3854.html#p3854</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3853.html#p3853</link>
			<description><![CDATA[<div class="quotebox"><cite>hata_ph wrote:</cite><blockquote><p>Which part that you do not understand?</p></blockquote></div><p>I am taking backup using scripts and while i am trying to restore i am facing the problems like taking long time to send mails and mails are found in inbox if i am keeping the mails manually on user mailbox on /var/vmail/......./maildir/...if i am taking the backup of /var/vmail/ and while restoring if i replace the whole /var/vmail directory mails are found on mailbox of users but not on webmail inbox.whats the problem?i need to solve it asap.if u can u just say which directories i have to take backup for saving mail and user mail account if crashes...</p>]]></description>
			<author><![CDATA[null@example.com (raskin_ece)]]></author>
			<pubDate>Sun, 02 May 2010 03:50:53 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3853.html#p3853</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3833.html#p3833</link>
			<description><![CDATA[<p>Which part that you do not understand?</p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Sat, 01 May 2010 02:11:03 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3833.html#p3833</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3820.html#p3820</link>
			<description><![CDATA[<p>thanks a lot.I am also tesing it on vmware.Its ur kindness if you provide me a good concept about iredmail.waiting for your feedback.</p>]]></description>
			<author><![CDATA[null@example.com (raskin_ece)]]></author>
			<pubDate>Thu, 29 Apr 2010 09:39:59 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3820.html#p3820</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3817.html#p3817</link>
			<description><![CDATA[<p>For the database file...you can use phpmyadmin to restore the database........for other config file, just copy and paste back to the appropriate location...<br />I would recommend you to do a backup and restore testing on a test server......I use virtualbox to test it.....it will give you a good insight and more understanding about iRedMail....</p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Thu, 29 Apr 2010 07:37:51 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3817.html#p3817</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3811.html#p3811</link>
			<description><![CDATA[<p>I have run those two backup scripts and got it but pls clear the steps after that so can i successfully restore the file where they was.I mean the directories where i have to restore the files.pls help me.</p>]]></description>
			<author><![CDATA[null@example.com (raskin_ece)]]></author>
			<pubDate>Thu, 29 Apr 2010 04:18:34 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3811.html#p3811</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3804.html#p3804</link>
			<description><![CDATA[<p>just use <strong><em>cp</em></strong> or <strong><em>mc</em></strong> to restore the backup file</p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Thu, 29 Apr 2010 01:18:44 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3804.html#p3804</guid>
		</item>
		<item>
			<title><![CDATA[Re: [FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post3801.html#p3801</link>
			<description><![CDATA[<p>please clear about the restore process</p>]]></description>
			<author><![CDATA[null@example.com (raskin_ece)]]></author>
			<pubDate>Wed, 28 Apr 2010 11:47:27 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post3801.html#p3801</guid>
		</item>
		<item>
			<title><![CDATA[[FAQ] Backup/Restore procedure for iRedMail (using MySQL database)]]></title>
			<link>http://www.iredmail.org/forum/post2474.html#p2474</link>
			<description><![CDATA[<p>Currently I am using iRedOS-0.5 (with mysql as the backend database) and I am testing to do a backup/restore procedure. Below is the step for it.</p><p>1. Setup a new iRedMail server with the same configuration as the old server.<br />2. Restore the 4 database for MySQL. I am using the /root/iRedMail/tools/backup_MySQL.sh to do the backup.<br />3. Restore /var/www/roundcubemail/config/*.inc.php (for using roundcubemail as webmail only).<br />4. Restore /var/vmail/* (your mail directory).<br />5. Restore /etc/policyd.conf and /etc/policyd_sender_throttle.conf.<br />6. Restore /etc/postfix/mysql*.cf.<br />7. Restore /etc/dovecot-mysql.conf.<br />8. Restore /var/www/roundcubemail/plugins/changepasswd/config.inc.php for the change password plugins<br />9. Restore /etc/httpd/conf.d/awstats.conf for access of the awstats report.</p><p>PS: I didn&#039;t restore configuration file like main.cf/master.cf for postfix and other as the iRedMail installation for both server is the same.</p>]]></description>
			<author><![CDATA[null@example.com (hata_ph)]]></author>
			<pubDate>Mon, 25 Jan 2010 03:48:32 +0000</pubDate>
			<guid>http://www.iredmail.org/forum/post2474.html#p2474</guid>
		</item>
	</channel>
</rss>
