Changes between Version 11 and Version 12 of TipAndDoc/backup


Ignore:
Timestamp:
Dec 27, 2012 11:57:46 PM (12 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/backup

    v11 v12  
    1010 * [http://serverfault.com/questions/313820/open-source-file-backup-tool-for-linux Open source file backup tool for linux - Server Fault] 
    1111 
     12 = rsnapshot = 
    1213 * [http://www.rsnapshot.org/ rsnapshot] 
    1314  * http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html#how_it_works 
     
    1516 * [http://ie.u-ryukyu.ac.jp/howto/index.php?Software%2Frsnapshot Software/rsnapshot - PukiWiki] 
    1617 * [http://might1976.doorblog.jp/archives/52693823.html 俺日記 : rsnapshotでリモートバックアップ環境を作る] 
     18 
     19 == mechanism == 
     20 * /etc/rsnapshot.conf 
     21{{{ 
     22retain          hourly  24 
     23retain          daily   7 
     24retain          weekly  4 
     25retain          monthly 12 
     26 
     27backup  /etc/   shizuku/ 
     28}}} 
     29 
     30 * rsnapshot hourly 
     31  1. rm hourly.23 
     32  1. mv hourly.22 hourly.23 
     33  1. ... 
     34  1. mv hourly.1 hourly.2 
     35  1. cp -al hourly.0 hourly.1 
     36  1. rsync /etc hourly.0/shizuku/ 
     37 * rsnapshot hourly 
     38  1. rm daily.6 
     39  1. mv daily.5 daily.6 
     40  1. ... 
     41  1. hourly.23 が存在すればmv houly.23 daily.0、無ければ何もしない 
     42 * 以下、weekly, monthlyも同様 
     43  * hourly.23 -> daily.0, daily.6 -> weekly.0, ... 
     44  * hourlyをcronで回さずに、daily, weeklyだけ回していると結果的に'''消えてしまう'''ので注意 
    1745 
    1846 = backuppc =