[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-developers] CMU Automation



I C, interesting forward step to tweak the CMU but CMU was meant to do
migration mainly. I never used it but I thought you are truing to back up
using the known shell utilities.

Why don't you first issue a cmd to remove the destination dir and then
initiate the export!! Or if you are worry about files that might be in
destination but not in the new backup then move the destination to a temp
then initiate backup then copy the content of that temp to the content of
the new backup - In this case files which are not there will become
available and thing that were there previously won't be overwritten since
the new backup file are the ones up-to-date.

I am not sure if this help but just some thoughts,

Kal

-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Jamie Rossi
Sent: Sunday, July 22, 2001 3:04 PM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-developers] CMU Automation


wrote a shell script to backup each virtual domain

cd /etc/rc.d/init.d
./sendmail stop
cd /usr/sbin

./cmuExport -n www.domain1.com
.cmuExport -n wwwdomain2.com

cd /etc/rc.d/init.d
./sendmail stop


etc.. etc.. etc...
This includes opening an FTP session and backing up the files

The problem is CMU asks for verification if a backup of a virtual domain is
already pesent that I should overwrite the folder.

I want to add this command into the shell script.

REgards

Jamie


-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of KAMRY
Sent: 21 July 2001 05:43
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-developers] CMU Automation


What commands are you using!!!! How are you backing up?

-----Original Message-----
From: cobalt-developers-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-developers-admin@xxxxxxxxxxxxxxx]On Behalf Of Jamie Rossi
Sent: Friday, July 20, 2001 12:38 PM
To: cobalt-developers@xxxxxxxxxxxxxxx
Subject: [cobalt-developers] CMU Automation


Hi

This is probably a stupid question, but I have writen a simple shell script
to automate the backup of files.

How do I add a command to force the acceptance of an over-write when a
virtual directory backup already exists?

Regards


Jamie Rossi

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers

_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com