mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-02-15 14:03:32 +02:00
add backup.sh for dokuwiki
This commit is contained in:
parent
e802fb49e5
commit
e0e087b90c
7
dokuwiki/backup.sh
Normal file
7
dokuwiki/backup.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# dokuwiki backup script
|
||||
#
|
||||
|
||||
docker run --rm --volumes-from dokuwiki_dokuwiki_1 -v `pwd`:/backup alpine \
|
||||
tar czf /backup/dw-backup-$(date +%Y%m%d-%H%M%S).tar.gz /var/www/html
|
Loading…
x
Reference in New Issue
Block a user