From e542d5fd02b08175288ebb64509c1bcbe9376d0c Mon Sep 17 00:00:00 2001 From: Lucas Serverhost Date: Sat, 14 Nov 2026 16:37:18 +0100 Subject: [PATCH] chore(backup_docker): move specialt torrent mountpoint, add fstab and exports --- docker_compose/serverhost/exports | 15 +++++++++++++++ docker_compose/serverhost/fstab | 18 ++++++++++++++++++ .../serverhost/qbittorrent/docker-compose.yaml | 2 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 docker_compose/serverhost/exports create mode 100644 docker_compose/serverhost/fstab diff --git a/docker_compose/serverhost/exports b/docker_compose/serverhost/exports new file mode 100644 index 0000000..864b1c6 --- /dev/null +++ b/docker_compose/serverhost/exports @@ -0,0 +1,15 @@ +# /etc/exports: the access control list for filesystems which may be exported +# to NFS clients. See exports(5). +# +# Example for NFSv2 and NFSv3: +# /srv/homes hostname1(rw,sync,no_subtree_check) hostname2(ro,sync,no_subtree_check) +# +# Example for NFSv4: +# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt,no_subtree_check) +# /srv/nfs4/homes gss/krb5i(rw,sync,no_subtree_check) +# +/torrent/qbittorrent-private/downloads 192.168.0.4(rw,sync,no_subtree_check) +/torrent/qbittorrent-public/downloads/ 192.168.0.4(rw,sync,no_subtree_check) +/special-torrent/torrent/ 192.168.0.4(rw,sync,no_subtree_check) +#/backup/homeassistant 192.168.0.4(rw,sync,no_subtree_check) + diff --git a/docker_compose/serverhost/fstab b/docker_compose/serverhost/fstab new file mode 100644 index 0000000..3ea8ea3 --- /dev/null +++ b/docker_compose/serverhost/fstab @@ -0,0 +1,18 @@ +# /etc/fstab: static file system information. +# +# Use 'blkid' to print the universally unique identifier for a +# device; this may be used with UUID= as a more robust way to name devices +# that works even if disks are added and removed. See fstab(5). +# +# +# / was on /dev/sdb3 during curtin installation +/dev/disk/by-uuid/78ad42f7-ea96-4979-9d97-ebed17e8e794 / ext4 defaults 0 1 +# /boot/efi was on /dev/sdb1 during curtin installation +/dev/disk/by-uuid/B2BA-82AA /boot/efi vfat defaults 0 1 +# /docker was on /dev/sdb4 during curtin installation +/dev/disk/by-uuid/91e3f4d6-cb10-4627-9e3f-59382832b489 /docker ext4 defaults 0 1 +# /data was on /dev/sdb5 during curtin installation +/dev/disk/by-uuid/97e0ba27-0cf7-4502-9f8d-d2fac39cc941 /special-torrent ext4 defaults 0 1 +/swap.img none swap sw 0 0 +/dev/disk/by-uuid/98695b57-1d90-484d-9347-c886c6395050 /torrent ext4 defaults 0 1 +192.168.0.4:/data/torrent/qbittorrent/mediahost /torrent/qbittorrent/mediahost nfs defaults,nofail,x-systemd.automount,x-systemd.mount-timeout=30,_netdev 0 0 diff --git a/docker_compose/serverhost/qbittorrent/docker-compose.yaml b/docker_compose/serverhost/qbittorrent/docker-compose.yaml index 1b1a865..d566415 100644 --- a/docker_compose/serverhost/qbittorrent/docker-compose.yaml +++ b/docker_compose/serverhost/qbittorrent/docker-compose.yaml @@ -46,7 +46,7 @@ services: - "/home/lucas/scripts/torrent:/hostscripts:ro" - "/torrent/qbittorrent-public/downloads:/downloads-public" - "/torrent/qbittorrent-public/torrents:/torrents" - - "/data/torrent:/downloads-special" + - "/special-torrent/torrent:/downloads-special" - "/torrent/qbittorrent/mediahost:/mediahost" gluetun: image: qmcgaw/gluetun:latest