temporarily moving gallery

scottyman
scottyman's picture

Joined: 2002-08-15
Posts: 30
Posted: Tue, 2002-09-24 14:30

I'm going to be rebuilding my site from scratch (or close to it) in the next couple of days -
and I want to scrub my site completely - i.e. removing gallery, and reupping the photos. Ideally don't want to have to do this, so is there an easier way (don't really want to leave it there - but I suppose I can without too many problems)

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2002-09-24 18:03

Hmm. Well, you can archive Gallery somewhere and then restore it later.

Archiving it:
1. Download cleanup script from User Guide
2. Run cleanup script on albums directory
3. cd to the directory that contains "gallery" and "albums" and run:
"tar -czf gallery.tar.gz gallery albums"
4. "rm -rf gallery albums"

Now you have it all archived in "gallery.tar.gz". Put that somewhere, rebuild your site, etc.

Restore:
1. cd website
2. tar xzf gallery.tar.gz
3. re-run config wizard
4. rm gallery.tar.gz