initial commit of bin scripts into git

This commit is contained in:
2023-11-08 13:38:19 +11:00
commit 3735eea3c6
113 changed files with 11631 additions and 0 deletions

8
backup-bw-to-du Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
LOG=/home/ddp/tmp/bw-bkup.log
sudo tar zcf ~/tmp/bw.tgz /srv/docker/container/bitwarden_rs >> $LOG
sudo chown ddp:ddp ~/tmp/bw.tgz >> $LOG
scp ~/tmp/bw.tgz interactive.deakin.edu.au:~ >> $LOG
echo "completed backing up bitwarden to DU at `date`" >> $LOG