Google datastore backup to local dev_appserver

2019-09-02 04:21发布

I'm trying to follow those instructions: https://gist.github.com/jehna/3b258f5287fcc181aacf

I've downloaded my backup, made the script go to the path but it seems like the code won't get into the loop "for record in reader:" on windows. I read about it and from my impression it has to do with to format of the file (leveldb) which is not supported in windows that good. Do you have any insights/solutions about that?

Thanks

1条回答
ゆ 、 Hurt°
2楼-- · 2019-09-02 04:52

This code work on windows when chaging file openning permissions from 'r' to 'rb' in windows

查看更多
登录 后发表回答