|
From: | Gavin |
Subject: | Re: [rdiff-backup-users] Problems removing some increments |
Date: | Tue, 21 Sep 2010 08:35:11 +1000 |
User-agent: | Mozilla-Thunderbird 2.0.0.24 (X11/20100329) |
Valerio Pachera wrote:
Sorry no clear insight as to why this happened, the error says that a file is missing from the repo.Hi all, I was trying to remove some increments but i got the error reporte in the end of the mail. After I got this error, it's not possible to remove any other increment. This is the increment list I get now by rdiff-backup: --- rdiff-backup --list-increments /mnt/storage/backup/vm/ Found 1 increments: increments.2010-09-18T00:32:48+02:00.dir Sat Sep 18 00:32:48 2010 Current mirror: Mon Sep 20 00:32:06 2010 --- So, only one... And these are the increments I see in the backup directory --- ls -l /mnt/storage/backup/vm/rdiff-backup-data/increments/ totale 24 drwx------ 2 root root 4096 20 set 08:04 bin -rwxr-xr-x 1 root root 0 2 lug 11:03 bin.2010-09-01T00:35:11+02:00.dir -rwxr-xr-x 1 root root 0 7 set 14:05 bin.2010-09-07T18:27:46+02:00.dir drwx------ 2 root root 12288 20 set 08:04 disks -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-27T00:31:33+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-28T00:32:02+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-30T00:35:11+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-08-31T00:35:12+02:00.dir -rwxr-xr-x 1 root root 0 14 mag 11:10 disks.2010-09-01T00:35:11+02:00.dir -rwxr-xr-x 1 root root 0 8 set 14:08 disks.2010-09-18T00:32:48+02:00.dir drwx------ 2 root root 4096 18 set 04:11 enabled -rwxr-xr-x 1 root root 0 2 lug 11:36 enabled.2010-09-07T18:27:46+02:00.dir drwx------ 2 root root 4096 7 set 21:13 iso -rwxr-xr-x 1 root root 0 14 mag 12:31 iso.2010-09-01T00:35:11+02:00.dir --- ERROR I GOT --- rdiff-backup --force --remove-older-than 1W /mnt/storage/backup/vm/ Deleting increments at times: Thu Aug 12 00:35:10 2010 Fri Aug 13 00:35:11 2010 Sat Aug 14 00:35:10 2010 Tue Aug 17 00:32:05 2010 Wed Aug 18 00:32:08 2010 Thu Aug 19 00:31:44 2010 Fri Aug 20 00:32:05 2010 Sat Aug 21 00:32:00 2010 Mon Aug 23 00:35:11 2010 Tue Aug 24 00:35:10 2010 Wed Aug 25 00:31:54 2010 Thu Aug 26 00:32:08 2010 Fri Aug 27 00:31:33 2010 Sat Aug 28 00:32:02 2010 Mon Aug 30 00:35:11 2010 Tue Aug 31 00:35:12 2010 Wed Sep 1 00:35:11 2010 Tue Sep 7 18:27:46 2010 [2] 8819 vmserver:~# Deleting increment at time: Thu Aug 26 00:32:08 2010 Exception '[Errno 2] No such file or directory: '/mnt/storage/backup/vm/rdiff-backup-data/increments/disks/zimbra_opt.qcow2.2010-08-21T00:32:00+02:00.diff.gz'' raised of class '<type 'exceptions.OSError'>': File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 288, in take_action elif action == "remove-older-than": RemoveOlderThan(rps[0]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 751, in RemoveOlderThan manage.delete_earlier_than(Globals.rbdir, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 91, in delete_earlier_than baserp.conn.manage.delete_earlier_than_local(baserp, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 107, in delete_earlier_than_local rp.delete() File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 1072, in delete try: self.conn.os.unlink(self.path) Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 30, in <module> rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 304, in error_check_Main try: Main(arglist) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 324, in Main take_action(rps) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 288, in take_action elif action == "remove-older-than": RemoveOlderThan(rps[0]) File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 751, in RemoveOlderThan manage.delete_earlier_than(Globals.rbdir, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 91, in delete_earlier_than baserp.conn.manage.delete_earlier_than_local(baserp, time) File "/var/lib/python-support/python2.5/rdiff_backup/manage.py", line 107, in delete_earlier_than_local rp.delete() File "/var/lib/python-support/python2.5/rdiff_backup/rpath.py", line 1072, in delete try: self.conn.os.unlink(self.path) OSError: [Errno 2] No such file or directory: '/mnt/storage/backup/vm/rdiff-backup-data/increments/disks/zimbra_opt.qcow2.2010-08-21T00:32:00+02:00.diff.gz' --- I'm using rdiff-backup 1.2.5 on debian lenny. Backup is done from 2 local disks (xfs ->ext3). I can tell you that a big file (35G) has been removed from the source dir time ago, and now the source directory is 33G and the destination dir is 84 What canI do? Do you know why that has happend? Thank you. _______________________________________________ rdiff-backup-users mailing list at address@hidden http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki It is possible that this file was some how deleted. Since you only have 1 weeks history at this point the easiest solution is to delete the rdiff-backup-data dir and then run rdiff-backup with the --force option. Cheers Gavin |
[Prev in Thread] | Current Thread | [Next in Thread] |