Files
scripts/vaultwarden-backup-helpers/umount-smb.sh
bdm d27e93d220 Track vaultwarden backup and restore scripts
Daily SQLite backup to the NetBackup SMB share plus restore/import/export
helpers.

SMB credentials moved out of the scripts into ~/.smbcredentials (mode 600)
and are passed to smbclient via -A instead of -U "user%pass". This keeps
the password out of version control and out of the process list, where
-U exposes it to any local user through ps.
2026-09-28 06:24:25 -07:00

3 lines
96 B
Bash
Executable File

#!/bin/bash
# Unmount SMB share for vaultwarden backup cleanup
umount /mnt/netbackup 2>/dev/null