Index: [Article Count Order] [Thread]

Date:  Thu, 29 Nov 2007 20:30:04 -0800
From:  "Ken Marcus - Precision Web Hosting, Inc." <kenmarcus (at mark) precisionweb.net>
Subject:  [coba-e:11320] Re: backup
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <007c01c83309$b06c02d0$6700a8c0@OfficeKen>
References:  <03a101c8327b$f7f342a0$0101a8c0 (at mark) systemax> <474EF81C.1080708 (at mark) nomealaska.org> <474F1A16.7020808 (at mark) nomealaska.org> <016a01c832cd$da1801b0$6400a8c0 (at mark) HPPAVILION> <474F5D0E.1070704 (at mark) nomealaska.org> <01ed01c832f6$94936390$6400a8c0 (at mark) HPPAVILION>
X-Mail-Count: 11320


----- Original Message ----- 
From: "Darrell D. Mobley" <dmobley (at mark) uhostme.com>
To: <coba-e (at mark) bluequartz.org>
Sent: Thursday, November 29, 2007 6:13 PM
Subject: [coba-e:11318] Re: backup


> Yes, still works fine.
>
>> -----Original Message-----
>> From: Jim Dory [mailto:jdory (at mark) nomealaska.org]
>> Sent: Thursday, November 29, 2007 7:45 PM
>> To: coba-e (at mark) bluequartz.org
>> Subject: [coba-e:11316] Re: backup
>>
>> Just to be sure, raqbackup.sh still works well with a BlueQuartz server?
>> I've migrated off the Raq so it is not in service now.
>>
>> I did see Nuonce's Advanced Backup V1.0 for $50.
>>
>> cheers, Jim
>>
>>
>> Darrell D. Mobley wrote:
>> > Raqbackup.sh still works well:
>> >
>> > http://www.neuhaus-internet.de/cobalt/raqbackup/
>> >
>> >> be clean.
>> >>
>> >


A related thought.

Here is a script that will take a list of sites from a file named 
"sitestoadd.txt" and will restore them to a server. Using this script, if 
you have a problem half way through a restore like a memory leak or 
disconnection problem, you won't have to start all over.  Just log back in, 
edit the sitestoadd.txt and start it again.


#!/usr/bin/perl
#add  all the sites on list


$ipaddress = "123.123.123.123";
$directory = "/home/.users/112/admin/";

print "The IP is $ipaddress \n The directory is $directory   \n If this is 
right, hit enter to continue ";
$something = <STDIN>;



print "try to open sitestoadd.txt\n";
open (FIL,"sitestoadd.txt") or die "Can't Open\n";
  while (<FIL>) {
  $thedomain =  $_;
  chomp $thedomain;
  print "Add the site $thedomain\n";
  system("/usr/sbin/cmuImport -d $directory  -n $thedomain -i $ipaddress");


}

close (FIL);

print "Finished";




----
Ken Marcus
Ecommerce Web Hosting by
Precision Web Hosting, Inc.
http://www.precisionweb.net