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