17 lines
310 B
Bash
Executable file
17 lines
310 B
Bash
Executable file
#!/run/current-system/sw/bin/zsh
|
|
|
|
now=$(date +'%Y-%m-%d')
|
|
|
|
# Documents
|
|
cd /home/horseman
|
|
tar -cf backups/documents-$now.tar Documents
|
|
|
|
# Vaultwarden
|
|
cd /home/horseman
|
|
tar -cf backups/vaultwarden-$now.tar docker/vaultwarden/data
|
|
|
|
# Forgejo
|
|
cd /home/horseman
|
|
tar -cf backups/git-$now.tar docker/git/data
|
|
|
|
exit 0
|