Re: Synchronizing unison files
Greg Troxel <[email protected]>
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
John Rose <[email protected]> writes: > I am synchronizing my Ubuntu home directory to an external SSD and (I > guess quite naturally) cannot synchronize unison archive files for the > active directory or the unison log file because they change during > synchronization. I could ignore the files in the prf (I guess I would > need a regular expression for the relevant archives files?) but this > would not change anything. Is there any way around this? else I can > easily live with it. I don't synchronize my homedir, or NFS mount it, because different machines need different content, are different OS, etc. Instead I have shared/foo for various foo and synchronize them (varying destinations). So that would work. But here, I am guessing that you are likely doing backup rather than "drive the ssd to work and sync it to your homedir there", it not being the 90s any more. unison more or less expects ~/.unison not to be synced. I would suggest that you either: simply exclude ~/.unison put the contents of ~/.unison someplace outside your homedir and symlink it in (not tested, might misbehave because of something I don't understand). back it up separately exclude the log and the ar/fp files that are for this particular sync, if they point is to back up including backing up the ar/fp used to sync other things to other places if what you are doing is making backups, use a backup tool instead of a sync tool, partly because you want history to recover later from undetected loss. Personally I use bup. -- To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].