[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] what can I do if all goes wrong?
From: |
Farkas Levente |
Subject: |
Re: [rdiff-backup-users] what can I do if all goes wrong? |
Date: |
Tue, 28 Oct 2003 10:36:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030630 |
Ben Escoto wrote:
On Mon, 27 Oct 2003 21:03:53 +0100 Farkas Levente <address@hidden> wrote:
it seems our backup directory has some problem with rdiff-backup-0.12.5:
-------------------------------------
# rdiff-backup --check-destination-dir /mnt/backup/red
...
File "/usr/lib/python2.2/site-packages/rdiff_backup/metadata.py",
line 187, in get_next_pos
...
File "/usr/lib/python2.2/gzip.py", line 245, in _read_eof
raise ValueError, "CRC check failed"
ValueError: CRC check failed
-------------------------------------
so what can I do?
thanks in advance.
Looks like your metadata file got corrupted. You could try deleting
it (move it aside for safetly), or follow the advice at:
http://rdiff-backup.stanford.edu/FAQ.html#regress_failure
after I delete the current_mirror.xxxx and try to backup again, I've got
this. does this means I loose all of my backups? this happend 3 of our
servers:
-------------------------------------
rdiff-backup --print-statistics --ssh-no-compression
--include-globbing-filelist /etc/rdiff-backup/portal portal-backup::/
/mnt/backup/portal
Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
246, in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
219, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
256, in Backup
backup_init_dirs(rpin, rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
288, in backup_init_dirs
checkdest_if_necessary(rpout)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
645, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
69, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib/python2.2/site-packages/rdiff_backup/regress.py", line
157, in iterate_meta_rfs
for raw_rf, metadata_rorp in collated:
File "/usr/lib/python2.2/site-packages/rdiff_backup/rorpiter.py",
line 100, in Collate2Iters
try: relem2 = riter2.next()
File "/usr/lib/python2.2/site-packages/rdiff_backup/metadata.py",
line 196, in iterate
next_pos = self.get_next_pos()
File "/usr/lib/python2.2/site-packages/rdiff_backup/metadata.py",
line 187, in get_next_pos
newbuf = self.fileobj.read(self.blocksize)
File "/usr/lib/python2.2/gzip.py", line 163, in read
self._read(readsize)
File "/usr/lib/python2.2/gzip.py", line 210, in _read
self._read_eof()
File "/usr/lib/python2.2/gzip.py", line 245, in _read_eof
raise ValueError, "CRC check failed"
ValueError: CRC check failed
address@hidden .ssh]# Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 24, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
246, in Main
take_action(rps)
File "/usr/lib/python2.2/site-packages/rdiff_backup/Main.py", line
217, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 331, in Server
self.get_response(-1)
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 293, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 216, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)
-------------------------------------
this is the content of my /mnt/backup/portal/rdiff-backup-data. which
files should I delete?
-------------------------------------
-rw------- 1 root root 129414 Oct 26 02:38 backup.log
-rw------- 1 root root 0 Oct 27 02:08
current_mirror.2003-10-27T02:08:36+02:00.data
-rw------- 1 root root 0 Oct 28 10:22
current_mirror.2003-10-28T10:22:33+02:00.data
-rw------- 1 root root 98 Oct 13 03:00
error_log.2003-10-13T02:46:15+02:00.data.gz
-rw------- 1 root root 98 Oct 14 03:17
error_log.2003-10-14T03:09:11+02:00.data.gz
-rw------- 1 root root 98 Oct 15 03:37
error_log.2003-10-15T03:15:07+02:00.data.gz
-rw------- 1 root root 98 Oct 16 03:21
error_log.2003-10-16T03:01:09+02:00.data.gz
-rw------- 1 root root 98 Oct 17 03:26
error_log.2003-10-17T02:59:30+02:00.data.gz
-rw------- 1 root root 98 Oct 18 03:20
error_log.2003-10-18T02:58:20+02:00.data.gz
-rw------- 1 root root 98 Oct 19 03:03
error_log.2003-10-19T02:40:06+02:00.data.gz
-rw------- 1 root root 98 Oct 20 03:02
error_log.2003-10-20T02:44:35+02:00.data.gz
-rw------- 1 root root 98 Oct 21 03:12
error_log.2003-10-21T03:03:23+02:00.data.gz
-rw------- 1 root root 98 Oct 22 03:32
error_log.2003-10-22T03:08:51+02:00.data.gz
-rw------- 1 root root 98 Oct 23 03:07
error_log.2003-10-23T02:49:38+02:00.data.gz
-rw------- 1 root root 98 Oct 24 03:25
error_log.2003-10-24T03:05:17+02:00.data.gz
-rw------- 1 root root 98 Oct 25 03:13
error_log.2003-10-25T02:56:11+02:00.data.gz
-rw------- 1 root root 98 Oct 26 02:38
error_log.2003-10-26T02:32:09+02:00.data.gz
-rw------- 1 root root 98 Oct 26 02:55
error_log.2003-10-26T02:37:16+02:00.data.gz
-rw------- 1 root root 90 Oct 27 02:08
error_log.2003-10-27T02:08:36+02:00.data.gz
-rw------- 1 root root 90 Oct 28 10:22
error_log.2003-10-28T10:22:33+02:00.data.gz
-rw------- 1 root root 2921686 Oct 13 03:00
file_statistics.2003-10-13T02:46:15+02:00.data.gz
-rw------- 1 root root 2831977 Oct 14 03:17
file_statistics.2003-10-14T03:09:11+02:00.data.gz
-rw------- 1 root root 2956874 Oct 15 03:37
file_statistics.2003-10-15T03:15:07+02:00.data.gz
-rw------- 1 root root 2987516 Oct 16 03:21
file_statistics.2003-10-16T03:01:09+02:00.data.gz
-rw------- 1 root root 3074086 Oct 17 03:26
file_statistics.2003-10-17T02:59:30+02:00.data.gz
-rw------- 1 root root 3059928 Oct 18 03:20
file_statistics.2003-10-18T02:58:20+02:00.data.gz
-rw------- 1 root root 3064557 Oct 19 03:03
file_statistics.2003-10-19T02:40:06+02:00.data.gz
-rw------- 1 root root 3003922 Oct 20 03:02
file_statistics.2003-10-20T02:44:35+02:00.data.gz
-rw------- 1 root root 2923651 Oct 21 03:12
file_statistics.2003-10-21T03:03:23+02:00.data.gz
-rw------- 1 root root 3050165 Oct 22 03:32
file_statistics.2003-10-22T03:08:51+02:00.data.gz
-rw------- 1 root root 3065098 Oct 23 03:07
file_statistics.2003-10-23T02:49:38+02:00.data.gz
-rw------- 1 root root 3113487 Oct 24 03:25
file_statistics.2003-10-24T03:05:17+02:00.data.gz
-rw------- 1 root root 3039997 Oct 25 03:13
file_statistics.2003-10-25T02:56:11+02:00.data.gz
-rw------- 1 root root 2838439 Oct 26 02:38
file_statistics.2003-10-26T02:32:09+02:00.data.gz
-rw------- 1 root root 2973416 Oct 26 02:55
file_statistics.2003-10-26T02:37:16+02:00.data.gz
-rw------- 1 root root 181 Oct 27 02:08
file_statistics.2003-10-27T02:08:36+02:00.data.gz
-rw------- 1 root root 181 Oct 28 10:22
file_statistics.2003-10-28T10:22:33+02:00.data.gz
drwx------ 5 root root 4096 Oct 26 02:32 increments
-rwxr-xr-x 1 root root 0 Sep 29 14:56
increments.2003-10-13T02:46:15+02:00.dir
-rwxr-xr-x 1 root root 0 Sep 29 14:56
increments.2003-10-14T03:09:11+02:00.dir
-rwxr-xr-x 1 root root 0 Sep 29 14:56
increments.2003-10-15T03:15:07+02:00.dir
-rwxr-xr-x 1 root root 0 Sep 29 14:56
increments.2003-10-16T03:01:09+02:00.dir
-rwxr-xr-x 1 root root 0 Sep 29 14:56
increments.2003-10-17T02:59:30+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 17 16:02
increments.2003-10-18T02:58:20+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 18 18:00
increments.2003-10-19T02:40:06+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 18 18:00
increments.2003-10-20T02:44:35+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 18 18:00
increments.2003-10-21T03:03:23+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 21 10:35
increments.2003-10-22T03:08:51+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 21 10:35
increments.2003-10-23T02:49:38+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 21 10:35
increments.2003-10-24T03:05:17+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 21 10:35
increments.2003-10-25T02:56:11+02:00.dir
-rwxr-xr-x 1 root root 0 Oct 21 10:35
increments.2003-10-26T02:37:16+02:00.dir
-rw------- 1 root root 2823347 Oct 13 03:00
mirror_metadata.2003-10-13T02:46:15+02:00.snapshot.gz
-rw------- 1 root root 2858597 Oct 14 03:17
mirror_metadata.2003-10-14T03:09:11+02:00.snapshot.gz
-rw------- 1 root root 2884813 Oct 15 03:37
mirror_metadata.2003-10-15T03:15:07+02:00.snapshot.gz
-rw------- 1 root root 2965561 Oct 16 03:21
mirror_metadata.2003-10-16T03:01:09+02:00.snapshot.gz
-rw------- 1 root root 2967762 Oct 17 03:26
mirror_metadata.2003-10-17T02:59:30+02:00.snapshot.gz
-rw------- 1 root root 2969866 Oct 18 03:20
mirror_metadata.2003-10-18T02:58:20+02:00.snapshot.gz
-rw------- 1 root root 2968522 Oct 19 03:03
mirror_metadata.2003-10-19T02:40:06+02:00.snapshot.gz
-rw------- 1 root root 2913531 Oct 20 03:02
mirror_metadata.2003-10-20T02:44:35+02:00.snapshot.gz
-rw------- 1 root root 2953480 Oct 21 03:12
mirror_metadata.2003-10-21T03:03:23+02:00.snapshot.gz
-rw------- 1 root root 2974557 Oct 22 03:32
mirror_metadata.2003-10-22T03:08:51+02:00.snapshot.gz
-rw------- 1 root root 3060390 Oct 23 03:07
mirror_metadata.2003-10-23T02:49:38+02:00.snapshot.gz
-rw------- 1 root root 3016057 Oct 24 03:25
mirror_metadata.2003-10-24T03:05:17+02:00.snapshot.gz
-rw------- 1 root root 2935195 Oct 25 03:13
mirror_metadata.2003-10-25T02:56:11+02:00.snapshot.gz
-rw------- 1 root root 2863245 Oct 26 02:38
mirror_metadata.2003-10-26T02:32:09+02:00.snapshot.gz
-rw------- 1 root root 2863245 Oct 26 02:55
mirror_metadata.2003-10-26T02:37:16+02:00.snapshot.gz
-rw------- 1 root root 100 Oct 27 02:08
mirror_metadata.2003-10-27T02:08:36+02:00.snapshot.gz
-rw------- 1 root root 100 Oct 28 10:22
mirror_metadata.2003-10-28T10:22:33+02:00.snapshot.gz
-rw------- 1 root root 1045 Aug 24 21:40 restore.log
-rw------- 1 root root 559 Oct 13 03:00
session_statistics.2003-10-13T02:46:15+02:00.data
-rw------- 1 root root 543 Oct 14 03:17
session_statistics.2003-10-14T03:09:11+02:00.data
-rw------- 1 root root 559 Oct 15 03:37
session_statistics.2003-10-15T03:15:07+02:00.data
-rw------- 1 root root 559 Oct 16 03:21
session_statistics.2003-10-16T03:01:09+02:00.data
-rw------- 1 root root 561 Oct 17 03:26
session_statistics.2003-10-17T02:59:30+02:00.data
-rw------- 1 root root 560 Oct 18 03:20
session_statistics.2003-10-18T02:58:20+02:00.data
-rw------- 1 root root 560 Oct 19 03:03
session_statistics.2003-10-19T02:40:06+02:00.data
-rw------- 1 root root 561 Oct 20 03:02
session_statistics.2003-10-20T02:44:35+02:00.data
-rw------- 1 root root 547 Oct 21 03:12
session_statistics.2003-10-21T03:03:23+02:00.data
-rw------- 1 root root 560 Oct 22 03:32
session_statistics.2003-10-22T03:08:51+02:00.data
-rw------- 1 root root 559 Oct 23 03:07
session_statistics.2003-10-23T02:49:38+02:00.data
-rw------- 1 root root 561 Oct 24 03:25
session_statistics.2003-10-24T03:05:17+02:00.data
-rw------- 1 root root 562 Oct 25 03:13
session_statistics.2003-10-25T02:56:11+02:00.data
-rw------- 1 root root 519 Oct 26 02:38
session_statistics.2003-10-26T02:32:09+02:00.data
-rw------- 1 root root 562 Oct 26 02:55
session_statistics.2003-10-26T02:37:16+02:00.data
-------------------------------------
thanks.
--
Levente "Si vis pacem para bellum!"
- [rdiff-backup-users] what can I do if all goes wrong?, Farkas Levente, 2003/10/27
- Re: [rdiff-backup-users] what can I do if all goes wrong?, Ben Escoto, 2003/10/27
- Re: [rdiff-backup-users] what can I do if all goes wrong?,
Farkas Levente <=
- Re: [rdiff-backup-users] what can I do if all goes wrong?, Ben Escoto, 2003/10/28
- Re: [rdiff-backup-users] what can I do if all goes wrong?, Farkas Levente, 2003/10/28
- [rdiff-backup-users] Re: what can I do if all goes wrong?, Troels Arvin, 2003/10/29
- Re: [rdiff-backup-users] Re: what can I do if all goes wrong?, Farkas Levente, 2003/10/29
- [rdiff-backup-users] Re: Re: what can I do if all goes wrong?, Troels Arvin, 2003/10/29
- Re: [rdiff-backup-users] Re: Re: what can I do if all goes wrong?, Farkas Levente, 2003/10/29