#How to make a backup of a mounted drive?

1 messages · Page 1 of 1 (latest)

ebon dagger
#

I'm trying to setup Immich so it uses an external USB drive. After a long fight, I have been able to do so by mounting the drive using Samba NAS 2.

When I do df -h I get:

Filesystem                Size      Used Available Use% Mounted on
overlay                 234.0G    158.8G     65.6G  71% /
/dev/sda8               234.0G    158.8G     65.6G  71% /ssl
/dev/sda8               234.0G    158.8G     65.6G  71% /homeassistant
/dev/sda8               234.0G    158.8G     65.6G  71% /addon_configs
devtmpfs                  3.8G         0      3.8G   0% /dev
tmpfs                     3.8G         0      3.8G   0% /dev/shm
/dev/sda8               234.0G    158.8G     65.6G  71% /data
/dev/sda8               234.0G    158.8G     65.6G  71% /media
/dev/sda8               234.0G    158.8G     65.6G  71% /backup
/dev/sda8               234.0G    158.8G     65.6G  71% /addons
/dev/sda8               234.0G    158.8G     65.6G  71% /share
//172.30.32.1/immich2
                         54.1G      2.9G     51.2G   5% /share/immich2
/dev/sda8               234.0G    158.8G     65.6G  71% /run/audio

(trimmed the response a bit to remove irrelevant items)

That immich2 folder is my goal. I have tried using both HA backups and the Google Drive add-on, but they back up the /share/ and the mounted folder is not in the backup. It gets ignored for some reason.

Filebrowser can see it though, and I can via smb as well.

I want to do automatic backups of that folder to Google Drive.