Browse Source

also copy the cache config file to workaround #234

Antoine Beaupré 9 years ago
parent
commit
3e7fa0d633
1 changed files with 1 additions and 1 deletions
  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'))