fixed typo for multiline
This commit is contained in:
@@ -33,8 +33,7 @@ TheGauntsRouterSSHFSMountDirectory="${SSHFSMountDirectory}/${DNSName}"
|
||||
/usr/bin/echo ${TheGauntsRouterEncryptedRootPassword} | \
|
||||
/usr/bin/clevis decrypt | \
|
||||
/usr/bin/sshfs -o password_stdin -o ro root@${DNSName}:/ ${TheGauntsRouterSSHFSMountDirectory} && \
|
||||
/usr/bin/proxmox-backup-client backup conf.pxar:${TheGauntsRouterSSHFSMountDirectory}/conf bpsensei.pxar:${TheGauntsRouterSSHFSMountDirectory}/usr/local/bpsensei --backup-id
|
||||
TheGauntsRouter --ns Hosts --repository GauntPBS01-Helper@pbs@gauntpbs01.home.johnhgaunt.com:8007:GauntPBS01-Local
|
||||
/usr/bin/proxmox-backup-client backup conf.pxar:${TheGauntsRouterSSHFSMountDirectory}/conf bpsensei.pxar:${TheGauntsRouterSSHFSMountDirectory}/usr/local/bpsensei --backup-id TheGauntsRouter --ns Hosts --repository GauntPBS01-Helper@pbs@gauntpbs01.home.johnhgaunt.com:8007:GauntPBS01-Local
|
||||
# umount and remove directory
|
||||
/usr/bin/umount --force --lazy --quiet ${TheGauntsRouterSSHFSMountDirectory} && \
|
||||
/usr/bin/rmdir ${TheGauntsRouterSSHFSMountDirectory}
|
||||
@@ -46,8 +45,7 @@ GauntNASSSHFSMountDirectory="${SSHFSMountDirectory}/${DNSName}"
|
||||
/usr/bin/echo ${GauntNASEncryptedRootPassword} | \
|
||||
/usr/bin/clevis decrypt | \
|
||||
/usr/bin/sshfs -o password_stdin -o ro root@${DNSName}:/ ${GauntNASSSHFSMountDirectory} && \
|
||||
/usr/bin/proxmox-backup-client backup data.pxar:${GauntNASSSHFSMountDirectory}/data etc.pxar:${GauntNASSSHFSMountDirectory}/etc root.pxar:${GauntNASSSHFSMountDirectory}/root
|
||||
--backup-id GauntNAS --ns Hosts --repository GauntPBS01-Helper@pbs@gauntpbs01.home.johnhgaunt.com:8007:GauntPBS01-Local
|
||||
/usr/bin/proxmox-backup-client backup data.pxar:${GauntNASSSHFSMountDirectory}/data etc.pxar:${GauntNASSSHFSMountDirectory}/etc root.pxar:${GauntNASSSHFSMountDirectory}/root --backup-id GauntNAS --ns Hosts --repository GauntPBS01-Helper@pbs@gauntpbs01.home.johnhgaunt.com:8007:GauntPBS01-Local
|
||||
# umount and remove directory
|
||||
/usr/bin/umount --force --lazy --quiet ${GauntNASSSHFSMountDirectory} && \
|
||||
/usr/bin/rmdir ${GauntNASSSHFSMountDirectory}
|
||||
Reference in New Issue
Block a user