rdiff-backupにE -バックアップ is a popular, free, open source mirroring and incremental backup system for posix based operating systems like linux & Mac OS X. It uses rysnc algorithm through librsync but it doesn’t use rsync.は、人気、無料、フリー、オープンソースのミラーリングやPOSIXの増分バックアップシステムをベースオペレーティングシステムのLinux & Mac OS Xのようなrysncアルゴリズムを使用しlibrsyncことはできませんrsyncを使用します。 The documentation of rdiff-backup focuses on push model for backup where client machines pushes their backup data to backup server.のドキュメントのバックアップに焦点を当てにE -プッシュモデルをプッシュクライアントマシンのバックアップどこにデータをバックアップサーバーにバックアップします。 This model is problematic when the backup server is on a well protected secure network behind a firewall.このモデルは、問題のときにバックアップサーバーが十分に保護さは、安全なネットワークをファイアウォールの背後です。 Client machines on external servers cannot easily connect to a machine behind firewall without punching a hole which reduces security of the system.クライアントマシン上の外部サーバーに接続するには、マシンを簡単にすることはできませんファイアウォールの背後に穴を開けるパンチがなく、システムのセキュリティを低減します。 A better alternative is to use the pull model where the backup server requests for backup from client machine, at regular intervals, over secure ssh connection.より良い代替プルモデルを使用するには、バックアップサーバーは、クライアントマシンからのバックアップの要求は、定期的には、 ssh接続をセキュリティで保護します。

The steps are as follows:の手順は以下のとおり:
1. 1 。 Create a account on the backup server just for backup purposes.アカウントを作成するにバックアップ用のバックアップサーバだけです。 I named mine backup.私の名前鉱山のバックアップを実行します。 The account password should be disabled.のアカウントのパスワードは無効になっています。 For example you might have the following entries in your passwd/shadow files:例えば、あなたには、以下のかもしれないのエントリをしてpasswdの/シャドウファイル:

/etc/passwd / etc / passwdの
backup:x:99:99:backup:/backup:/bin/falseバックアップ量: X : 99:99 :バックアップ: /バックアップ: / bin / falseを
/etc/shadow / etc / shadowで
backup:!!:12644:0:99999:7:::バックアップ: ! ! : 12644:0:99999:7 : : :

A simple way is to create the account using useradd.する簡単な方法は、アカウントを作成するにuseraddコマンドを使用しています。

2. 2 。 Setupセットアップ ssh to allow you to login without password sshをパスワードなしにログインできるように from your backup server (backup account) to client machines which you want to backup.よりお客様のバックアップサーバ(バックアップアカウント)を使用してクライアントマシンでバックアップしたいです。

3. 3 。 Install rdiff-backup on your backup machine as well as on all the client machinesインストールするマシンにE -バックアップをバックアップするだけでなく、すべてのクライアントマシン

3. 3 。 Create an ssh config alias, for each client machine, which defines how to contact client with the backup key.エイリアスを作成するSSHの設定、各クライアントマシンは、クライアントへの連絡方法を定義するバックアップキーを押します。 Place the following, per client machine, into /backup/.ssh/config:場所は、次の、 1クライアントマシンを/バックアップ/ .ssh /設定:

host client1-backup ホストClient1でバックアップ
hostname client1 ホスト名Client1で
user root ユーザroot
identityfile /backup/.ssh/id_rsa identityfile /バックアップ/ .ssh / id_rsa
compression yes 圧縮はい
protocol 2 プロトコル2

4. 4 。 Perform a test backupテストのバックアップを実行する
rdiff-backup client1-backup::/tmp client1-backup バックアップにE - Client1でバックアップ: : / tmpのClient1でバックアップ

5. 5 。 Setup cron job for unattended daily backup cronジョブのセットアップ無人毎日のバックアップ

There is much more you can do to further customize the process.にははるかにすることができます。行うのプロセスをさらにカスタマイズします。 However the steps above should get you started.しかし上記の手順を開始すべきです。