I do this using a good ol' shell script:

=============
[build@ul020-dmz build]# cat /root/backup_cvs_repository.sh
#!/bin/bash
cd /root
tar -zcf nightly_cvs_backup.tar.gz /cvs
mv nightly_cvs_backup.tar.gz /home/tom
chown tom:users /home/tom/nightly_cvs_backup.tar.gz
[build@ul020-dmz build]#
=============

And then the tar ball gets put on a tape.  This works fine for a
medium-size repo - about 800MB of Java and whatnot - tars to about 200
MB.

Yours,

Tom

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf 
> Of David Gagnon
> Sent: Thursday, February 06, 2003 11:20 AM
> To: [EMAIL PROTECTED]
> Cc: Jean-Fran�ois Par�
> Subject: Re: Backing Up CVS
> 
> 
> Hello,
> 
> If I need to automate the backup (during the night for 
> example), what I 
> need to do? Can I use AppleScript? Do I need to use unix batch file? 
> What is the best way to do that?
> 
> _______________________________
> David Gagnon
> Dynagram Software
> www.dynagram.com
> 
> > Pat Young wrote:
> >>
> >> When I backup my CVS respository using FTP, should I
> >> FTP everything as "text" files?
> >
> > The safe answer is "no". Depending on your setup, a better approach
> > might be to archive the repository and then transfer the 
> archive as one
> > file (in binary mode), to help preserve permissions and time stamps 
> > (not
> > to mention reducing transfer times).
> >
> > -Matt
> >
> >
> > _______________________________________________
> > Info-cvs mailing list
> > [EMAIL PROTECTED]
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> >
> >
> 
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> [EMAIL PROTECTED]
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 
> 



_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to