Comments (2)
This script is a workaround. It finds directories with multiple current_mirror entries. The ones with more than two are the culprit.
#!/bin/bash
# https://stackoverflow.com/questions/9157138/recursively-counting-files-in-a-linux-directory
#
# get the current mirrors
# param 1: filter
#
get_current_mirrors() {
local l_filter="$1"
for f in $(find . -name current_m* ) ; do
d=$(dirname $f)
b=$(basename $f)
case $l_filter in
"dir") echo $d;;
"file") echo $f;;
*) echo $f
esac
done
}
#get_current_mirrors
#get_current_mirrors file
get_current_mirrors dir | sort | uniq --count --repeated
from rdiff-backup.
Adding % Globals.rbdir.get_safepath()
to assert len(curmir_incs) == 2, "Found too many current_mirror incs!"
in src/rdiff_backup/Main.py
line 1100 will fix the issue. I'll do it once #60 is closed.
from rdiff-backup.
Related Issues (20)
- [BUG] rdiffbackup module fail to load with captured stderr and stdout HOT 2
- [BUG] remove increments --force argument unrecognized HOT 2
- Is it possible to define the time to be used on rdiff-backup backup? HOT 2
- Bookworm upgrade: WARNING: this command line interface is deprecated and will disappear HOT 2
- [BUG] ActionListTest.test_action_listincrements fails in sufficiently-negative-from-UTC timezones HOT 1
- Is it possible to use rdiff-backup without being installed on remote systems? HOT 1
- [BUG] Test failures HOT 8
- [BUG] Getting deprication warning of usage of old command line interface despite already using new HOT 1
- [BUG] Compressed file ended before the end-of-stream marker was reached HOT 4
- [BUG] Building fails in timezone UTC+3 HOT 4
- Remove directory from backup without rdiff-backup-delete present? HOT 2
- Backupninja spits individual file warnings HOT 5
- [ENH] Option to limit total size using remove increments HOT 1
- [BUG] DOC: Link broken on Fuse link
- Attempt to backup arbitrary files and dirs HOT 2
- [BUG] Version 2.2.6-1 warns about deprecated interface HOT 1
- How to pause a backup to Continue later HOT 1
- [BUG] 2.2.6 Unconditionally warns when api-version <= 200 HOT 3
- Understanding permission error[?] HOT 1
- [BUG] rdiff-backup fails to build with Python 3.13: Missing <unistd.h> declaration HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rdiff-backup.