Roy
15 years ago
Hi All,
I think unison is great - I'd probably think even more highly of it, if it
wasn't trying to drive me crazy! I just cannot seem to get the ignore options to
work the way I want.
What am I doing wrong?
I'm backing up a Linux partition/volume to a locally attached external disk:
root = /space
root = /media/external/backup/fedora/rubicon_space
I only want to backup/copy one way:
# Do not synchronise, just mirror (copy)...
force = /space
I only want to backup these paths:
# Paths to work on...
path = home
path = music
path = images
As you can imagine, the home directories e.g. "/space/home/rob" contain lots of
dross that doesn't need to be backed up.
E.g. I don't want to copy .thumbnails, so I put entries like these in the prf
file:
ignore = Path */.thumbnails
Or:
ignore = Path */*/.thumbnails
But unison seems to go ahead and scan these directories anyway.
If I use the UI to automagically configure a path to be ignored (to try and get
an example of the correct syntax), it writes a prf entry like this:
ignore = Path {home/rob/.cache}
I.e. It explicitly specifies the user, whereas I would ideally prefer to ignore
.cache in every users home directory.
(What are those curly braces about? From my reading of the documentation, they
are unnecessary in this case?)
I tried to debug the issue with "debug = stasher" - stasher looks like the right
component, but this doesn't seem to write useful debug output during the scan
phase and I am trying to avoid doing the copy until I have the ignores correctly
defined.
What would I write if I wanted to ignore a directory two levels down? I.e.
something like these:
$HOME/.picasa/dosdevices
$HOME/.local/share/tracker
Thanks in advance for any help!
Cheers,
Rob.
------------------------------------
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-***@yahoogroups.com
unison-users-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
unison-users-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
I think unison is great - I'd probably think even more highly of it, if it
wasn't trying to drive me crazy! I just cannot seem to get the ignore options to
work the way I want.
What am I doing wrong?
I'm backing up a Linux partition/volume to a locally attached external disk:
root = /space
root = /media/external/backup/fedora/rubicon_space
I only want to backup/copy one way:
# Do not synchronise, just mirror (copy)...
force = /space
I only want to backup these paths:
# Paths to work on...
path = home
path = music
path = images
As you can imagine, the home directories e.g. "/space/home/rob" contain lots of
dross that doesn't need to be backed up.
E.g. I don't want to copy .thumbnails, so I put entries like these in the prf
file:
ignore = Path */.thumbnails
Or:
ignore = Path */*/.thumbnails
But unison seems to go ahead and scan these directories anyway.
If I use the UI to automagically configure a path to be ignored (to try and get
an example of the correct syntax), it writes a prf entry like this:
ignore = Path {home/rob/.cache}
I.e. It explicitly specifies the user, whereas I would ideally prefer to ignore
.cache in every users home directory.
(What are those curly braces about? From my reading of the documentation, they
are unnecessary in this case?)
I tried to debug the issue with "debug = stasher" - stasher looks like the right
component, but this doesn't seem to write useful debug output during the scan
phase and I am trying to avoid doing the copy until I have the ignores correctly
defined.
What would I write if I wanted to ignore a directory two levels down? I.e.
something like these:
$HOME/.picasa/dosdevices
$HOME/.local/share/tracker
Thanks in advance for any help!
Cheers,
Rob.
------------------------------------
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-***@yahoogroups.com
unison-users-***@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
unison-users-***@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/