以下是Ubuntu系统上Informix数据库的常用备份方法:
使用dbexport/dbimport工具
dbexport -d 数据库名 -c "密码" -f 备份文件名dbimport -d 数据库名 -c "密码" -f 备份文件名使用ontape工具
ontape -s -L 0 -c /备份路径ontape -a(自动备份)或ontape -c(连续备份)ontape -r -D 数据库空间(指定恢复目标)使用onbar工具(支持并行备份)
onbar -b -c /备份路径 -f 备份名onbar -r -c /备份路径 -f 备份名 -d 数据库名系统级工具备份
tar命令:打包数据库文件和配置文件,如tar -czvf 备份文件.tar.gz /path/to/informix。注意事项:
onbar。TAPEDEV等配置)。