aboutsummaryrefslogtreecommitdiffstats
path: root/modules/blog/templates/backup_blog-db.sh
diff options
context:
space:
mode:
Diffstat (limited to 'modules/blog/templates/backup_blog-db.sh')
-rwxr-xr-xmodules/blog/templates/backup_blog-db.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/blog/templates/backup_blog-db.sh b/modules/blog/templates/backup_blog-db.sh
index 91996d25..2cd86fbb 100755
--- a/modules/blog/templates/backup_blog-db.sh
+++ b/modules/blog/templates/backup_blog-db.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Initialization
-PATH_TO_FILE=${PATH_TO_FILE:-/var/lib/blog/backup}
+PATH_TO_FILE=${PATH_TO_FILE:-<%= blog_db_backupdir %>}
[ ! -f $PATH_TO_FILE/count ] && echo 0 > $PATH_TO_FILE/count
COUNT=$(cat "$PATH_TO_FILE/count")
# Backup each locale DB