initial commit of bin scripts into git
This commit is contained in:
8
backup-bw-to-du
Executable file
8
backup-bw-to-du
Executable 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
|
||||
Reference in New Issue
Block a user