请教,onsmsync -t命令使用出错,怎么解决?
使用onsmsync -t "2009-11-16 11:00:00"提示如下错误,怎么解决?如何查看数据库的时间格式?谢谢
2009-11-16 10:03:21 3029230219 onsmsync -t 2009-11-16 11:00:00
2009-11-16 10:03:21 3029230219 Invalid Point In Time value specified: .
2009-11-16 10:03:21 3029230219 onsmsync usage
[-g <gen> | -t <time> | -i <interval>] [-s] [-O] [-f <filename> | <spaces>]
-b
-bjust regenerate the emergency bootfile
-fpathname of file containing list of storage spaces
-gnumber of generations/versions of level 0 backup to retain
-itime interval (age) before which objects should be expired
-tdatetime before which objects should be expired
-sskip syncing objects that are already expired from storage manager.
-Ooverride internal error checks - enforce policy strictly
<spaces> list of storage spaces to check for expiration
2009-11-16 10:03:21 3029230219 onsmsync complete, returning 149 (0x95) 似乎你应当指定早于系统当前时间~ 早于系统之前,和之后的都试了,还是不正确,错误提示如上 莫非只能归究于RPWT :shock: :shock:
2009-11-16 14:50:58 155697888 onsmsync -t 2009-11-16 14:00:00
2009-11-16 14:51:00 155697888 Syncing sysutils and bootfile...
2009-11-16 14:51:00 155697888 Successfully connected to Storage Manager.
2009-11-16 14:51:00 155697888 Querying for backups expired at Storage Manager...
2009-11-16 14:51:00 155697888 Building current timeline...
2009-11-16 14:51:00 155697888 Applying expiration policies...
2009-11-16 14:51:00 155697888 (-43305) rootdbs (copy ID 1569304017 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) smartbs (copy ID 1569304018 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) testdbs1 (copy ID 1569304021 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) testdbs2 (copy ID 1569304019 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) workdbs (copy ID 1569304020 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) rootdbs (copy ID 1569304017 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) smartbs (copy ID 1569304018 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) testdbs1 (copy ID 1569304021 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) testdbs2 (copy ID 1569304019 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 (-43305) workdbs (copy ID 1569304020 0) not expired even though it matches the
expiration policy.
2009-11-16 14:51:00 155697888 Regenerating sysutils and bootfile...
2009-11-16 14:51:01 155697888 (-43050) Copy of old emergency bootfile saved in /opt/informix/etc/ixbar.0.20091116.145101 .
2009-11-16 14:51:01 155697888 onsmsync complete, returning 0 (0x00)
页:
[1]