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/ ron@192.168.0.201::/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 ron@192.168.0.201 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 ron@192.168.0.201::/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 mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to