Re: Split a Replica Job Into Two
"'Brian Spraker' via unison-users" <[email protected]> Wed, 17 Apr 2024 08:18:06 -0700 (PDT)
| Newsgroups | gmane.network.unison.general |
|---|---|
| Message-ID | <[email protected]> |
Thank you for your reply Greg. OS is Ubuntu Linux 20.04.6. Version of Unison is 2.40.102 File system type is ext4 Servers are separated with different Internet connections and they replicate through ssh. I have a cron script that calls the command every five minutes so they will replicate any changes in a timely manner. As noted, haven't had any issue with the archive files getting corrupt for years.. unless a server lost power during a replication process. But in the last two months, I've had corrupt archive files at least four times now. Today's archive error was: Fatal error: Server: Corrupted archive: the files <FILE1> and <FILE2> are not correctely ordered in directory <PATH> I changed the filenames and the path. Since all of the home folders are in the "/home" path, that entire path is replicated with some folder exceptions. Like you said, big change if I cannot just replicate the /home folder. I'd need to make sub-folders in the home.. such as an "a-j" and "k-z" and then place the home folders in there. But that would be a great deal of re-configuration. Brian S. On Wednesday, April 17, 2024 at 10:06:46 AM UTC-5 Greg Troxel wrote: > "'Brian Spraker' via unison-users" <[email protected]> writes: > > > Synopsis - I replicate the /home path between two systems to keep home > > folders synchronized. > > > > The storage is up to about 190 GB now. Over the past few months, the > > archive files are getting corrupt. This requires that the archive file > on > > This seems like the real issue. Do you have any insight into how? You > didn't mention OS, filesystem, if remote filesystems are involved, > unison version, etc. > > > Goal - try to prevent this by creating two separate archive files. > > This seems like speculation that it might help. I can't argue it won't, > but... > > > However, when running this, it still pulls from the same archive file > and > > did not create a new archive file. > > As I understand it, archive files are based on hashing the paths. > > > Question - is there a way to have Unison create a separate archive file? > > It seems the archive files are based on the paths and not necessarily > the > > .prf file. > > FWIW, I have shared/foo for many foo, sync those, and do not sync > /home. That's a huge change from what you are doing, but mentioning it > in case after stepping back that makes sense for you. > To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].