kyototycoon backup

http://fallabs.com/blog-ja/promenade.cgi?id=108

こちらを参考にbackupコマンドを書いて、syncでコマンド実行を利用してみたいと思います。

ktremotemgr sync [-host str] [-port num] [-tout num] [-swname str] [-swtime num] [-ssname str] [-ssbrd] [-db str] [-hard] [-cmd str]
Synchronizes updated contents with the file and the device.

コマンドスクリプトの書き方がイマイチわからないけど
よくわからないので、同じ構成で試してみる。複数DBも同じなのかな

ktremotemgr: DB::synchronize failed: :50321: 5: internal error: DB: 8: logical inconsistency: postprocessing failed

よくわからないけどエラー。
コマンドスクリプトに実行権限がないとこのエラーがでるようです。

$ ktremotemgr sync -port 50321 -db item.0.kch -cmd dbbackup

こんな感じでコピー成功しました。
779865904 8月 6 23:40 2012 item.0.kch
779865904 8月 6 23:40 2012 item.0.kch.01344264007337000000

This entry was posted on 月曜日, 8月 6th, 2012 at 11:25 PM and is filed under Kyototycoon/cabinet. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。