DB2:restore数据库在Linux上返回错误SQL2036N

DB2:restore数据库在Linux上返回错误SQL2036N,db2,backup,db2-luw,Db2,Backup,Db2 Luw,我试图恢复一个DB2数据库,但它说返回路径无效 这就是我所尝试的: db2 restore database gyczpas from "/home/db2inst1/GYCZPAS/PAS_BACKUP/GYCZPAS.0.db2inst1.NODE0000.CATN0000.20170109092932.001" taken at 20170109092932 into gyczpas SQL2036N The path for the file or device "/home/db2i

我试图恢复一个DB2数据库,但它说返回路径无效

这就是我所尝试的:

db2 restore database gyczpas from "/home/db2inst1/GYCZPAS/PAS_BACKUP/GYCZPAS.0.db2inst1.NODE0000.CATN0000.20170109092932.001" taken at 20170109092932 into gyczpas
SQL2036N  The path for the file or device "/home/db2inst1/GYCZPAS/PAS_BACKUP/GYCZPAS.0.db2inst1.NODE0000.CATN000" is not valid.
我在
RESTORE
期间使用了与
BACKUP
命令相同的路径,但失败了。原因可能是什么


DB22版本:v9.7

您使用的是文件名,而不是路径。尝试以下操作-仅指定路径:

db2 restore database gyczpas from "/home/db2inst1/GYCZPAS/PAS_BACKUP" taken at 20170109092932 into gyczpas

您使用的是文件名,而不是的路径。尝试以下操作-仅指定路径:

db2 restore database gyczpas from "/home/db2inst1/GYCZPAS/PAS_BACKUP" taken at 20170109092932 into gyczpas