浏览代码

also copy the cache config file to workaround #234

Antoine Beaupré 9 年之前
父节点
当前提交
3e7fa0d633
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      borg/converter.py

+ 1 - 1
borg/converter.py

@@ -147,7 +147,7 @@ class AtticRepositoryConverter(Repository):
 
         # XXX: untested, because generating cache files is a PITA, see
         # Archiver.do_create() for proof
-        for cache in [ 'files', 'chunks' ]:
+        for cache in [ 'files', 'chunks', 'config' ]:
             attic_cache = os.path.join(attic_cache_dir, hexlify(self.id).decode('ascii'), cache)
             if os.path.exists(attic_cache):
                 borg_cache_dir = os.path.join(get_cache_dir(), hexlify(self.id).decode('ascii'))