[cvsnt] Re: back up ????? without stoppong service

Glen Starrett grstarrett at cox.net
Wed Oct 15 18:16:26 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


> I have a script to back up my repository also, but didn't see any 
> convenient way to stop the service before I so do.
> What method are you using?  Fortunately I have enough disks 
> that I can just 
> xcopy the new stuff over, so it runs very quickly.

I have a CMD script that runs on an AT schedule.  You can see it on the
following page:
http://www.cvsnt.org/wiki/BackupRepository

Also, when replying, please copy the list since this is on-topic and others
may benefit.

Regards,

Glen Starrett
 


> -----Original Message-----
> From: Victor A. Wagner, Jr. [mailto:vawjr at rudbek.com] 
> Sent: Wednesday, October 15, 2003 12:58 AM
> To: Glen Starrett
> Subject: RE: [cvsnt] Re: back up ????? without stoppong service
> 
> 
> I have a script to back up my repository also, but didn't see any 
> convenient way to stop the service before I so do.
> What method are you using?  Fortunately I have enough disks 
> that I can just 
> xcopy the new stuff over, so it runs very quickly.
> 
> At Friday 2003-10-10 10:27, you wrote:
> > > back up CVSNT without stopping service
> > >
> > > > Is it possible?
> >
> >Yes.  You can back it up like regular files, BUT if someone 
> commits during
> >the backup then you end up with half the commit backed up 
> and other not,
> >with possible locking errors (e.g. if the backup is reading 
> a file and cvsnt
> >tries to change it).  The amount of activity on your CVS 
> server is would
> >dictate if this acceptable risk for you.
> >
> >However, I've seen it mentioned here previously that you can 
> add a lock file
> >or call on the CVS lock service to set up your locks while 
> the backup grabs
> >it's files then release after.  I don't have the specifics 
> on that, but it's
> >a possible approach.
> >
> >IMHO, you should seriously consider stopping the service 
> before backing up.
> >My strategy is to have a script that runs once per night 
> that stops the
> >service, ZIPs up the repositories, restarts the service.  
> Then the backup
> >can get the ZIP files for a reliable, consistent backup and 
> the service is
> >only down for a minimal amount of time.
> >
> >Regards,
> >
> >Glen Starrett
> >
> >
> >_______________________________________________
> >cvsnt mailing list
> >cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> >http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 
> Victor A. Wagner Jr.      http://rudbek.com
> The five most dangerous words in the English language:
>                "There oughta be a law" 
> 
> 




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook