[prev in list] [next in list] [prev in thread] [next in thread]
List: unison-users
Subject: Re: [unison-users] Re: One-way file sync not deleting files
From: Benjamin Pierce <bcpierce () cis ! upenn ! edu>
Date: 2006-12-27 22:03:42
Message-ID: EEBB5241-0BAB-4FDF-B49C-5B366349A956 () cis ! upenn ! edu
[Download RAW message or body]
(Belated) thanks for this bug report. I was able to recreate the
problem on my own system and have now fixed it.
The problem is the same as one that I had actually seen before but
never tracked down, where a deleted file would actually be re-created
by Unison if the file's name matches the "backupcurrent" preference.
- Benjamin
On Sep 30, 2006, at 10:52 PM, david_wieringa wrote:
> For what it's worth, I'm running 2.13.16 (both sides). Windows 2000
> on both sides. Socket mode on LAN.
>
> I tried adding the "-debug all". First I created an empty text file
> "x.txt" on my notebook. Then I ran my normal unison profile, but I
> added "-debug all >output.txt 2>&1" to the command line.
>
> x.txt appeared as expected on the desktop and I saw several references
> to x.txt in the debug output file.
>
> Next I deleted x.txt from my notebook. I reran unison again with
> debug. The file stayed on the desktop and I couldn't find any
> reference to "x.txt" in the debug file (I searched via Notepad).
>
> Am I misinterpretting the "force" feature? (one-way synchronize)
>
> --- In unison-users@yahoogroups.com, Benjamin Pierce <bcpierce@...>
> wrote:
>>
>> I don't see what's wrong here, but you ought to be able to tell more
>> by adding "-debug all" to the command line and having a look at the
>> resulting trace.
>>
>> Regards,
>>
>> - Benjamin
>>
>>
>> On Sep 30, 2006, at 4:34 PM, david_wieringa wrote:
>>
>>> I've recently been experimenting with unison to backup my notebook.
>>> The idea is that I run it in a one-way synchronization mode to
>>> keep a
>>> replica of the files on a desktop machine.
>>>
>>> I've been really happy with it, but I just noticed that when I
>>> delete
>>> files from my notebook they don't get deleted in the replica
>>> (desktop).
>>>
>>> I'm looking for the desktop to be an exact copy of the
>>> notebook...not
>>> a copy of all of the files that ever existed on my notebook.
>>>
>>> What am I doing wrong?
>>>
>>> My profile is:
>>>
>>> # Unison preferences file
>>> root = D:\
>>> root = socket://desktop:19999/notebook\D
>>> force = D:\
>>> batch = true
>>> path = *
>>> ignore = Path RECYCLER/*
>>> ignore = Path System Volume Information/*
>>> perms = -1
>>> times = true
>>> # Keep a backup copy of the entire replica
>>> backup = Name *
>>> #backupversions = 10
>>> maxbackupage = 300
>>> minbackups = 3
>>> fastcheck = yes
>>> retry = 3
>>> #log = true
>>> #immutable
>>> #ui
>>> #auto = true
>>>
>>> I run this from a shortcut on my desktop which executes the text
>>> user
>>> interface and exits when complete.
>>>
>>> Any insights greatly appreciated,
>>> Dave
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" \
"http://www.w3.org/TR/html4/strict.dtd"> <html>
<head>
</head>
<!-- Network content -->
<body style="background-color: #ffffff;">
<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id="ygrp-mlmsg" style="width:655px; position:relative;">
<div id="ygrp-msg" style="width: 490px; padding: 0 15px 0 0; float:left; \
z-index:1;"> <!--~-|**|PrettyHtmlEndT|**|-~-->
<div id="ygrp-text">
<p>(Belated) thanks for this bug report. I was able to recreate the \
<br> problem on my own system and have now fixed it.<br>
<br>
The problem is the same as one that I had actually seen before but <br>
never tracked down, where a deleted file would actually be re-created <br>
by Unison if the file's name matches the "backupcurrent" preference.<br>
<br>
- Benjamin<br>
<br>
On Sep 30, 2006, at 10:52 PM, david_wieringa wrote:<br>
<br>
> For what it's worth, I'm running 2.13.16 (both sides). Windows 2000<br>
> on both sides. Socket mode on LAN.<br>
><br>
> I tried adding the "-debug all". First I created an empty text \
file<br> > "x.txt" on my notebook. Then I ran my normal unison profile, \
but I<br> > added "-debug all >output.txt 2>&1" to the command \
line.<br> ><br>
> x.txt appeared as expected on the desktop and I saw several references<br>
> to x.txt in the debug output file.<br>
><br>
> Next I deleted x.txt from my notebook. I reran unison again with<br>
> debug. The file stayed on the desktop and I couldn't find any<br>
> reference to "x.txt" in the debug file (I searched via Notepad).<br>
><br>
> Am I misinterpretting the "force" feature? (one-way synchronize)<br>
><br>
> --- In <a href="mailto:unison-users%40yahoogroups.com">unison-users@<wbr>yahoogroups.<wbr>com</a>, \
Benjamin Pierce <bcpierce@..<wbr>.> <br> > wrote:<br>
>><br>
>> I don't see what's wrong here, but you ought to be able to tell more<br>
>> by adding "-debug all" to the command line and having a look at \
the<br> >> resulting trace.<br>
>><br>
>> Regards,<br>
>><br>
>> - Benjamin<br>
>><br>
>><br>
>> On Sep 30, 2006, at 4:34 PM, david_wieringa wrote:<br>
>><br>
>>> I've recently been experimenting with unison to backup my notebook.<br>
>>> The idea is that I run it in a one-way synchronization mode to <br>
>>> keep a<br>
>>> replica of the files on a desktop machine.<br>
>>><br>
>>> I've been really happy with it, but I just noticed that when I <br>
>>> delete<br>
>>> files from my notebook they don't get deleted in the replica <br>
>>> (desktop).<br>
>>><br>
>>> I'm looking for the desktop to be an exact copy of the <br>
>>> notebook...not<br>
>>> a copy of all of the files that ever existed on my notebook.<br>
>>><br>
>>> What am I doing wrong?<br>
>>><br>
>>> My profile is:<br>
>>><br>
>>> # Unison preferences file<br>
>>> root = D:\<br>
>>> root = <a \
href="socket://desktop:19999/notebook">socket://desktop:<wbr>19999/notebook</a>\D<br> \
>>> force = D:\<br> >>> batch = true<br>
>>> path = *<br>
>>> ignore = Path RECYCLER/*<br>
>>> ignore = Path System Volume Information/<wbr>*<br>
>>> perms = -1<br>
>>> times = true<br>
>>> # Keep a backup copy of the entire replica<br>
>>> backup = Name *<br>
>>> #backupversions = 10<br>
>>> maxbackupage = 300<br>
>>> minbackups = 3<br>
>>> fastcheck = yes<br>
>>> retry = 3<br>
>>> #log = true<br>
>>> #immutable<br>
>>> #ui<br>
>>> #auto = true<br>
>>><br>
>>> I run this from a shortcut on my desktop which executes the text <br>
>>> user<br>
>>> interface and exits when complete.<br>
>>><br>
>>> Any insights greatly appreciated,<br>
>>> Dave<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> Yahoo! Groups Links<br>
><br>
><br>
><br>
><br>
><br>
><br>
<br>
</p>
</div>
<!--~-|**|PrettyHtmlStart|**|-~-->
<span width="1" style="color: white;">__._,_.___</span>
<!-- Start the section with Message In topic -->
<div id="ygrp-actbar">
<span class="left">
<a href="http://groups.yahoo.com/group/unison-users/message/5598;_ylc=X3oDMT \
MzbnBvMmNzBF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEbXNnSWQDNTg1NwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNjcyNTcwNTQEdHBjSWQDNTU5OA--">
Messages in this topic </a> (<span class="bld">4</span>)
</span>
<a href="http://groups.yahoo.com/group/unison-users/post;_ylc=X3oDMTJvcW9kZDZm \
BF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEbXNnSWQDNTg1NwRzZWMDZnRyBHNsawNycGx5BHN0aW1lAzExNjcyNTcwNTQ-?act=reply&messageNum=5857">
<span class="bld">
Reply </span> (via web post)
</a> |
<a href="http://groups.yahoo.com/group/unison-users/post;_ylc=X3oDMTJkbmVpMTEx \
BF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDbnRwYwRzdGltZQMxMTY3MjU3MDU0" \
class="bld"> Start a new topic </a>
</div>
<!------- Start Nav Bar ------>
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-vitnav">
<a href="http://groups.yahoo.com/group/unison-users/messages;_ylc=X3oD \
MTJkbmpmMTc5BF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDbXNncwRzdGltZQMxMTY3MjU3MDU0">Messages</a> \
| <a href="http://groups.yahoo.com/group/unison-users/database;_ylc=X3o \
DMTJiamluMjNrBF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDZGIEc3RpbWUDMTE2NzI1NzA1NA--">Database</a> \
</div>
<!-- |**|end egp html banner|**| -->
<!-- Do not have place to put it yet -->
<div id="ygrp-grft">
</div>
<!-- yahoo logo -->
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-ft">
<a href="http://groups.yahoo.com/;_ylc=X3oDMTJjZWt1OHZiBF9TAzk3MzU5NzE0BGdycElkA \
zQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDZ2ZwBHN0aW1lAzExNjcyNTcwNTQ-">
<img src="http://us.i1.yimg.com/us.yimg.com/i/yg/img/logo/ma_grp_160.gif" \
height="15" width="106" border="0" alt="Yahoo! Groups"></a> <br> <a \
href="http://groups.yahoo.com/group/unison-users/join;_ylc=X3oDMTJlcm5wbGNzBF9TAzk3MzU \
5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDc3RuZ3MEc3RpbWUDMTE2NzI1NzA1NA--">Change \
settings via the Web</a> (Yahoo! ID required) <br> Change settings via email: <a \
href="mailto:unison-users-digest@yahoogroups.com?subject=Email Delivery: \
Digest">Switch delivery to Daily Digest</a> | <a href = \
"mailto:unison-users-traditional@yahoogroups.com?subject=Change Delivery Format: \
Traditional">Switch format to Traditional</a> <br>
<a href="http://groups.yahoo.com/group/unison-users;_ylc=X3oDMTJja3U4MTBjBF9TAzk \
3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDaHBmBHN0aW1lAzExNjcyNTcwNTQ-">
Visit Your Group
</a> |
<a href="http://docs.yahoo.com/info/terms/">
Yahoo! Groups Terms of Use </a> |
<a href="mailto:unison-users-unsubscribe@yahoogroups.com?subject=">
Unsubscribe </a>
</div> <!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
<!-- Sponsor -->
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-sponsor" style="width:140px;float: left; clear: none; margin-left: \
5px; background:white; margin-bottom:25px ;position:absolute; top:0; right: 0;"> \
<!-- Network content -->
<!-- Start vitality -->
<div id="ygrp-vital">
<div id="vithd">Recent Activity</div>
<ul style="list-style-type:none; padding: 0; margin: 2px 0;">
<li style="clear: both;">
<div class="ct" style="float: right;"><span \
style="display:none"> </span>9</div> <div class="cat"><a \
href="http://groups.yahoo.com/group/unison-users/members;_ylc=X3oDMTJlbXVpdnVrBF9TAzk3 \
MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA3Z0bARzbGsDdm1icnMEc3RpbWUDMTE2NzI1NzA1NA--">New \
Members</a></div> </li>
</ul>
<a href="http://groups.yahoo.com/group/unison-users;_ylc=X3oDMTJkN3J0bjZsB \
F9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA3Z0bARzbGsDdmdocARzdGltZQMxMTY3MjU3MDU0">
Visit Your Group </a>
</div>
<div id="hd">SPONSORED LINKS</div>
<div id="ov">
<ul>
<li><a \
href="http://groups.yahoo.com/gads;_ylc=X3oDMTJiOG52OWZtBF9TAzk3MzU5NzE0BF9wAzEEZ3JwSW \
QDNDc5NzY3BGdycHNwSWQDMTcwNTAwNDcyNgRzZWMDc2xtb2QEc3RpbWUDMTE2NzI1NzEyOQ--?t=ms&k=Comp \
uter+telephony&w1=Computer+telephony&w2=Portable+computer&w3=Portable+computer+case&w4 \
=Communication+and+networking&w5=Computer+telephony+integration&c=5&s=145&g=2&.sig=bd1ju6uqJx39MEsoiawksg">Computer \
telephony</a></li> <li><a \
href="http://groups.yahoo.com/gads;_ylc=X3oDMTJibTNwMGkzBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSW \
QDNDc5NzY3BGdycHNwSWQDMTcwNTAwNDcyNgRzZWMDc2xtb2QEc3RpbWUDMTE2NzI1NzEyOQ--?t=ms&k=Port \
able+computer&w1=Computer+telephony&w2=Portable+computer&w3=Portable+computer+case&w4= \
Communication+and+networking&w5=Computer+telephony+integration&c=5&s=145&g=2&.sig=klZKMuOolG_eNWty_hYh4w">Portable \
computer</a></li> <li><a \
href="http://groups.yahoo.com/gads;_ylc=X3oDMTJiaDNoMGFlBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSW \
QDNDc5NzY3BGdycHNwSWQDMTcwNTAwNDcyNgRzZWMDc2xtb2QEc3RpbWUDMTE2NzI1NzEyOQ--?t=ms&k=Port \
able+computer+case&w1=Computer+telephony&w2=Portable+computer&w3=Portable+computer+cas \
e&w4=Communication+and+networking&w5=Computer+telephony+integration&c=5&s=145&g=2&.sig=AsamkASYZNbe7ftQYzzWGQ">Portable \
computer case</a></li> <li><a \
href="http://groups.yahoo.com/gads;_ylc=X3oDMTJicWlycTd2BF9TAzk3MzU5NzE0BF9wAzQEZ3JwSW \
QDNDc5NzY3BGdycHNwSWQDMTcwNTAwNDcyNgRzZWMDc2xtb2QEc3RpbWUDMTE2NzI1NzEyOQ--?t=ms&k=Comm \
unication+and+networking&w1=Computer+telephony&w2=Portable+computer&w3=Portable+comput \
er+case&w4=Communication+and+networking&w5=Computer+telephony+integration&c=5&s=145&g=2&.sig=yoxe9tLE4V_B-4X1sEro_A">Communication \
and networking</a></li> <li><a \
href="http://groups.yahoo.com/gads;_ylc=X3oDMTJiOXRtcTNzBF9TAzk3MzU5NzE0BF9wAzUEZ3JwSW \
QDNDc5NzY3BGdycHNwSWQDMTcwNTAwNDcyNgRzZWMDc2xtb2QEc3RpbWUDMTE2NzI1NzEyOQ--?t=ms&k=Comp \
uter+telephony+integration&w1=Computer+telephony&w2=Portable+computer&w3=Portable+comp \
uter+case&w4=Communication+and+networking&w5=Computer+telephony+integration&c=5&s=145&g=2&.sig=MRKosOdSpqJyJnCQzkaUqg">Computer \
telephony integration</a></li> </ul>
</div>
<!-- Network content -->
<div id="nc">
<div class="ad">
<div id="hd1">Y! Messenger</div>
<p><a href="http://us.ard.yahoo.com/SIG=12i31ad06/M=493064.9803215.10510209.8674578/D= \
groups/S=1705004726:NC/Y=YAHOO/EXP=1167264329/A=3848586/R=0/SIG=12dds2hov/*http://us.rd.yahoo.com/evt=42403/*http://messenger.yahoo.com/feat_voice.php">PC-to-PC \
calls</a></p> <p>Call your friends</p>
<p>worldwide - free!</p> </div>
<div class="ad">
<div id="hd1">Ads on Yahoo!</div>
<p><a href="http://us.ard.yahoo.com/SIG=12iolpq4f/M=493064.9803227.10510220.8674578/D= \
groups/S=1705004726:NC/Y=YAHOO/EXP=1167264329/A=3848643/R=0/SIG=131q47hek/*http://sear \
chmarketing.yahoo.com/arp/srchv2.php?o=US2005&cmp=Yahoo&ctv=Groups4&s=Y&s2=&s3=&b=50">Learn \
more now.</a></p> <p>Reach customers</p>
<p>searching for you.</p> </div>
<div class="ad">
<div id="hd1">Yahoo! Groups</div>
<p><a href="http://groups.yahoo.com/start;_ylc=X3oDMTJuaW5pbHQ4BF9TAzk3MzU5NzE0BF9wA \
zMEZ3JwSWQDNDc5NzY3BGdycHNwSWQDMTcwNTAwNDcyNgRzZWMDbmNtb2QEc2xrA2dyb3VwczIEc3RpbWUDMTE2NzI1NzA1NA--">Start \
a group</a></p> <p>in 3 easy steps.</p>
<p>Connect with others.</p>
</div>
</div>
</div> <!-- |**|end egp html banner|**| -->
<div style="clear:both; color: #FFF; font-size:1px;">.</div>
</div> <img src="http://geo.yahoo.com/serv?s=97359714/grpId=479767/grpspId=1705004726/msgId=5857/stime=1167257054/nc1=3848586/nc2=3848643/nc3=3" \
width="1" height="1"> <br> <span style="color: white;">__,_._,___</span>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</body>
<!--~-|**|PrettyHtmlStart|**|-~-->
<head>
<style type="text/css">
<!--
#ygrp-mlmsg {font-size:13px; font-family: \
arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} #ygrp-mlmsg table \
{font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% \
arial,helvetica,clean,sans-serif;} #ygrp-mlmsg pre, code {font:115% \
monospace;*font-size:100%;} #ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family: Georgia;
}
#ygrp-text p{
margin: 0 0 1em 0;
}
#ygrp-tpmsgs{
font-family: Arial;
clear: both;
}
#ygrp-vitnav{
padding-top: 10px;
font-family: Verdana;
font-size: 77%;
margin: 0;
}
#ygrp-vitnav a{
padding: 0 1px;
}
#ygrp-actbar{
clear: both;
margin: 25px 0;
white-space:nowrap;
color: #666;
text-align: right;
}
#ygrp-actbar .left{
float: left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family: Verdana;
font-size: 77%;
padding: 15px 0;
}
#ygrp-ft{
font-family: verdana;
font-size: 77%;
border-top: 1px solid #666;
padding: 5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom: 10px;
}
#ygrp-vital{
background-color: #e0ecee;
margin-bottom: 20px;
padding: 2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size: 77%;
font-family: Verdana;
font-weight: bold;
color: #333;
text-transform: uppercase;
}
#ygrp-vital ul{
padding: 0;
margin: 2px 0;
}
#ygrp-vital ul li{
list-style-type: none;
clear: both;
border: 1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight: bold;
color: #ff7900;
float: right;
width: 2em;
text-align:right;
padding-right: .5em;
}
#ygrp-vital ul li .cat{
font-weight: bold;
}
#ygrp-vital a {
text-decoration: none;
}
#ygrp-vital a:hover{
text-decoration: underline;
}
#ygrp-sponsor #hd{
color: #999;
font-size: 77%;
}
#ygrp-sponsor #ov{
padding: 6px 13px;
background-color: #e0ecee;
margin-bottom: 20px;
}
#ygrp-sponsor #ov ul{
padding: 0 0 0 8px;
margin: 0;
}
#ygrp-sponsor #ov li{
list-style-type: square;
padding: 6px 0;
font-size: 77%;
}
#ygrp-sponsor #ov li a{
text-decoration: none;
font-size: 130%;
}
#ygrp-sponsor #nc {
background-color: #eee;
margin-bottom: 20px;
padding: 0 8px;
}
#ygrp-sponsor .ad{
padding: 8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family: Arial;
font-weight: bold;
color: #628c2a;
font-size: 100%;
line-height: 122%;
}
#ygrp-sponsor .ad a{
text-decoration: none;
}
#ygrp-sponsor .ad a:hover{
text-decoration: underline;
}
#ygrp-sponsor .ad p{
margin: 0;
}
o {font-size: 0; }
.MsoNormal {
margin: 0 0 0 0;
}
#ygrp-text tt{
font-size: 120%;
}
blockquote{margin: 0 0 0 4px;}
.replbq {margin:4}
-->
</style>
</head>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</html><!--End group email -->
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic