Use new archiver code for backup

This commit is contained in:
Alexander Neumann
2018-04-22 11:57:20 +02:00
parent c703d21d55
commit 0e78ac92d8
9 changed files with 863 additions and 337 deletions

View File

@@ -2,7 +2,6 @@ package archiver
import (
"context"
"fmt"
"io/ioutil"
"os"
"path/filepath"
@@ -274,7 +273,6 @@ func (repo *blobCountingRepo) SaveTree(ctx context.Context, t *restic.Tree) (res
repo.m.Lock()
repo.saved[h]++
repo.m.Unlock()
fmt.Printf("savetree %v", h)
return id, err
}