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

Harry avatar
By Harry
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一次 還是 只做檔案更動的部份????

--
Tags: Linux

All Comments

Linda avatar
By Linda
at 2012-05-10T18:12
更動部分

嘗試登入的記錄

Daph Bay avatar
By Daph Bay
at 2012-05-06T14:29
我們實驗室有台Linux Server,裡面有很多User (約20來個), 由於我的資料夾是設定除了我以外,都不能進來, 所以其他人進來會顯示Permission Denied 但我也想知道有誰曾經想try進來,請問有這個紀錄檔嗎? 大概就跟進入ptt時,會顯示有哪個IP想try帳密一樣,謝謝! ...

有簡易的資料同步軟件嗎?

Bethany avatar
By Bethany
at 2012-05-06T08:16
推 jadepond:rsync 05/05 19:36 → i420cc:+1 05/05 19:43 推 timshan:哈 VPN如何 05/05 19:48 → mp607:rsync+1 05/05 19:56 推 Azelight:bitpocket? https://github.com/sic ...

無法git clone

Eartha avatar
By Eartha
at 2012-05-06T00:52
各位版友好 我目前是透過ssh登入遠端主機 目前是想要git clone我的vimrc 但是出現以下的訊息 Cloning into and#39;vimrcand#39;... The authenticity of host and#39;github.com (207.97.227.239)an ...

top指令問題

Frederic avatar
By Frederic
at 2012-05-05T23:03
http://i.imgur.com/oB5EW.png 我電腦大約是1G記憶體 , 597680k used 下面list 出來結果幾乎每個行程都沒吃掉記憶體 , 為什麼顯示已經使用了597680k used 還是top 下面的list 行程不包含OS 本身基本使用的記憶體? 所以使用59 ...

用git管理~/.vim?

Susan avatar
By Susan
at 2012-05-05T22:11
各位好 小弟想要用git管理.vim 照網路上面的寫法 步驟如下 cd ~/.vim git init git add . 但是很奇怪的是 我查看git status 他會說 # Changes to be committed: # new file: bundle/EasyGr ...