[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems with backup after using rdiff-backup-delete.py
From: |
David Bristow |
Subject: |
Problems with backup after using rdiff-backup-delete.py |
Date: |
Mon, 4 Nov 2019 14:22:12 -0500 |
Hello,
I had to delete all references to a folder in one of my backups, using
rdiff-backup-delete.py, which one of the devs basically wrote for us.
The script completely removes certain files from the backup going back
to the first time it was used. This is due to the customer requiring
that all copies of certain files are removed.
We used rdiff-backup-delete.py to delete a folder, "ibest", last week.
The folder was removed, but every back up since then has been giving
errors (see below this message).
"ibest" was the name of the top-level folder whose contents, including
all sub-folders, totally about 250 files and about 2.4G storage, had
been deleted from the source. All metadata and references to these
folders should have been deleted by rdiff-bacup-delete.py.
We are running rdiff-backup-1.2.8-7.el6.x86_64 running on a RHEL box.
Thanks,
David
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
280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
337, in Backup
backup_final_init(rpout)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
501, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
920, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/regress.py",
line 71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/regress.py",
line 197, in iterate_meta_rfs
for raw_rf, metadata_rorp in collated:
File "/usr/lib64/python2.6/site-packages/rdiff_backup/rorpiter.py",
line 100, in Collate2Iters
try: relem2 = riter2.next()
File "/usr/lib64/python2.6/site-packages/rdiff_backup/eas_acls.py",
line 210, in join_ea_iter
assert rorp, "Missing rorp for index %s" % (ea.index,)
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
280, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
337, in Backup
backup_final_init(rpout)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
501, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/Main.py", line
920, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/regress.py",
line 71, in Regress
for rf in iterate_meta_rfs(mirror_rp, inc_rpath): ITR(rf.index, rf)
File "/usr/lib64/python2.6/site-packages/rdiff_backup/regress.py",
line 197, in iterate_meta_rfs
for raw_rf, metadata_rorp in collated:
File "/usr/lib64/python2.6/site-packages/rdiff_backup/rorpiter.py",
line 100, in Collate2Iters
try: relem2 = riter2.next()
File "/usr/lib64/python2.6/site-packages/rdiff_backup/eas_acls.py",
line 210, in join_ea_iter
assert rorp, "Missing rorp for index %s" % (ea.index,)
AssertionError: Missing rorp for index ('ibest', 'original_data',
'gates_study', '0506', 'basicskillssesa56.dta')
- Problems with backup after using rdiff-backup-delete.py,
David Bristow <=