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

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