From 58d39a3f519f268656a2663c98419c2a5c3f54f3 Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 8 Jun 2020 08:47:57 -0500 Subject: [PATCH] Do the same for Doku --- roles/dokuwiki/templates/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dokuwiki/templates/backup.sh b/roles/dokuwiki/templates/backup.sh index 3453bee..99ac041 100644 --- a/roles/dokuwiki/templates/backup.sh +++ b/roles/dokuwiki/templates/backup.sh @@ -34,5 +34,5 @@ if (( currentbackupcount >= retention )); then fi fi # WE MAKE BACKUP NOW SERGEI -tar czf "$OUTDIR/$(date -Iseconds).tar.gz" "{{ dokuwiki_webroot }}" +tar czf "$OUTDIR/{{ dokuwiki_url }}-$(date -Iseconds).tar.gz" "{{ dokuwiki_webroot }}"