Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
By itowler on
So I see that the there is a new version (6.5) out and I should upgrade, but If you follow the directions to a "T" then that means that I have to back up my sites Dir which now has about 2 gigs of data in it (lots of photos) and then reupload that as well. That is going to take quite a bit of time, and I really do not want my site to be down that long (ok not down, but offline...)
Is there an easier way to do this? A quicker way to do this? Am I missing something?
Ian
Comments
.
First off, don't even think of not having that 2 gigs of data backed up in several places. Anything can and will happen. Update time is a good time to be thinking about that and also making a database backup.
But I am sure you knew all that.
Otherwise it should work fine to leave the files you created in place while you replace the others. That's the way I do it.
Is there an easier way to
There usually is-- but the "easier" and "quicker" the shortcut the greater the risk. Evaluate the minutes you save doing things with a shortcut against the amount of time it would take to recreate all your hard work from scratch should something go wrong.
Plus... as the other poster said... you should already be backing up 2gigs of data on a regular basis anyway.... ;-)
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
There are!!!
And the name is "grsync"! (http://www.opbyte.it/grsync/)
1. Backup your database.
2. Go user ID 1 and Maintenance mode.
3. Switch to Garland.
4. Disable all custom and contributed modules.
5. Use Grsync (or rsync) to synchronize the versions.
6. Run update.php.
You can do it in less than 5 min.
PS: or, for example, in a command line, use rsync:
$rsync -r -n -t -v --progress -l -e ssh /home/xcore/drupal-6.5/ admin@yoursite.org:/home/user/www/
PS1 (IMPORTANT): If you wanna backup old files:
$rsync -r -n -t -v --progress -l -e ssh -b --backup-dir=admin@yoursite.org:/home/user/www/backup /home/xcore/drupal-6.5/ admin@yoursite.org:/home/user/www/
Thanks...That is exactly what I wanted!
xcorex Thanks for the grsync tip. I will try that out this evening. thanks again.
ian
Moving 'sites' folder to different location in the server?
In our region the interent speed is not always good.And it will take lot of time to download the 'sites' folder as it has accumulated content.
In my shared host account I have drupal installed under public_html.
So is it ok if I move the 'sites' older outside public_html and put it back in after upgrade ?
-thank you