On Fri, Sep 25, 2009 at 09:50:41PM +0200, Vincent Caron wrote:
> On Mon, 2009-09-21 at 23:30 +0200, Sylvain Beucler wrote:
> > Maggie's / was full today.
> > 
> > I removed one of the 'ftp' backups to make +40GB free space.
> > 
> > It looks like the hardlinks-based backup regularly breaks and produces
> > non-hardlinked copies, resulting in a full filesystem.
> 
>   I changed gnabak a little so that it will try to hardlink with backup
> from all past dates instead of just the previous ones:
> 
> <     push(@args, "--link-dest", "../$_") foreach @history;
> ---
> >     push(@args, "--link-dest", "../".$history[0]) if @history;
> 
>   Running gnabak.pl with the --simulate give this rsync invocation for
> instance:
> 
> command: /usr/bin/rsync -a --rsh ssh -l backup --delete
> --delete-excluded --numeric-ids --exclude lost+found
> --exclude /praksys/praksys/ --exclude /underware/debian/
> --exclude /underware/iso/ --exclude /daily/
> --link-dest ../svn_2009-09-24 --link-dest ../svn_2009-09-23
> --link-dest ../svn_2009-09-22 --link-dest ../svn_2009-09-19
> --link-dest ../svn_2009-09-14 --link-dest ../svn_2009-09-04
> --link-dest ../svn_2009-09-03 --link-dest ../svn_2009-09-02
> --link-dest ../svn_2009-09-01 svn.gna.org:/var/svn/ svn_2009-09-25
> 
> 
>   This should help a lot with missing or half-finished backups, were
> gnabak would download old files *again*. We'll confirm tomorrow if at
> least I didn't break anything :)

Neat!

-- 
Sylvain

_______________________________________________
Project mailing list
[email protected]
https://mail.gna.org/listinfo/project

Reply via email to