summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2007-12-02 20:34:53 +0000
committerAndreas Brachold <vdr07@deltab.de>2007-12-02 20:34:53 +0000
commit16be0fc1027a046e1a3aa1bb8d2bbcbe662f641a (patch)
tree024e2d7eb4bbbbe81c33f1065881b1c55c0a2e9d /contrib
parent1f3c2bc25fdacdf33c7b2161a083dba3d1590d09 (diff)
downloadxxv-16be0fc1027a046e1a3aa1bb8d2bbcbe662f641a.tar.gz
xxv-16be0fc1027a046e1a3aa1bb8d2bbcbe662f641a.tar.bz2
* contrib/update-xxv: fix typo
TIMERS: On VPS assign event based vpsstarttime RECORDS: reorder inotify function
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/update-xxv4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/update-xxv b/contrib/update-xxv
index dd2d31a..9fdd01c 100755
--- a/contrib/update-xxv
+++ b/contrib/update-xxv
@@ -140,7 +140,7 @@ importDb()
showInfo 'Restoring Data'
for table in $tables ; do
savFile="$exportDir/$table.sav"
- if [ -e "$savfile" ]; then
+ if [ -e "$savFile" ]; then
if ! eval mysql $mysqlParams -f -B $database -e \
"\"load data infile '$savFile' into table $table;\"" ; then
showError "Can't load table '$table'"
@@ -289,7 +289,7 @@ fi
# backup
if [ -n $backupTarget ] ; then
showInfo 'Performing backup...'
- mysqldump $mysqlParams $database | gzip >"$backupTarget.gz" 2>/dev/null
+ mysqldump $mysqlParams $database $tables | gzip >"$backupTarget.gz" 2>/dev/null
if [ $? -ne 0 ] ; then
showError 'Backup failed!!!'
exit 1