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.
3 lines
96 B
Bash
Executable File
3 lines
96 B
Bash
Executable File
#!/bin/bash
|
|
# Unmount SMB share for vaultwarden backup cleanup
|
|
umount /mnt/netbackup 2>/dev/null |