linux使用rsync進行差異備份 - Linux

By Harry
at 2012-05-06T18:30
at 2012-05-06T18:30
Table of Contents
: [root@www ~]# rsync -av 來源目錄 目標目錄
: # 1. 將 /home/ 鏡像到 /backupdata/home/ 去
: [root@www ~]# rsync -av /home /backupdata/
: # 此時會在 /backupdata 底下產生 home 這個目錄來!
: [root@www ~]# rsync -av /home /backupdata/
: # 再次進行會快很多!如果資料沒有更動,幾乎不會進行任何動作!
: 資料來源:鳥哥
我把a硬碟( / 跟 /home) dd 到 b硬碟
此時想把a的/home 同步到 b的/home
若下rsync -av做同步...
請問他是重新cp一次 還是 只做檔案更動的部份????
--
: # 1. 將 /home/ 鏡像到 /backupdata/home/ 去
: [root@www ~]# rsync -av /home /backupdata/
: # 此時會在 /backupdata 底下產生 home 這個目錄來!
: [root@www ~]# rsync -av /home /backupdata/
: # 再次進行會快很多!如果資料沒有更動,幾乎不會進行任何動作!
: 資料來源:鳥哥
我把a硬碟( / 跟 /home) dd 到 b硬碟
此時想把a的/home 同步到 b的/home
若下rsync -av做同步...
請問他是重新cp一次 還是 只做檔案更動的部份????
--
Tags:
Linux
All Comments

By Linda
at 2012-05-10T18:12
at 2012-05-10T18:12
Related Posts
嘗試登入的記錄

By Daph Bay
at 2012-05-06T14:29
at 2012-05-06T14:29
有簡易的資料同步軟件嗎?

By Bethany
at 2012-05-06T08:16
at 2012-05-06T08:16
無法git clone

By Eartha
at 2012-05-06T00:52
at 2012-05-06T00:52
top指令問題

By Frederic
at 2012-05-05T23:03
at 2012-05-05T23:03
用git管理~/.vim?

By Susan
at 2012-05-05T22:11
at 2012-05-05T22:11