chore(backup_docker): move specialt torrent mountpoint, add fstab and exports

This commit is contained in:
lucas committed 2026-11-14 16:37:18 +01:00
1 parent c7b076d414
commit e542d5fd02
3 files changed
+34 -1

No files matched your search

+15
View File
@@ -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)
+18
View File
@@ -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).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / 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
@@ -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