FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » How can I archive it?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How can I archive it? [message #3747] Fri, 05 July 2002 10:13 Go to previous message
Zoltan Fogarasi is currently offline  Zoltan Fogarasi   Hungary
Messages: 16
Registered: June 2002
Location: Budapest, Hungary
Karma:
Junior Member
(I am not a bash guru.)
I have created a script, which archive all files used by forum (hope). I tried to upgrade to 2.2.0 from 2.0.2, but was unsuccessful. (I will try again and share the problems later, now the goal is to get it work again). After the failed upgrade I deleted the new files and copied back the old ones. The consistency check was OK.

My archiver script:

mkdir -p /tmp/archiv/var/forum
cp -va /var/forum/* /tmp/archiv/var/forum
#
mkdir -p /tmp/archiv/var/lib/mysql
cp -va /var/lib/mysql/* /tmp/archiv/var/lib/mysql
#
mkdir -p /tmp/archiv/var/www
cp -va /var/www/* /tmp/archiv/var/www
#
tar -z -cvvf /home/fogarasi/cemeno.tar.gz /tmp/archiv/
#rm -r /tmp/archiv

The MySQL and Apache serves only the FUDforum.

My question:
I have to expect some errors, or my procedure is functional?
OR Which files/directories must archive for having the posibility to quick copy it back and restart after a failed upgrade?

Thanks in advance:
Zoltan


Linux Debian Woody

System Configuration
PHP built On: Linux minbar 2.4.16-xfs #1 Fri Feb 8 23:46:11 CST 2002 i686 unknown
MySQL Version: 3.23.49
PHP Version: 4.1.2
Web Server: Apache/1.3.24 (Unix) Debian GNU/Linux PHP/4.1.2
WebServer to PHP interface: apache
Forum Version: 2.0.2
Relavent PHP Settings: Safe Mode: OFF
Display Errors: ON
File Uploads: ON
Magic Quotes: ON
Register Globals: ON
Output Buffering: OFF
Disabled Functions: none
PSpell Support: No
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to get Referrals?
Next Topic: how do i delete forum files? - permissions error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 13:36:27 GMT 2024

Total time taken to generate the page: 0.04591 seconds