[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Backing Up CVS
From: |
Tom Copeland |
Subject: |
RE: Backing Up CVS |
Date: |
Thu, 6 Feb 2003 11:38:28 -0500 |
I do this using a good ol' shell script:
=============
address@hidden 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
address@hidden 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: address@hidden
> [mailto:address@hidden On Behalf
> Of David Gagnon
> Sent: Thursday, February 06, 2003 11:20 AM
> To: address@hidden
> 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
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> >
> >
>
>
>
>
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
>
>