[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] error : af_unix path too long
From: |
Thibaud Hulin |
Subject: |
Re: [rdiff-backup-users] error : af_unix path too long |
Date: |
Tue, 23 Jan 2007 13:27:09 +0100 |
User-agent: |
Thunderbird 1.5.0.5 (X11/20060719) |
Thanks for the advice. I retry to launch rdiff-backup with this option,
but I obtain news errors. Must I erase the ancient backup ?
This is error message :
No increments older than Tue Jan 16 13:13:33 2007 found, exiting.
No increments older than Tue Jan 16 13:13:53 2007 found, exiting.
Previous backup seems to have failed, regressing destination now.
Exception 'Path:
/media/hda5/backup/home/rdiff-backup-data/mirror_metadata.2007-01-12T21:41:10+01:00.snapshot.gz
Index: ('mirror_metadata.2007-01-12T21:41:10+01:00.snapshot.gz',)
Data: {'uid': 0, 'perms': 384, 'type': 'reg', 'gname': 'root', 'ctime':
1168638198, 'devloc': 773L, 'uname': 'root', 'nlink': 1, 'gid': 0,
'mtime': 1168638198, 'atime': 1168634498, 'inode': 34059L, 'size':
5902336L}' raised of class 'exceptions.AssertionError':
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
315, in Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
271, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
328, in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
425, in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
824, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/var/lib/python-support/python2.4/rdiff_backup/regress.py",
line 71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/var/lib/python-support/python2.4/rdiff_backup/regress.py",
line 195, in iterate_meta_rfs
collated = rorpiter.Collate2Iters(raw_rfs, yield_metadata())
File "/var/lib/python-support/python2.4/rdiff_backup/regress.py",
line 181, in yield_metadata
metadata_iter = metadata.ManagerObj.GetAtTime(regress_time)
File "/var/lib/python-support/python2.4/rdiff_backup/metadata.py",
line 501, in GetAtTime
cur_iter = self.get_meta_at_time(time, restrict_index)
File "/var/lib/python-support/python2.4/rdiff_backup/metadata.py",
line 623, in get_meta_at_time
meta_iters = [MetadataFile(rp, 'r').get_objects(restrict_index)
File "/var/lib/python-support/python2.4/rdiff_backup/metadata.py",
line 633, in relevant_meta_incs
assert inclist[-1].getinctime() == time, inclist[-1]
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
295, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
315, in Main
take_action(rps)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
271, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
328, in Backup
backup_final_init(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
425, in backup_final_init
checkdest_if_necessary(rpout)
File "/var/lib/python-support/python2.4/rdiff_backup/Main.py", line
824, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/var/lib/python-support/python2.4/rdiff_backup/regress.py",
line 71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/var/lib/python-support/python2.4/rdiff_backup/regress.py",
line 195, in iterate_meta_rfs
collated = rorpiter.Collate2Iters(raw_rfs, yield_metadata())
File "/var/lib/python-support/python2.4/rdiff_backup/regress.py",
line 181, in yield_metadata
metadata_iter = metadata.ManagerObj.GetAtTime(regress_time)
File "/var/lib/python-support/python2.4/rdiff_backup/metadata.py",
line 501, in GetAtTime
cur_iter = self.get_meta_at_time(time, restrict_index)
File "/var/lib/python-support/python2.4/rdiff_backup/metadata.py",
line 623, in get_meta_at_time
meta_iters = [MetadataFile(rp, 'r').get_objects(restrict_index)
File "/var/lib/python-support/python2.4/rdiff_backup/metadata.py",
line 633, in relevant_meta_incs
assert inclist[-1].getinctime() == time, inclist[-1]
AssertionError: Path:
/media/hda5/backup/home/rdiff-backup-data/mirror_metadata.2007-01-12T21:41:10+01:00.snapshot.gz
Index: ('mirror_metadata.2007-01-12T21:41:10+01:00.snapshot.gz',)
Data: {'uid': 0, 'perms': 384, 'type': 'reg', 'gname': 'root', 'ctime':
1168638198, 'devloc': 773L, 'uname': 'root', 'nlink': 1, 'gid': 0,
'mtime': 1168638198, 'atime': 1168634498, 'inode': 34059L, 'size': 5902336L}
Thanks,
Thibaud.
roland a écrit :
afaik, rdiff-backup cannot handle unix domain sockets.
in most cases, it doesn´t give any sense to back them up, anyway. most
applications will (re-)create those files at runtime.
try the following commandline option:
--exclude-sockets
Exclude all socket files.
regards
roland
----- Original Message ----- From: "Thibaud Hulin"
<address@hidden>
To: <address@hidden>
Sent: Friday, January 19, 2007 5:44 PM
Subject: [rdiff-backup-users] error : af_unix path too long
Hello !
Thanks for your good work with rdiff_backup !
I have a problem, when I lanuch rdiff-backup with my home folder, I
obtain this error, and I can't update my record :
SpecialFileError run/dbus/system_bus_socket Socket error: AF_UNIX path
too long
SpecialFileError run/mysqld/mysqld.sock Socket error: AF_UNIX path too
long
Fatal Error: Bad rdiff-backup-data dir on destination side
The rdiff-backup data directory
/media/hda5/backup/home/rdiff-backup-data
exists, but we cannot find a valid current_mirror marker. You can
avoid this message by removing the rdiff-backup-data directory;
however any data in it will be lost.
Probably this error was caused because the first rdiff-backup session
into a new directory failed. If this is the case it is safe to delete
the rdiff-backup-data directory because there is no important
information in it.
I looked in the wiki documentation, but I couldn't fall help.
Thanks for ideas,
Thibaud.
_______________________________________________
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