1 |
On Fri, 2010-05-14 at 09:35 +0100, Neil Bothwick wrote: |
2 |
> On Fri, 14 May 2010 11:21:02 +0930, Iain Buchanan wrote: |
3 |
> |
4 |
> > I'm using the following rsync command to make the backup: |
5 |
> > sudo /usr/bin/ionice -c 3 /usr/bin/rsync -aAx --exclude suspend_file |
6 |
> > --delete --delete-excluded --partial |
7 |
> > --human-readable / /media/root-backup |
8 |
> |
9 |
> As the rsync command is failing with disk full, files are not being |
10 |
> deleted. Try adding --delete-before to the options to have old files |
11 |
> cleaned up before copying new ones. |
12 |
|
13 |
that's what I thought initially, hence: |
14 |
|
15 |
On Fri, 2010-05-14 at 11:21 +0930, Iain Buchanan wrote: |
16 |
> I just deleted a bunch of /var/tmp and distfiles to free up some space, |
17 |
> and ran the rsync again. Now it looks like this: |
18 |
> |
19 |
> $ df -h |
20 |
> Filesystem Size Used Avail Use% Mounted on |
21 |
> rootfs 92G 81G 6.1G 93% / |
22 |
> /dev/sdd7 92G 89G 4.6M 100% /media/root-backup |
23 |
> |
24 |
> /dev/sda3 99M 39M 55M 42% /boot |
25 |
> /dev/sdd3 99M 39M 55M 42% /media/boot-backup |
26 |
|
27 |
So the last rsync didn't fail with "disk full" - it's got about 3G left |
28 |
for use by root. |
29 |
|
30 |
Any other ideas? thanks, |
31 |
-- |
32 |
Iain Buchanan <iaindb at netspace dot net dot au> |
33 |
|
34 |
Yesterday I was a dog. Today I'm a dog. Tomorrow I'll probably still |
35 |
be a dog. Sigh! There's so little hope for advancement. |
36 |
-- Snoopy |