info-cvs
[Top][All Lists]
Advanced

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

Re: Anomally in backing up repository using tar


From: Todd Denniston
Subject: Re: Anomally in backing up repository using tar
Date: Tue, 23 Nov 2004 10:34:20 -0500

address@hidden wrote:
> 
> I have a cron job that runs every 11:00pm that tars
> the whole cvsroot tree
>         > tar -czv /path/cvsroot.tar /cvsroot
> It runs but I have an anomally in my tar files. 8/10
> I get a file size of around 2MB, but 2/10, I get one
> at 450MB. I don't bother locking the repository since
> I only have 4 users, and I KNOW that none of us are
> using it. Any explanation to this anomally from CVS's
> point of view?

tar -tzvf /path/cvsroot.tar 
and look for the realy big file, or the one you did not expect.

if df /cvsroot |tail -1 |awk '{print $1}'| grep \:\/ > /dev/null 2>&1 ;
 then echo "nfs"; else  echo "not nfs"; fi
If /cvsroot is on nfs, let us know.

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane) 
Harnessing the Power of Technology for the Warfighter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]