Added backup-keepassxc-db.sh

This commit is contained in:
Alexander Rosenberg 2023-05-09 00:56:37 -07:00
parent 2087590a8f
commit f7535dfe36
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

4
backup-keepassxc-db.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env zsh
local datetime="$(date +'d%d-%m-%Y_t%H-%M-%S')"
local filename="keepassxc-db-backup-${datetime}.tar.gz"
tar -caf "${HOME}/nextcloud/KeePassXC/${filename}" "${HOME}/.keepassxc"