Firebird Shadow on a shared folder (windows os)

て烟熏妆下的殇ゞ 提交于 2021-02-08 10:24:14

问题


I'm using isql command to create a shadow file on a shared windows folder! is this the right command?

SQL> create shadow 5 AUTO '\\bma-pc\shadows\PERSO5.SHD';                    
Statement failed, SQLSTATE = HY000                                          
unsuccessful metadata update                                                
-A node name is not permitted in a secondary, shadow, cache or log file name

It's fine on a local folder


回答1:


Firebird prohibits this by default. It's primarily because it cannot guarantee exclusive access or the order of writes. Look for the RemoteFileOpenAbility option in firebird.conf to override. There are comments on why this is risky.



来源:https://stackoverflow.com/questions/53192079/firebird-shadow-on-a-shared-folder-windows-os

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!