mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
Add maps directory to sftp backend
This commit is contained in:
parent
923a9fa49b
commit
26cd6c5372
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user