[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] "Found too many current_mirror incs!"
From: |
Ron Leach |
Subject: |
[rdiff-backup-users] "Found too many current_mirror incs!" |
Date: |
Tue, 02 May 2017 16:25:46 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 |
List, hello,
We have different machines for (i) our mail-server, and for (ii) a
backup of that mail server's mail storage. Under cron's control,
rdiff-backup uses a remote ssh login from the mail machine onto the
backup machine to make each backup of the mail store. We've just
replaced our mailstorage backup server with a new-build Debian system
equipped with bigger discs; the existing backup data has been copied
(rsync) into the same directory name but which is now mounted under
/srv. The mail system server remains as existing; the new backup
server now has a different IP address but still on the same local
subnet. rdiff-backup is version 1.2.8 on both machines.
But I must have done something wrong in the new set up. The first
attempt to check that mail backup would continue working failed with
Exception 'Found too many current_mirror incs!' raised of class '<type
'exceptions.AssertionError'>':
The rdiff-backup command (same as before but with different IP
address, and with '/srv' added at the destination because the backup
storage is mounted under /srv on the new machine) is:
rdiff-backup --print-statistics -v3 /Data101/vmail/
address@hidden::/srv/Data/101vmail
The error report in full is:
Exception 'Found too many current_mirror incs!' raised of class '<type
'exceptions.AssertionError'>':
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
304, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
324, in Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
337, in Backup
backup_final_init(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
501, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
916, in checkdest_if_necessary
need_check = checkdest_need_check(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
907, in checkdest_need_check
assert len(curmir_incs) == 2, "Found too many current_mirror incs!"
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
304, in error_check_Main
try: Main(arglist)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
324, in Main
take_action(rps)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
337, in Backup
backup_final_init(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
501, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
916, in checkdest_if_necessary
need_check = checkdest_need_check(dest_rp)
File "/usr/lib/python2.7/dist-packages/rdiff_backup/Main.py", line
907, in checkdest_need_check
assert len(curmir_incs) == 2, "Found too many current_mirror incs!"
AssertionError: Found too many current_mirror incs!
Using straight ssh login to address@hidden enables
$ cd /srv/Data/101vmail
without error, and
$ ls
lists all the directories and files that should be there, plus the
radiff-backup-data directory. So the remote ssh login looks ok, and
the name of the destination directory look ok.
Using a check-destination-directory command from the mail server
# rdiff-backup --check-destination-dir
address@hidden::/srv/Data/101vmail
results in the same error report as above.
I am not sure what to check to find what might be causing this. Has
anybody else seen this error before?
Honestly, any ideas would be really welcome.
regards, Ron
- [rdiff-backup-users] "Found too many current_mirror incs!",
Ron Leach <=
- Re: [rdiff-backup-users] "Found too many current_mirror incs!", Ron Leach, 2017/05/02
- Message not available
- Re: [rdiff-backup-users] "Found too many current_mirror incs!", Ron Leach, 2017/05/02
- Re: [rdiff-backup-users] "Found too many current_mirror incs!", Ron Leach, 2017/05/03
- Re: [rdiff-backup-users] "Found too many current_mirror incs!", Dominic Raferd, 2017/05/04
- Re: [rdiff-backup-users] "Found too many current_mirror incs!", Ron Leach, 2017/05/04
- Re: [rdiff-backup-users] "Found too many current_mirror incs!", Dominic Raferd, 2017/05/04