2

we recently performed an upgrade of our whole perforce system to 2009.02

During this exercise, we noticed that the back-up /restore process that was installed here by the Perforce consultant a year ago was not completely working. Basically, the verify command has never worked (scary !).

As we are obliged to revisit our Back-Up/Restore scripts, I was toying with the idea of using the new p4 replicate command. The idea is to use it alongside an rsync of the data files, so that in case of crash we will lose at worst an hour of work (if we execute them every hour).

Does anyone has the experience or an example of back-up/restore scripts using the p4 replicate command of the 2009.02 version ?

Thanks,

Thomas

4

2 に答える 2

2

あなたの質問はほぼ1年前のものですが、まだ興味がある場合は、あなたが話していることを正確に実装しました. あなたが質問した頃にやったのですが、このサイトのことは知りませんでした。メタデータのレプリケーションに沿った rsync はうまく機能します。まだ本番環境で使用しています。レプリカの経過時間はさまざまですが、ほとんどの場合、数分未満です。

- マイク

于 2011-06-07T13:13:18.183 に答える
0

FWIW、最新バージョン 2010.2 では、p4 pullコマンドはバージョン管理されたファイルとメタデータをコピーするため、別の rsync は必要ありません。

于 2011-06-08T18:07:27.663 に答える