From 16be0fc1027a046e1a3aa1bb8d2bbcbe662f641a Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Sun, 2 Dec 2007 20:34:53 +0000 Subject: * contrib/update-xxv: fix typo TIMERS: On VPS assign event based vpsstarttime RECORDS: reorder inotify function --- contrib/update-xxv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') 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 -- cgit v1.2.3