We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d780ad5 commit 62f689fCopy full SHA for 62f689f
mongodb_consistent_backup/State.py
@@ -132,9 +132,9 @@ def load_backups(self):
132
if os.path.isdir(self.base_dir):
133
for subdir in os.listdir(self.base_dir):
134
try:
135
- if subdir == self.meta_name:
+ bkp_path = os.path.join(self.base_dir, subdir)
136
+ if subdir == self.meta_name or os.path.islink(bkp_path):
137
continue
- bkp_path = os.path.join(self.base_dir, subdir)
138
state_path = os.path.join(bkp_path, self.meta_name)
139
state_file = os.path.join(state_path, "meta.bson")
140
done_path = os.path.join(state_path, "done.bson")
0 commit comments