day of week

This commit is contained in:
Andrew Hurley 2022-12-13 17:39:31 +08:00
parent 92570c796e
commit 4367f4b69b
1 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
#!/bin/bash #!/bin/bash
pushd /srv/backup && ./vvv.sh docker && ./vvv.sh mailus && nice ./v2b.sh -u backup && popd pushd /srv/backup && \
printf "Backup start: $(date)\n" && \
./vvv.sh docker && \
nice ./v2b.sh -u backup && \
rsync -av --mkpath ./_vols_/ "/srv/fsback/docker/$(date +%^a)/" && \
printf "Backup end: $(date)\n" && \
popd