Networking :: Unison/iwatch Sync - Files Disappearing From Server?

Jun 7, 2010

I'm trying to set up a synchronization with unison and iwatch to (more or less) instantly sync files upon change in a directory tree. iwatch calls unison like this:

Code:

unison /home/foo/vhosts/foo/my_vhost/bar.html ssh://server.tld//srv/www/vhostsfoo/bar.html -batch -terse -ui text -owner -group I would expect unison to sync all files between the two servers. However, that is not the case. Everything works fine as long as the files are only created/changed/whatever on the server running unison. If a file is created on the server that unison is synchronizing to, it gets deleted the next time unison is called.

For example:

Code:

on the host running unison:

$ cd /home/foo/vhosts/foo/my_vhost
$ touch foo.bar
-- sshing to remote host ---
$ ssh remote.com

[code]....

$ unison /home/foo/vhosts/foo/my_vhost/foo.bar ssh://remote.com//srv/www/vhosts/foo/foo.bar -batch -terse -ui text -owner -groupI expected that both files get synchronized - foo.bar from the unison server to remote.com and hello_world.html from remote.com to the server running unison. Instead, hello_world.html gets deleted.

I've been working a while on this and don't seem to be able to figure it out. Maybe it's only an argument to unison to rectify it but I couldn't find anything adequate in the manpage either.

View 2 Replies


ADVERTISEMENT

Software :: Make Unison Transfer Newer Files During Sync?

May 24, 2010

I have unison running on both my laptop and desktop, both use Ubuntu 10.04 (AMD64), I have my unison script set up to copy new files, but when it have 2 files already in place I have to manually tell it how to deal with it (either copy laptop->desktop or visa-versa). I would prefer to just run unison and click go, or possibly have an icon on the desktop I can click to automatically run it. how to set it in the script file to copy the newest file over the older file, whether it be laptop -> desktop or desktop -> laptop?

I have it set up so I can do work on my desktop machine, then when I want to leave my desk to work elsewhere, I run unison on the laptop and synchronize my Firefox bookmarks, emails and schoolwork so I can continue from where I left off and when I get back I run unison again to synchronize all my changes back to the desktop.

View 2 Replies View Related

General :: Setup Iwatch - Readme Refers To Iwatch.pid File

Nov 24, 2010

I downloaded the iwatch tgz file [URL]... I unzipped them and so have a directory called iwatch that contains several files, but I do not know how to install it, or even if I do not need to. But the readme refers to an iwatch.pid file, that is not there, so I am not sure what to do. Has anyone installed and used iwatch that could help me get it working, as I want to monitor a directory and be alerted of changes.

View 3 Replies View Related

Ubuntu :: Unison Sync Between OS And Windows

Feb 19, 2010

i set up ssh and unison on my windows machine and i am trying to do a sync on my ubuntu machine to windows. i am running into some issues.

certain paths give me the following error: Error: The path Music/Xxxx is ambiguous (i.e., the name of this path or one of its ancestors is the same, modulo capitalization, as another path in a case-sensitive filesystem, and you are synchronizing this filesystem with a case-insensitive filesystem. When i search for Xxxx on my ubuntu system i only see it in that one Music/Xxxx location.

View 1 Replies View Related

Ubuntu :: Unison Sync To Fat32 Permissions?

Apr 3, 2010

My system consists of a laptop running Ubuntu 9.10, a network drive (Samba share formatted fat32 the only option) and a desktop PC running Windows XP. For several weeks have been trying to set-up Unison to synchronise files between my laptop and a network drive with only limited success. I mount the network drive locally with:

sudo mount -t cifs //netdrive/store /home/gm/NAS -o guest,rw,iocharset=utf8,file_mode=0777,dir_mode=07 77.

Then in Unison (graphical interface),

root 1 is: /home/gm/Shared_Docs
root 2 is: /home/gm/NAS/HomeBackup/Shared_Docs_Backup

After clicking the �OK� button, Unison searches for changes files and I click �Go�.

An error is then produced, a sample of which would be:

�Error in renaming /home/gm/NAS/HomeBackup/Shared_Docs_Backup/.unison.Our-inv.xlsx.f3e8034159989f9de7081f9154319a2b.unison.t mp to /home/gm/NAS/HomeBackup/Shared_Docs_Backup/Our-inv.xlsx:
Input/output error [rename(/home/gm/NAS/HomeBackup/Shared_Docs_Backup/.unison.Our-inv.xlsx.f3e8034159989f9de7081f9154319a2b.unison.t mp)]�

If all files in the destination directory (root 2) are first deleted, all files are copied correctly without errors so, I think the problem may be caused by permissions where Unison is unable to overwrite the original file. I know formatting the network drive fat32 is probably making the matter worse, unfortunately I have no alternative.

View 6 Replies View Related

Ubuntu :: Sync Local Folders - Not Unison Or Rsync?

Apr 14, 2011

I need a program to run on Ubuntu that must be easily set up to do a series of different cloning operations at specific times between the USB drives on a single Ubunu pc, depending on the day of the week." So on Monday folder B is forced to match folder A, Tuesday C forced to equal D ... and on Sunday a whole bunch of these clonings happen. This must all run unattended (at 2am) and be robust with no "what do you want to do next messages" or having the whole thing give up if there is a problem with one file. Though I do need a log of success or failure. Windows programs that do this stuff are FolderClone and GoodSync. I looked at Unison and Rsync and one or two others, but none appeared set up to do what I need, or to be excessively complex / general. I don't need something that can sync two copies, or over internet ....

View 5 Replies View Related

Ubuntu :: File-Sync With Unison To A Password-protected Share?

May 11, 2011

Been thinking about a new backup-strategy for my family and me. In our house is an Ubuntu Server (10.10) and NAS (Zyxel NSA210). Now I thought I'd create a Cron Tab entry on all machines which will sync specific folders automatically to either the NAS or a specific backup drive in the server. So now the question is: "How do I do that without seriously compromising each family members privacy by making their backed up files available to everyone in the house?" So in essence I'd like to sync/back up the files to a password protected share for each family member. But this process should still be done automatically every few minutes or so without them having to enter any password at all as their specific password is stored locally.

View 1 Replies View Related

CentOS 5 Server :: Samba Files And Folders Keep Appearing And Disappearing?

Dec 15, 2009

I have an intermittent issue with with Samba. I can access my samba share with windows xp and vista using windows networking and even by mapping the share to a drive. The problem is that the files and folders disappear inadvertently and I can only access them again if I open the share again from the start with windows explorer. Selinux is disabled and the firewall ports for samba are open. The following software is installed:

samba 3.0.33-3.15.el5_4
samba-client 3.0.33-3.15.el5_4
samba-common 3.0.33-3.15.el5_4

[code]....

View 8 Replies View Related

Ubuntu One :: Sync Chewing Up CPU Cycles - Using From 50-80% Long After Any Sync-able Files

Sep 10, 2010

I've got Ubuntu One syncing a single 25MB folder on 4 computers. On one of these computers, the ubuntuone-syncdaemon process constantly pegs the CPU, using from 50-80% long after any sync-able files have been modified and successfully synced. The process is only using 8.9MB of RAM.

Specs:
Ubuntu 10.04 (lucid)
Kernel 2.6.32-24-generic
1000.8 MB RAM
Pentium 4 2.53GHz
Free disk space: 280.9 GB
System monitor shows 56.8% total RAM usage, 15.4% swap file usage.

View 3 Replies View Related

Networking :: Rsync - Sync Files Modified Within The Last 60 Days?

Jun 3, 2009

Can anybody tell me how I can synchronise files between two computers in a network that have been modified or created within the last 60 days?

View 3 Replies View Related

Ubuntu :: Unison Cannot Connect To SSH Server

Aug 24, 2010

There's an error when I try to connect to an SSH server with Unison.It says 'Received unexpected header from the server: expected "Unison 2.32" but received "myuser@myhostname" ...'I use Unison for Windows as client to connect to Ubuntu Unison SSH server.Of course It is connected well from localhost to localhost with SSH,but not from a client outside.

View 1 Replies View Related

Ubuntu Networking :: Unison Not Connecting Via Ssh?

Jun 8, 2011

I'm having a little trouble getting unison to work on Kubuntu and can't figure out why.I have two machines. One is a dinky little box that I'm using for version control and as a file server. It has an IP address of 192.168.1.5. My other machine is a laptop with an ip address assigned via DHCP. I can ssh from the laptop to the dinky box with no problems. However, in unison, I've set up a profile to sync /home/will with ssh://will@192.168.1.5/WillHomeSync. However, when I try to connect, it just hangs on the "Contacting Server..." window and does nothing. How do I even go about starting to troubleshoot this?

View 1 Replies View Related

Red Hat / Fedora :: File Server In Europe Synched To Another In Asia Office Using Unison

Aug 5, 2010

I am looking to implement a file server, in a small office we have users in 3 different continents, Europe(Ireland), USA and Asia(China) with 3 main offices, 2 in Ireland and 1 in China We currently have 1 file server in Europe synched to another in Asia office using unison Our USA staff and roadwarriors connect over vpn to the fileserver in Ireland Users indicate that access the files in the fileserver from outside the office is prohibitively slow....its served by a 12Mb/2Mb broadband line, which is used for all office traffic

We have hosted servers where we could setup a file server as an alternative to setting up in the offices... Can anyone recommend a good, free/opensource

View 4 Replies View Related

Networking :: Sync Local Profiles With Samba Server?

Mar 29, 2010

I've got a hybrid network of Windoz and Mac clients that I want to auth to a CentOS Samba server (currently running a tdbsam backend but will eventually be migrated to an OpenLDAP backend)...what is the best solution for "sync'ing" the Mac clients (mostly laptops) to the server, all the solutions that I've seen suggest that I should simply map the users home drive to the PDC but that doesn't mac much since to me seeing as they need to access their computers data while they're off site...is there a way to "sync" user profiles in Linux>?

View 1 Replies View Related

Ubuntu :: Desktop Files Disappearing After Reboot?

Jun 8, 2011

I setup the chromium browser to come up in kiosk mode in the startup applications and after rebooting it does not come up in kiosk mode and the startup application entry is now gone.I have several machines and though they all have the exact same hardware and software, some lose the startup application entry on reboot and some do not.I was wondering if anyone might know what is going on and what might be the fix for this. I don't think it is a chromium problem, but I am positive.

View 1 Replies View Related

Fedora :: Disappearing Files - Open A Folder And It's Empty ?

Dec 27, 2010

I've using RedHat/Fedora for years now, and every now and then I encounter the following situation :

I open a folder and it's empty. The folder was containing files and I'm 100% sure I didn't deleted them myself. Each time the folder is deep inside the hierarchy and is among other untouched folders. Sometimes it's a folder I never use, sometimes it's a folder I use almost everyday. The missing content is not large (a few regular files).

I'm currently running F13 but I've seen this behavior before on previous versions. This is kind of scary all my work is there and my backups are also done on a a linux backup server.

I'm puzzled, I cannot see any specificities to these folders, I had no crash or cold reboot, nothing I see can explain that. Could it be related to ext3?

View 2 Replies View Related

Ubuntu One :: Uploading Files/sync Files Doesn't Work

Aug 23, 2010

OS: ubuntu10.04 LTS running on latest oracle virtualbox. This works: I have opened a ubuntu one account. And I can log into that account. But I have to do so by: clicking 'ubuntu one' in top bar, and click 'account' in prompt that appears. Shouldn't log in take place automatically? Being logged in I'm able to make new folders. And appearently able to enter them (they are empty I quess) If I try to upload a file clicking 'upload file' in ubuntu one. A prompt appears and I choose the file to upload and click 'continue'. The prompt says "uploading" but nothing happens. If I choose a document folder and click 'mouse click right'. And then click 'sync with ubuntu one'. It prompts that it syncs the folders. But nothing happens.

View 2 Replies View Related

Server :: Sync File Server Data Into Backup Server Machine By Command- Rsync -avu?

Jun 21, 2011

iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.

View 14 Replies View Related

Networking :: SIP Packets Mysteriously Disappearing / When Iptables-nat Activated

Sep 10, 2010

I have a very weird case in my firewall.I have an asterisk server and some phones and between them there is a linux firewall based on iptables.With basic rules on iptables everything works ok, but when I put a single nat rule (no matter what rule I use) some packets from some phones misteriously disappear from interfase to interfase.

Clearer:The firewall has two interfases: eth0 (pointing to phones) and eth2 (pointing to asterisk).One problematic phone is 192.168.3.242, so I use tcpdump this way.

View 14 Replies View Related

Ubuntu One :: New Files Sync But Old Ones Don't?

Jun 15, 2010

As per title really i'm running 10.04 and the client shows sychronisation complete. If i add a new file to the ubuntu one folder it syncs up and is available however old files on the server never load to the local system.

View 3 Replies View Related

Ubuntu :: Sync Files On Two Different Computers?

Aug 13, 2010

Looking for a app. to sync files on two different computers (Ubuntu and Windows XP) on home network. I don't want a internet storage app.

Unison looks good. Anyone familiar with it or other?

View 2 Replies View Related

Ubuntu One :: Way To Manually Force Sync Files

Jan 3, 2010

Is there a way to manually force sync files? My files have not synced over a day and there's an "unsynchronized" emblem appearing over the Ubuntu One folder. The web interface for Ubuntu doesn't display the proper total size of Ubuntu One nor the current files/folders.

View 1 Replies View Related

Ubuntu Multimedia :: Sync OGG Files With Ipod?

May 27, 2010

I want to have my whole library in OGG because it's free and has a better sound quality. The thing is that i have an ipod nano 4th gen and I heard that you can't sync ogg files with an ipod. So, how can i get my music into my ipod without having two separate libraries (that would take too much space in my HDD)?

View 3 Replies View Related

Ubuntu :: Sync Music Files Between Computers

Jun 12, 2010

I have a music archive on several computers, from time to time do I add, remove or change the archive on one computer. To keep this changes will I have to copy the new version of the music archive to all the other computers.

is there a program that can sync the music files. Let say that I update the info in one music file, then will the sync program notice the newer version and replace the old file with the new files on all the other computers.

I guess I would need a dedicated server for this where all changes are stored with some kind of version number of the music archive. Since not having a server would make everything (I guess) much more complicated. All computers would have to communicate with each other to check for a new version instead of only communicate with one computer (the server).

View 4 Replies View Related

General :: Files Picked For Sync But Not Appear On Folder

Oct 4, 2010

I have 2 Mounts /mnt/Movies and /media/Movies, mnt goes to a network drive that is mounted via cifs and media is also a network drive mounted via NFS. I normally keep drives in sync using rsync and have done so with these drives. But for some reason there's a bunch of files that on /media/Movies that just wont copy over to /mnt/Movies. I've tried touching the files and then running rsync with the whole file option it picks up the files need to be sync'd but they don't appear.

I've tried using cp on the missing files but the files just never appear but it does take about the right time for the prompt to come back indicating it would be copying the data. So my next idea was to use mc. I compared the 2 directories and it selects 83 files that are not in both folders, so then I tell it to copy them, and it comes back saying 'target already exists', if I overwrite or update they still don't appear. I've unmounted the shares, reboot the server and both network drives and run the network drives disk check but nothings helping. I'm trying to avoid deleting the folder and just rsyncing everything again.

View 2 Replies View Related

Fedora :: Do The Updates Repos Xml Files Get Out Of Sync With Reality

Jul 12, 2009

Having problems with yum in FC11, it is updates for files that do not exist.Did a 'yum clean metadb', 'yum clean cache', 'yum clean all' as that normally fixes issues, not this time.It does pull down all the xml files just fine, the problem is that the rpm filesets it suggests for update from those new files just do not exist.It only finds about 30 packages to update (as I have been a good boy and keep things updated) but none of the files actually exist on the mirror servers. I selected a single one here as I'm sure you don't want to trawl through the lot...

[root@eagle packages]# yum update bzr
Loaded plugins: priorities, refresh-packagekit
Setting up Update Process

[code]....

I then used firefox to browse the updates directories (at download.fedoraproject.org and some of the other mirrors) that were reporting the 404 errors, and the errors are correct, the files just do not exist (well not yet anyway).So are the updates repo files out of sync at that end or have I missed something obvious that I should also have deleted from the yum setup.

View 2 Replies View Related

General :: Ubuntu Sync Files From Active Directory

Feb 22, 2011

How can I sync files from Windows Server 2008 to a Linux box? Windows Server can sync files to another active-directory box automatically. Can i do that with linux too?

View 2 Replies View Related

Ubuntu :: Cannot Sync Files From Computer Due To Locked Keyring

Jun 19, 2010

I've just started using the amazingly useful Ubuntu One, but I can't sync files from my computer, due to the pesky locked keyring, default, which wishes to be unlocked. Unfortunately, I have no idea what the password for the default keyring is. Is there any way I could find this out? I've included a screenshot, just in case.

View 5 Replies View Related

Ubuntu Multimedia :: MKV Files Audio/video Out Of Sync?

Mar 29, 2011

I put all my dvds on my "media center" by converting them to .MP4 with handbrake.

Recently I saw that with a MKV file you could do soft subtitles. I tested a part of a movie, and the audio and video are very out of sync.

With MP4/burned in audio everything is ok...

Edit: Ow yes I'm using XBMC for playing it. MP4 + MKV files are both H.264, they have the exact same settings except for subtitles...

Weirdly Enough: I tried another video and at this one the audio is in sync....

View 1 Replies View Related

Ubuntu :: VLC Media Player: Files Go Out Of Sync Over Time

Jul 8, 2011

I can't pinpoint when it started, but some time in the past several weeks, files have started going out of sync when I view them in VLC Media Player. Initially, sound and video are perfectly synchronized. After 10-20 minutes, it becomes obvious that the actors' mouths are not moving when I hear their lines.

If I stop playback, restart, and resume at the same point in the show, sync is again perfect for a while.

This is a really irritating problem. I cannot even get halfway through a half-hour TV show (really more like 22-26 minutes) without stopping & restarting.

As I stated, it's hard to point to a specific time when the problem started, but it could be connected to the upgrade to VLC 1.1.10.

Here's why I'm pretty sure this is not a problem with my files:

1) They are straight *.iso images of DVDs. No extra conversion/compression/processing so fewer opportunities for errors in the files.

2) The same files play back perfectly in Windows under all circumstances.

How did you fix it? Will we just have to wait for VLC 1.1.11, or is there a fairly easy way I can downgrade to version 1.1.9?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved