On Fri, 2010-05-14 at 09:35 +0100, Neil Bothwick wrote:
> On Fri, 14 May 2010 11:21:02 +0930, Iain Buchanan wrote:
> 
> > I'm using the following rsync command to make the backup:
> > sudo /usr/bin/ionice -c 3 /usr/bin/rsync -aAx --exclude suspend_file
> > --delete --delete-excluded --partial
> > --human-readable / /media/root-backup
> 
> As the rsync command is failing with disk full, files are not being
> deleted. Try adding --delete-before to the options to have old files
> cleaned up before copying new ones.

that's what I thought initially, hence:

On Fri, 2010-05-14 at 11:21 +0930, Iain Buchanan wrote: 
> I just deleted a bunch of /var/tmp and distfiles to free up some space,
> and ran the rsync again.  Now it looks like this:
> 
> $ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> rootfs                 92G   81G  6.1G  93% /
> /dev/sdd7              92G   89G  4.6M 100% /media/root-backup
> 
> /dev/sda3              99M   39M   55M  42% /boot
> /dev/sdd3              99M   39M   55M  42% /media/boot-backup

So the last rsync didn't fail with "disk full" - it's got about 3G left
for use by root.

Any other ideas?  thanks,
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

Yesterday I was a dog.  Today I'm a dog.  Tomorrow I'll probably still
be a dog. Sigh!  There's so little hope for advancement.
                -- Snoopy


Reply via email to