1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00

update dokuwiki admin script

This commit is contained in:
kev 2016-05-06 09:07:06 +08:00
parent 3b7909a71f
commit 946d91df8b
2 changed files with 6 additions and 2 deletions

View File

@ -15,7 +15,6 @@ dockerfiles
- [ ] cloudtunes
- [ ] ffmpeg
- [ ] freegeoip
- [ ] gitlab
- [ ] gitolite
- [ ] hashcat
- [ ] irc

View File

@ -1,7 +1,12 @@
#!/bin/bash
#
# dokuwiki backup/restore script
# DokuWiki backup/restore script
#
# WARNING: It will mount current directory as a volume.
# Related files should be in current directory.
#
cd "$(dirname "${BASH_SOURCE[0]}")"
ACTION=${1:?action is required}
FILENAME=${2:-dw-backup-$(date +%Y%m%d-%H%M%S).tar.gz}