informix怎样自动备份到磁带机

pioul 2003-06-22 12:29:01
每天晚上00点自动备份一次
...全文
121 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhaoye2000 2003-06-30
  • 打赏
  • 举报
回复
finderr 23101
-23101 Unable to load locale categories.

An invalid locale name was supplied for the locale initialization.
The environment variable to specify the locale category has a wrong
value. Check the value of the corresponding environment variable,
CLIENT_LOCALE or DB_LOCALE. Also check if INFORMIXDIR points to a valid
directory where Informix products are installed.

If a client application receives this error when it requests a database
server connection, check that the client and database locales are
compatible. They are compatible if a valid locale exists on the server
computer with the name lg_tr.codeset@mod, where lg_tr (language and
territory) and mod (locale modifier) are from the CLIENT_LOCALE and
codeset is from the database locale (from the DB_LOCALE, if it is set,
or as stored in the database).


你的shell没有包含informix的.profile内容
pioul 2003-06-28
  • 打赏
  • 举报
回复
写不写shell应该都一样吧?initgls error -23101 是什么意思?
wenlq 2003-06-27
  • 打赏
  • 举报
回复
写个shell 吧,把要用到的环境变量写在前面,如INFORMIXSERVER DB_LOCALE等等。
crontab 里定时运行这个shell.

但我发现ontape 要输入回车 是个问题。
pioul 2003-06-27
  • 打赏
  • 举报
回复
我用crontab -e informix
0 0 * * * echo` `|/opt/informix/bin/ontape -s -L 0 >/tmp/Autoback.log 2>&1
结果
Autoback.log 内容为initgls error -23101
是什么意思?
wenlq 2003-06-24
  • 打赏
  • 举报
回复
用crontab 来实现吧。
你要用什么来备份?

1,195

社区成员

发帖
与我相关
我的任务
社区描述
其他数据库开发 Informix
社区管理员
  • Informix社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧