<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>restore drupal 7 &#8211; Arun&#8217;s blog</title>
	<atom:link href="https://arunns.net/tag/restore-drupal-7/feed/" rel="self" type="application/rss+xml" />
	<link>https://arunns.net</link>
	<description>Arun&#039;s blog</description>
	<lastBuildDate>Tue, 08 Jan 2013 08:55:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.2</generator>
	<item>
		<title>Upgrade, Restore Drupal 7</title>
		<link>https://arunns.net/upgrade-restore-drupal-7/</link>
					<comments>https://arunns.net/upgrade-restore-drupal-7/#respond</comments>
		
		<dc:creator><![CDATA[Arun N.]]></dc:creator>
		<pubDate>Tue, 08 Jan 2013 08:55:10 +0000</pubDate>
				<category><![CDATA[CMS]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell script]]></category>
		<category><![CDATA[backup drupal 7]]></category>
		<category><![CDATA[Drupal 7]]></category>
		<category><![CDATA[restore drupal 7]]></category>
		<category><![CDATA[upgrade drupal 7]]></category>
		<guid isPermaLink="false">http://arunnsblog.com/?p=617</guid>

					<description><![CDATA[Shell script to upgrade and restore Drupal 7 website This script will take care of the necessary actions required for upgrading drupal to higher versions. USAGE Copy the script to your webserver. Edit the script and change the variables to match with your setup Give execute privilege to the owner of the script (chmod u+x [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Shell script to upgrade and restore Drupal 7 website</strong><br />
This script will take care of the necessary actions required for upgrading drupal to higher versions.</p>
<p><strong>USAGE</strong></p>
<ul>
<li>Copy the script to your webserver.</li>
<li>Edit the script and change the variables to match with your setup</li>
<li>Give execute privilege to the owner of the script (chmod u+x upgrade-restore-drupal7.sh)</li>
<li>Execute the script ./upgrade-restore-drupal7.sh</li>
</ul>
<p><strong>UPGRADE</strong></p>
<blockquote>
<pre><em>$ ./upgrade-restore-drupal7.sh 
 Please enter your choice:
 1. Update drupal
 2. Restore an old installation from backup
 3. Exit</em>
1
<em>Please enter the new drupal version (eg: 7.15) : 
</em>7.18
<em>Downloading drupal-7.18
Downloaded the the drupal version drupal-7.18
Current site backup is created: /home/foo/backups/08-01-2013-0938
Database backup created: /home/foo/backups/08-01-2013-0938.sql
Site is in maintanence mode now
Removed all drupal core files from destination
Copied the new version contents
Drupal updated to drupal-7.18
Site is active again, but please update your database, please visit http://&lt;yourwebsite&gt;/update.php to finalize the process
Removed the source files
</em></pre>
</blockquote>
<p><strong>RESTORE</strong></p>
<blockquote>
<pre><em>$ ./upgrade-restore-drupal7.sh 
 Please enter your choice:
 1. Update drupal
 2. Restore an old installation from backup
 3. Exit</em>
2
<em>List of available backups
08-01-2013-0753
08-01-2013-0758
08-01-2013-0804
08-01-2013-0841
08-01-2013-0849
08-01-2013-0858
08-01-2013-0900
08-01-2013-0904
08-01-2013-0905
08-01-2013-0938
Please enter the backup file name to restore: (eg: 08-01-2013-0753):</em> 
08-01-2013-0905
<em>Site is offline now
Removed production files
Restored the filesystem backup 
Restored the database
Site is restored
</em></pre>
</blockquote>
<p><script src="https://gist.github.com/4482287.js"></script></p>
<p><a href="https://github.com/arun-natarajan/upgrade-restore-drupal7"><b>View on github</b></a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://arunns.net/upgrade-restore-drupal-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
