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.
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
- Prev ドラゴンタトゥーの女、ドライブ | 映画
- Next 定額聴き放題サービスは?
- Prev github.com使ってみた。公開してみた。
- Next php kyototycoon