2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-22 19:08:55 +00:00

Add maps directory to sftp backend

This commit is contained in:
Alexander Neumann 2014-11-23 23:37:40 +01:00
parent 923a9fa49b
commit 26cd6c5372

View File

@ -77,6 +77,7 @@ func OpenSFTP(dir string, program string, args ...string) (*SFTP, error) {
filepath.Join(dir, dataPath), filepath.Join(dir, dataPath),
filepath.Join(dir, snapshotPath), filepath.Join(dir, snapshotPath),
filepath.Join(dir, treePath), filepath.Join(dir, treePath),
filepath.Join(dir, mapPath),
filepath.Join(dir, lockPath), filepath.Join(dir, lockPath),
filepath.Join(dir, keyPath), filepath.Join(dir, keyPath),
filepath.Join(dir, tempPath), filepath.Join(dir, tempPath),
@ -133,6 +134,7 @@ func CreateSFTP(dir string, program string, args ...string) (*SFTP, error) {
filepath.Join(dir, dataPath), filepath.Join(dir, dataPath),
filepath.Join(dir, snapshotPath), filepath.Join(dir, snapshotPath),
filepath.Join(dir, treePath), filepath.Join(dir, treePath),
filepath.Join(dir, mapPath),
filepath.Join(dir, lockPath), filepath.Join(dir, lockPath),
filepath.Join(dir, keyPath), filepath.Join(dir, keyPath),
filepath.Join(dir, tempPath), filepath.Join(dir, tempPath),