[PLUG] Need help with rdiff-backup

John Jason Jordan johnxj at comcast.net
Tue Feb 2 09:14:53 UTC 2010


OK, rdiff-backup is failing me. It worked fine when I had Ubuntu
Jaunty, but now that I have Fedora 11 it will not run. That is, I have
a script to back up / to a folder mounted
at /media/Backups/Full_system_backup_Fedora, but when I try to run the
script it throws a page of incomprehensible error messages. The same
script (modified now for Fedora) worked fine before.

I thought I might fall back to using the pybackpack GUI, but it refuses
to allow me to specify / as the source. It defaults to ~/ and that
seems to be hard coded. I never had this problem with pyabackpack on
Jaunty, so maybe I now have a different version. On Jaunty I had no
problem telling pybackpack to back up /, subject to an excludes list.

My script is:

#!/bin/bash
sudo rdiff-backup
--include-globbing-filelist /home/jjj/rdiff_excludes.txt / /media/Backups/Full_system_backup_Fedora
2> /home/jjj/rdiff-errors.txt sudo rdiff-backup
2> --list-increment-sizes /media/Backups/Full_system_backup_Fedora
2> > /home/jjj/rdiff-stats.txt

When I run the script I get:

[jjj at Devil8 ~]$ ./rdiff-backup_script 
Exception 'list index out of range' raised of class '<type
	exceptions.IndexError'>': File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 304, in
	error_check_Main try: Main(arglist) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 324, in
	Main take_action(rps) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 287, in
	take_action elif action == 'list-increment-sizes':
ListIncrementSizes(rps[0]) File"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 746, in
	ListIncrementSizes print manage.ListIncrementSizes(restore_root,
	restore_index)File"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py",
	line 202, in ListIncrementSizes triples =
	get_summary_triples(mirror_total, time_dict) File
	"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py",
	line 179, in get_summary_triples mirror_time =
	restore.get_inclist(cur_mir_base)[0].getinctime()
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/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
304, in error_check_Main try: Main(arglist)
  File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
324, in Main take_action(rps)
  File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
287, in take_action elif action == 'list-increment-sizes':
ListIncrementSizes(rps[0]) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line 746, in
ListIncrementSizes print manage.ListIncrementSizes(restore_root,
restore_index) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py", line 202,
in ListIncrementSizes triples = get_summary_triples(mirror_total,
time_dict) File
"/usr/lib64/python2.6/site-packages/rdiff_backup/manage.py", line 179,
in get_summary_triples mirror_time =
restore.get_inclist(cur_mir_base)[0].getinctime() IndexError: list
index out of range

Sorry that came out badly formatted. 

There is not one line of the above errors that means anything to anyone
other than the original developers of rdiff-backup. Unless there is
someone here, that is. If so, please translate for me. 

Frustrated because now my backup has to wait.



More information about the PLUG mailing list