[Deskaheh-sysadmin] Uploading backup to new dadaIMC install
pabs
pabs at perthimc.asn.au
Sun Jul 10 19:04:33 PDT 2005
On Sun, 2005-07-10 at 07:14 -0700, treesong at treesong.org wrote:
> One of my fellow techies here at BMIMC has set up a local server that we
> hope to transition to. He has successfully installed dadaIMC on the new
> server. We also have the backup file from our Deskaheh database, which
> I believe is named:
>
> bigmuddyimc_dump.sql.gz
>
> My question is this -- how do we use this backup file to put our site's
> data on the new server? i.e. how do we replace the default/blank
> dadaIMC data on the new installation with the dumped data from our
> Deskaheh installation? And once we've done this, are there any other
> considerations in performing the transfer? [I know that we'll have to
> transfer some image files which I hope will be easy to find, but
> anything other than that?]
On the command line (on the new machine) type this:
gunzip bigmuddyimc_dump.sql.gz
mysql -p -u bigmuddyimc-database-user bigmuddyimc-database < bigmuddyimc_dump.sql
Here, replace bigmuddyimc-database-user and bigmuddyimc-database with
the appropriate values. It will prompt you for the password to use.
Now enter the database user and password into imc_dbinfo.inc
Image (and other) files will be easy to transfer:
(on deskaheh):
cd ~
tar zcf bigmuddy-images.tar.gz /www/dadaIMC/bigmuddy/usermedia/
(on the new machine)
cd <path-to-dadaimc>
scp deskaheh.indymedia.org:bigmuddy-images.tar.gz .
tar zxf bigmuddy-images.tar.gz
Then verify that everything is working and email dns at lists.indymedia.org
to transfer the domain to the new IP address.
> Our initial goal with this new server was to use it as a "test server" /
> "mirror" in the event of any future Deskaheh outages. But since Deskaheh
> seems to be up poop creek without a paddle anyway, we may as well just
> treat it as our new server and hope for the best. If the new server
> works well, we may move away from Deskaheh entirely -- but I'll get
> back to you on that once the "if" is resolved. :) Our collective is
> very eager to get our site "live" again, so any help would be
> appreciated.
Do you think your server would be able to take imc-hamilton as well?
dadaIMC isn't so popular with many techs these days, so it would be good
if you were able to.
--
bye,
pabs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.indymedia.org/pipermail/deskaheh-sysadmin/attachments/20050711/188e40a3/attachment.pgp
More information about the Deskaheh-sysadmin
mailing list