Pierce Benjamin C. | 1 Mar 18:22 2011

Re: Wish: a way to ignore files given permissions

> As I use unison to sync a directory with source files and executables
> across various incompatible hardware architectures, I'd like a way
> to tell unison to ignore executable files.
> I think it would be useful to have something like :
> 
> ignore = Perm 0444
> 
> which would ignore a file if it's permissions and the given mask is
> not null, ie in this exemple if it has one executable bit set.

This is an instance of a common feature request -- to make the "ignore" functionality more flexible in
various ways.  There are two basic design issues to be addressed:

1) Allowing files to be ignored or not based on local properties (not just their names) means that a file
might be ignored on one host but not on the other.  What should happen in this case?

2) Once you start thinking about it, it's easy to invent dozens of criteria that might be used to ignore
files.  We clearly don't want to build a separate mechanism for each one, so we'd need to have some generic
way of specifying ignore criteria.  One obvious way to do this would be to ask an external process that the
user could then customize, but I'm not sure this would be fast enough, as it would involve a process
creation for each inode that Unison visits.

Best,

   - Benjamin

> 
> What do you think ?
> 
> 
(Continue reading)

BSNTech | 1 Mar 22:19 2011
Picon

CPU Usage For Large Directories

Hello all,

I use unison to replicate home directories amongst two servers for my web hosting business so customers have two servers they are hosted on.

How much CPU usage do you believe unison will use when checking for changes on gigabytes of data?

Right now I'm only using about 1.5 GB of space that unison replicates - and it works well.  But I'm afraid with future expansion, that CPU  usage may take a huge hit.

Thank you!

Brian S.
BsnTech Networks
http://www.bsntech.com 

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Alan Schmitt | 2 Mar 09:13 2011

Re: CPU Usage For Large Directories

On 1 mars 2011, at 22:19, BSNTech wrote:

> Hello all,
> 
> I use unison to replicate home directories amongst two servers for my web hosting business so customers
have two servers they are hosted on.
> 
> How much CPU usage do you believe unison will use when checking for changes on gigabytes of data?
> 
> Right now I'm only using about 1.5 GB of space that unison replicates - and it works well.  But I'm afraid with
future expansion, that CPU  usage may take a huge hit.

I'm replicating huge datasets (including a 60 GB iTunes library and a 40 GB iPhoto library), and update
detection takes about one minute. What takes a hit on CPU is changes on very large files (on the order of a GB
or larger). And of course nothing prevents you from renicing the server (it will take longer to run, but CPU
hit will be smaller).

Alan

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

rixed | 2 Mar 08:35 2011
Picon

Re: Wish: a way to ignore files given permissions

> 1) Allowing files to be ignored or not based on local properties (not just their names) means that a file
might be ignored on one host but not on the other.  What should happen in this case?

At the top of my head, I'd say that files should be ignored both when sending
(ie. localy ignored when localy changed) and receiving (ie. when localy ignored
and remotely changed).

Isn't it the same problem when a given file name is ignored in one host
but not the other ? Or is there a mecanism that I'm unaware of that
forces the two configuration files to be equal ?

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Ansgar Jazdzewski | 2 Mar 09:00 2011
Picon

sync folders with unix-socket files

hi,

I did an automatic logon script, that sync the user's home on login an logoff to the server.

My problem ist that some unix-socket files in the home that unison can't sync and it jump over the path.

So that more than just the socket-file are not sync between server and client.

My question:

is tair a option that ignor all unix-socket's or a other fix for that problem

Thanks a lot,

Ansgar
--

Ansgar Jazdzewski

Systec

Unister GmbH

Barfußgässchen 11 | 04109 Leipzig

Telefon: +49 (0)341 355381 4541ansgar.jazdzewski <at> unister.de

www.unister.de

Vertretungsberechtigter Geschäftsführer: Thomas Wagner

Amtsgericht Leipzig, HRB: 19056



__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Koen De Proft | 2 Mar 11:09 2011
Picon

unison temporary files left behind

Hi list,

The unison temporary file is left behind on the destination whenever a transfer is interrupted and the source file is moved/renamed/deleted. I know unison won't know where the source file went, but can't unison clean up these old temp files in the case it can't use them for resuming file transfers?

Thanks,
-Koen


__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___
Benjamin C. Pierce | 2 Mar 14:29 2011

Re: unison temporary files left behind

Old temporary files are deleted after a few weeks.

   - Benjamin

On Mar 2, 2011, at 5:09 AM, Koen De Proft wrote:

> 
> 
> Hi list,
> 
> The unison temporary file is left behind on the destination whenever a transfer is interrupted and the
source file is moved/renamed/deleted. I know unison won't know where the source file went, but can't
unison clean up these old temp files in the case it can't use them for resuming file transfers?
> 
> Thanks,
> -Koen
> 
> 
> 

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Benjamin C. Pierce | 2 Mar 14:51 2011

Re: Wish: a way to ignore files given permissions

>> Isn't it the same problem when a given file name is ignored in one host
> but not the other ? Or is there a mecanism that I'm unaware of that
> forces the two configuration files to be equal ?

There is just one profile -- the one on the client.  The settings from that file are propagated to the server at
the beginning of the run.

   - B

> 
> 
> 
> ------------------------------------
> 
> Yahoo! Groups Links
> 
> 
> 

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Benjamin C. Pierce | 2 Mar 19:57 2011

Re: Wish: a way to ignore files given permissions

> Is there a way to send to Unison a list of all files to synchonyze, or the oposite, a list of files to ignore?
> 
> This way, for special situations, the user (at least in Linux) can use "find" to create the list with
whatever criteria that he wants...

There's no special way to do this, but of course one can generate a profile on the fly (using find or whatever)
that includes all the "ignore = Path XXX" commands that one might want.  The only tricky thing is that you
need to run find once on the client and once on the server and combine their results.

    - Benjamin

On Mar 2, 2011, at 1:54 PM, Alain Mouette wrote:

> Hi Benjamin,
> 
> Is there a way to send to Unison a list of all files to synchonyze, or the oposite, a list of files to ignore?
> 
> This way, for special situations, the user (at least in Linux) can use "find" to create the list with
whatever criteria that he wants...
> 
> Alain
> 
> Em 02-03-2011 10:51, Benjamin C. Pierce escreveu:
>>>> Isn't it the same problem when a given file name is ignored in one host
>>> but not the other ? Or is there a mecanism that I'm unaware of that
>>> forces the two configuration files to be equal ?
>> 
>> There is just one profile -- the one on the client.  The settings from that file are propagated to the server
at the beginning of the run.
>> 
>>    - B

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

David | 3 Mar 10:46 2011
Picon

Detection slow with USB drive?

Hi,

I've just seen this message[1] which indicates that update detection on around 100Gb takes about a minute.
I've got a 20Gb partition with 17Gb of data on it that I backup to a portable USB drive. I do this so I can carry
just my USB drive around and work at home etc. and then resync when I get to the office.

It takes me about 10 minutes to do the detection phase, which is much slowing than indicated above. Is it slow
because I'm using USB? 

My prf file is quite simple, just specifying my home directory as one root, a directory on the USB as the other
root, with a few file and path exclusions. The only other option I use is:

times = TRUE 

I am using unison version 2.27.57 (from the ubuntu 10.04 repositories). I know this is a rather old version,
but it is the one in the repository and I am using it for now for simple maintenance. Would upgrading to the
latest make things faster?

[1] http://tech.groups.yahoo.com/group/unison-users/message/9642

Thanks.

David
--

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/unison-users/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/unison-users/join
    (Yahoo! ID required)

<*> To change settings via email:
    unison-users-digest <at> yahoogroups.com 
    unison-users-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    unison-users-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane