<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.apple-style-span
{mso-style-name:apple-style-span;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1407458970;
mso-list-template-ids:1770277018;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal><span style='font-size:12.0pt'>Hello all,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt'>I am reading about
rdiff-backup. I am using it in a simple way, (rdiff-backup $source $target)
but I would like to make sure all those incremental backups are not
eating up all my space. So I want to put into place the </span><span
class=apple-style-span><span style='font-size:12.0pt;color:black'>--remove-older-than
option. I read about that option, but im not sure I understand it completely.<o:p></o:p></span></span></p>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:12.0pt;
color:black'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:12.0pt;
color:black'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:black'>This section
assumes that rdiff-backup has been used in the past to back up tohost.net::/remote-dir,
but all commands would work locally too, if the hostname were ommitted.<o:p></o:p></span></p>
<ul style='margin-top:0in' type=disc>
<li class=MsoNormal style='color:black;mso-list:l0 level1 lfo1'><span
style='font-size:12.0pt'>This commands deletes all information concerning
file versions which have not been current for 2 weeks:<o:p></o:p></span></li>
</ul>
<p class=MsoNormal><span style='font-size:12.0pt;color:black'>rdiff-backup
--remove-older-than 2W host.net::/remote-dir<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:black'>Note that an
existing file which hasn't changed for a year will still be preserved. But a
file which was deleted 15 days ago cannot be restored after this command is
run.<o:p></o:p></span></p>
<p class=MsoNormal style='margin-left:.5in'><span style='font-size:12.0pt;
color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:12.0pt;
color:black'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:12.0pt;
color:black'><o:p> </o:p></span></span></p>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:12.0pt;
color:black'>As I understand the example, </span></span><i><span
style='font-size:12.0pt;color:black'>rdiff-backup --remove-older-than 2W
host.net::/remote-dir</span></i><span style='font-size:12.0pt;color:black'>
means I should run the normal backup command with the option –remove-older-than
2W and by doing so, the 2 weeks+ files in the
target repo will be deleted? Or I have to run that command in my
target dir only?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:12.0pt;color:black'>Thanks.<o:p></o:p></span></p>
<p class=MsoNormal><span class=apple-style-span><span style='font-size:12.0pt;
color:black'><o:p> </o:p></span></span></p>
</div>
</body>
</html>