sshfs map user, rsync backup with remote option

This commit is contained in:
Ville Rantanen
2022-10-04 18:45:30 +03:00
parent c377431c1a
commit 4344303e7c
2 changed files with 16 additions and 1 deletions

View File

@@ -93,6 +93,8 @@ if [[ $device1 = $device2 ]]; then
eval sshfs \
-o reconnect \
-o uid=`id -u` \
-o gid=`id -g` \
-o ServerAliveInterval=45,ServerAliveCountMax=2 \
$NOSAVE \
-o follow_symlinks "$valid_name$path" "$valid_name"