Switch backrest backup mount from NFS to SMB for reliable reconnection after drive spin-up
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
.credentials
|
.credentials
|
||||||
|
**/.env
|
||||||
|
|||||||
@@ -4,9 +4,9 @@ volumes:
|
|||||||
backup-mnt:
|
backup-mnt:
|
||||||
driver: local
|
driver: local
|
||||||
driver_opts:
|
driver_opts:
|
||||||
type: nfs
|
type: cifs
|
||||||
o: "addr=192.168.1.192,rw,noatime,rsize=8192,wsize=8192,tcp,timeo=14,nolock,soft,nfsvers=4"
|
o: "addr=192.168.1.192,username=${SMB_USERNAME},password=${SMB_PASSWORD},vers=3.0,uid=1000,gid=1000,file_mode=0755,dir_mode=0755,iocharset=utf8"
|
||||||
device: " :/mnt/user/backup/nas-docker-data"
|
device: "//192.168.1.192/backup/nas-docker-data"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
backrest:
|
backrest:
|
||||||
|
|||||||
Reference in New Issue
Block a user