Changeset 2423
- Timestamp:
- 10/22/08 01:46:39 (5 years ago)
- File:
-
- 1 edited
-
alternc/trunk/src/sqlbackup.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
alternc/trunk/src/sqlbackup.sh
r2421 r2423 246 246 command="mysqldump --defaults-file=/etc/alternc/my.cnf --add-drop-table --allow-keywords --quote-names --force --quick --add-locks --lock-tables --extended-insert $db" 247 247 if [ "$compressed" -eq 1 ] ; then 248 $command = "$command | gzip -c" 248 debug "$command > ${target_dir}/${name_backup_file}.sql${ext}" 249 $command | gzip -c > "${target_dir}/${name_backup_file}.sql${ext}" 250 else 251 debug "$command > ${target_dir}/${name_backup_file}.sql${ext}" 252 $command > "${target_dir}/${name_backup_file}.sql${ext}" 249 253 fi 250 debug "$command > ${target_dir}/${name_backup_file}.sql${ext}"251 $command > "${target_dir}/${name_backup_file}.sql${ext}"252 254 fi 253 255
Note: See TracChangeset
for help on using the changeset viewer.
