Files and directories to backup prior to upgrade

mtdave

Joined: 2009-04-04
Posts: 4
Posted: Sat, 2009-04-04 15:12

Hi, I have Gallery installed on my GoDaddy hosting account. I would like to upgrade Gallery and want to backup the important files and directories prior to doing the upgrade. Which ones need to be saved in case I end up reinstalling fresh and would like to reload my albums without having to do it the hard way. Could I just replace the files and directories and have my albums back the way they were?

Thanks, Dave

Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.3.11 cgi-fcgi
Webserver = Apache
Database = mysql 4.0.27-max-log, lock.system=flock
Toolkits = ImageMagick
Acceleration = partial/604800, none
Operating system = Linux linhost282.prod.mesa1.secureserver.net 2.4.21-53.ELsmp #1 SMP Wed Nov 14 03:54:12 EST 2007 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8

 
mdlueck
mdlueck's picture

Joined: 2007-02-23
Posts: 114
Posted: Sat, 2009-04-04 15:30

Do you have remote shell access? I have found the easiest way is to just zip up all of the files, make a DB backup as well. That way I have a 100% "go-back" plan.

I install gallery to .../www/gallery2/
And the gallery non-web-accessible files to .../g2data/
So I back these two directories up separately.

 
mtdave

Joined: 2009-04-04
Posts: 4
Posted: Sat, 2009-04-04 15:42

I don't have remote shell access right now. When I look in the MySQL database information in the Hosting Control Center, it doesn't look like there are any databases. Do you know if this is possible? Can Gallery run without a database?

It looks like if I upgrade to a newer version of Gallery (2.3) I wouldn't be able to just copy my /g2data directory into the new install and have all my albums work. Does this sound correct?

Dave

 
mdlueck
mdlueck's picture

Joined: 2007-02-23
Posts: 114
Posted: Sat, 2009-04-04 18:05

G2 definitely requires a MySQL database.

Since you do not see a database configured, have no shell access... I think you best wait for advice of someone who has dealt with Gallery at GoDaddy.

BTW: The config.php file in your .../gallery2/ directory will have your current settings as far as which database it is connecting to. Have a look in there to verify those settings.

 
mtdave

Joined: 2009-04-04
Posts: 4
Posted: Mon, 2009-04-06 03:24

I see it. I'll sign up for the shell and see if I can figure this out.

Is there a routine out there somewhere for exporting albums from one instance of Gallery to another?

Thanks, Dave