rsync command problems
Hi using rsync within our bluetooth software to control and update a network. We have 14 client servers all building data and sending bluetooth messages and all connected to an enterprise master server on an internal network.
The client servers each have there own IP and need to send obex data reports to the enterprise which also has its own IP. The enterprise then sends data back to the clients like content updates and configuration settings. Our software currently has the following configuration: OBEX UPDATE (page) Data Source rsync://192.168.1.60/ccobex-data/ Sync Options -f :_.rsync-filter --delete-after RSYNC- FILTER - /download/**/.lock* - /download/**/.log* + /download + /download/** + /selfile + /selfile/** + .rsync-filter : .rsync-filter - * RSYNC CONFIG uid =nobody gid =nobody use chroot =yes read only =yes max verbosity =1 timeout =600 transfer logging =yes [ccobex-data] path = /var/opt/ccobex comment = ccobex data files filter = . /var/opt/ccobex/ .rsync-filter The data in the ccobex folder contains selfile,download,obexfilel.log,obexscan.log At present only the download and selfile is changed but the obexfile.log and obexscan.log does not change. We really need the file and scan logs to come over also Can anyone offer any advice as we have been on this an eternity trying to solve |
Is this the config file for a wrapper you wrote to rsync? Is there any way you can post the actual rsync command that is run?
|
is there possibly a filter excluding the logs in ccobex folder in .rsync-filter?
|
Quote:
There is a .rsync-filter in ccobex but that is the filter listed above |
Quote:
|
Quote:
|
Code:
+ /download Code:
- * |
Quote:
|
Quote:
rsync -f .rsync-filter --delete-after rsync://192.168.1.60/ccobex-data/ destination/ |
Quote:
|
good point'
|
Quote:
I tried the command rsync -f .rsync-filter --delete-after rsync://192.168.1.60/ccobex-data/ destination/ in data source but did not like the command and did not work. Do you have any further ideas on this i could try please ask if you require me to send any further settings thanks chris |
Woops' you were right meson he is on a different page.
krisrae675: I was guessing above at what command you were trying I was not suggesting you use the above command I should have explained myself better. Please post the command you where trying. If you have ssh I would suggest you setup keys for logins and use the command: Code:
rsync -ave ssh --delete user@192.168.1.60:/path/to/ccobex-data/ /path/to/destination/ Code:
rsync -ave ssh --delete /path/to/ccobex-data/ user@192.168.1.xx:/path/to/destination/ And of course add your filter with the -f flag. |
Quote:
I did try the command you originally posted i did change the paths to the correct ones Regarding the command I was using to run rsync it was rsync://192.168.1.60/ccobex-data/ |
And what was the result?
|
All times are GMT -5. The time now is 11:05 AM. |