[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-developers] RaQ3 website backup to RaQ2 restore?
- Subject: RE: [cobalt-developers] RaQ3 website backup to RaQ2 restore?
- From: "malcolm wild" <cobaltsec@xxxxxxxxxxx>
- Date: Thu May 24 01:50:15 2001
- List-id: Discussion Forum for developers on Cobalt Networks products <cobalt-developers.list.cobalt.com>
I have the exact same issue to overcome very soon, I have a dying RaQ2 and
loads of spare RaQ3's
So i'm going to migrate to a RaQ3 but i'd like to migrate the stuff back
onto the RaQ2 afterwards. Taco Sargo (SUN) said they didn't know if it
would work as many of the RaQ3 features don't work on the RaQ2.
I have to shift 170 sites back and to :(
but if i had to do just 10 and I needed to maintain the permissions, i'd do
the following.....
Use RSYNC rsync.samba.org (worth a read first trust me its very good)
It remotely mirrors servers while maintaining file permissions & ownerships
:) good for cgi stuff!
install rsync 2.1.1 source on the RaQ2 (stable on mips)
[from command line as root]
#cd /home/tmp
#wget the_source_xxxxxx.tar.gz (from samba.org)
#gunzip the_source_xxxxxx.tar.gz
#tar -xvf the_source_xxxxxx.tar
#cd the_source_xxxxxx
#more README (!)
#./compile
#./make
then mv the resulting mips binary to: (thing its pathed anyway)
/usr/bin/rsync
You can get the latest binary for the x86-Redhat RaQ3 try and keep the
version the same if your given an option
Ssimply install the RaQ3 binary in /usr/bin/rsync no compliing needed :)
Now thats the tricky bit done for now!
Unfortunatly your best bet is to manually recreate the sites & usernames /
passwords / site features / email aliases on the RaQ2
once this is done you set rysnc on the RaQ3 runnning as a server (default
listens to port 873)
you'll need the following file check rsync.samba.org incases i've typo'd
anything!
/etc/rsyncd.conf
[web]
uid = root
/home/sites/www.sitenametobackup.com/
ip.of.your.raq2
type
#rysnc --daemon
its now waiting for a connection that will only be accepted from the IP of
your RaQ2
now telnet into the RaQ2 as root and type :
#rsync -a -v --compress --delete ip.of.your.raq2::web
/home/sites/www.sitenametobackup.com/
It'll retreive the a file list and sync the new files from the listening
RaQ3 to the waiting RaQ2
then repeat for each site you want changing the commandline and RaQ3
etc/rsyncd.conf file as you go
Really hope that helps, I you work out how to migrate a RaQ3 to a RaQ2 using
any other method please post it - thanks
-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Andrew
Soderberg
Sent: 23 May 2001 17:54
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: [cobalt-developers] RaQ3 website backup to RaQ2 restore?
I've got one RaQ3 and several RaQ2s. I need to restore our RaQ3 to
'factory' settings (I have the RaQ3 restore CD). I am backing up the 10
web sites that I have on the RaQ3, and trying to restore them to one of
my RaQ2 servers. It does not seem to work.
Are RaQ3 web backups not compatible with a RaQ2 server? I have created
the virtual sites (and each siteadmin user) on the RaQ2, attempt the
restore, and it sits there 'forever' with the watch spinning. Nothing
gets uploaded to the RaQ2.
If RaQ3 backups are not compatible with a RaQ2 server, does anyone have
a suggestion on how I move these 10 websites while I reset the RaQ3 to
factory fresh? FTP would be a major pain because I would lose all the
file permissions info for the CGIs etc.
Regards,
Andy
______________________________________
| Andrew Soderberg
| President
| Merlin Media, Inc.
| 12 S. First St., Suite 104
| San Jose, CA 95113
|
| phone: 408-299-0880
| fax: 408-299-0324
| email: andrew@xxxxxxxxxxxxxxx
| web: http://www.merlinmedia.com
______________________________________
_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers