Backups: Add backup host config

This commit is contained in:
2023-12-25 18:35:54 +01:00
parent 75c04207b6
commit 1c617917e6
3 changed files with 90 additions and 0 deletions

View File

@ -0,0 +1,8 @@
[Unit]
Description=storagebox automount
[Automount]
Where=/var/home/backup/storagebox
[Install]
WantedBy=multi-user.target

View File

@ -0,0 +1,14 @@
[Unit]
Description=Mount storagebox with sshfs
After=network-online.target
Wants=network-online.target
[Install]
WantedBy=default.target
[Mount]
What=u309229-sub6@u309229.your-storagebox.de:
Where=/var/home/backup/storagebox
Type=fuse.sshfs
Options=_netdev,reconnect,delay_connect,ServerAliveInterval=30,ServerAliveCountMax=5,x-systemd.automount,Port=23,IdentityFile=/var/home/backup/.ssh/storagebox
TimeoutSec=60