[ofa-general] Re: backups

Michael S. Tsirkin mst at dev.mellanox.co.il
Thu Jun 21 11:47:38 PDT 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: backups
> 
>  > I'm backing up /data/pub/scm. A quick "du -chL" shows it to be 4.2G.
>  > Perhaps I only need to backup a subset of /data/pub/scm? Thanks.
> 
> Looks like there is plenty of excess stuff there... eg
> /data/pub/scm/~mst/linux-2.6 seems to be an partially unpacked
> non-naked linux kernel repository (just picking on mst because
> /data/pub/scm/~mst is 880M).

OK, I killed the files themselves and I've run git repack there,
this seems to have freed up some 200M.
The repo itself has some of my development bits though.

> We could probably save a lot of space
> just keeping on packed copy of Linus's repository and having all other
> kernel trees use alternates to point to the objects there.

Since we really want to save *backup* space, a better strategy would be to use
git clone instead of plain cp, and use alternates and aggressive packing there.

> OTOH it's not work making people spend a lot of effort to clean up too
> much, given how cheap disk space is.

Right. My cell phone has 1G flash storage.

-- 
MST



More information about the general mailing list