Displaying 20 results from an estimated 3000 matches similar to: "problem with rsync-daemon via ssh"
2003 Aug 22
1
rsync daemon and secrets file
I'm trying to understand how to properly setup the
/etc/rsyncd.conf file to run an rsync daemon with a
secrets file specified in a module - the rsync.conf
manpage does not spell it out clearly enough.
Rsync server is rsync-2.5.6.
If this is my /etc/rsyncd.conf file:
------------------------------------
log file = /var/log/rsync
uid = root
gid = root
[test]
uid = rsync1
gid =
2005 May 13
2
not deleting from the root
I have a bit of an issue with rsync. I am using to keep directories in
sync via another server for backup.
Here is the server config
[w1]
path = /w1
comment = w1 web dir
[w2]
path = /w2
comment = w2 web dir
Now on the client i run this command
rsync -avv --delete --force domain.com::w1/ /w1/
It will NOT delete anything that is no on the server anymore.. for
example on the server/client there
2011 Oct 14
2
rsync compares all files again and again
Hi,
we do a 1:1 backup from our main raid to a backup raid every night with
rsync -a --delete /mnt/raid1/ /mnt/raid2
rsync is 3.09, filesystems are ext3, OS is SLES 11 SP1.
The rsync process takes several hours, even if no file has changed at all.
Using -vv I see that rsync compares all files every time and that takes
long for some hundreds of millions of small files.
Can I tell rsync it
2002 Mar 20
2
include exclude help please.
hi.
I know this is a big topic on the list, please forgive me.
rsync -avv --include "/film/jonah/**/sourceimages/*.tif" --exclude "*" /film /tmp
i'm trying to copy all *.tif 's that are in a */sourceimages/ directory
and that are only under /film/jonah.
i would like to copy the directory tree and tif files to /tmp
i was able to copy ever tif with:
rsync -a
2009 Jan 15
2
--compare-dest; I'm missing the boat
I must be seriously misunderstanding the man page coverage of
--compre-dest. My take was that if a file in compare-dest=dir
matches a file in SOURCE/ then it won't be transferred to DEST/.
I tried this test. (d1 has single files and 2 subdir with files)
cp -a d1 d1a
mkdir d2
rsync -avv --compare-dest="./d1a" d1/ d2/
d1a is carbon copy of d1 but still every last file in
2004 Jul 06
4
not updating changed local files
rsync version 2.4.6 protocol version 24
gin@rhysling:~> rsync -avv ~/share/cvs-xemacs-head/XEmacs/xemacsweb ~/share/public_html/xemacsweb
building file list ... done
...
xemacsweb/About/XEmacsServices.content is uptodate
...
gin@rhysling:~> ls -l {~/share/cvs-xemacs-head/XEmacs/xemacsweb,~/share/public_html/xemacsweb}/About/XEmacsServices.content
-rw-r--r-- 1 gin sdu
2001 Oct 22
4
Using rsync to mirror a hard drive.
1) I'm a developer.
2) I use one special machine as a CVS server, generic storage ( an
electronic attic ), as a web server of online documentation ( such as
the python documentation, or SGI STL docs ).
3) I would like to add a hard drive to that system that mirrors the
system drive. Someone suggested that I use rsync for this purpose.
Called by a cron job that starts at 2:00am. I also want to
2010 Oct 23
2
How to escape "()" characters in commad
I have the following command:
/usr/local/bin/rsync -avv 'Jeffrey?s iPhone (Root)'/ 'Macintosh
HD'/Users/jeffrey/Downloads/iphone_backup
Unfortunately, it's barking when it hits the "(".
-bash: syntax error near unexpected token `('
How can I escape this?
Thanks.
--
View this message in context:
2003 Apr 19
2
rsync: read error: Connection reset by peer
Getting the following error:
% rsync -avv --temp-dir=/var/tmp/ --exclude-from=../kde-redhat-exclude --delete --delete-excluded rsync://apt.unl.edu/apt/7.3/ 7.3/
rsync: read error: Connection reset by peer
rsync error: error in rsync protocol data stream (code 12) at io.c(177)
rsync: connection unexpectedly closed (56109 bytes read so far)
rsync error: error in rsync protocol data stream (code
2005 Mar 21
1
exclude problem
I have looked on the mailing lists and through rsync documentation but those
still haven't solved my problem. I may be calling rsync incorrectly but the
problem I have is that the exclude file seems to be ignored. My final goal is
to replicate an entire host, excluding some files that contain specific IP,
hostname configuration things. I'm trying to start small by mirroring a
2004 Jun 14
1
stalling during delta processing
I have a 29 Gig full backup on a remote server (lets call if fedor) that is called Kbup_1.
I have a 1.3 Gig incremental backup on my local server.
I have rsync 2.6.2 on both servers. Both are RedHat Linux 9.1 on i-686 hardware platforms.
I issue the command "time rsync -avv --rsh=rsh --stats /test/Kibbutz/Kbup_1 fedor://test/Kibbutz". The synch takes ~5 minutes of real time and about
2007 Nov 12
2
rsync as daemon doesnt use secrets file but sshd
Hi all!
I have a problem configuring rsync as daemon:
This is my rsync.conf:
log file = /var/log/rsync.log
list = yes
uid = nobody
gid = nobody
secrets file = /etc/rsyncd.secrets
[section]
comment = Great stuff from remote.acme.com
path = /home/repos
auth users = marco
hosts allow = *
hosts deny = *
This is my /etc/rsyncd.secrets
marco:marco
This is the secrets file permission:
[root@server
2006 Mar 03
3
dynamic queries
Is there an easy (and secure) way to search your database when you don''t
know the number of parameters ahead of time? I can see doing it by
concatenating together an sql query, but hopefully rails provides a more
elegant way to do this with ActiveRecord without making a ginormous switch
statement?
For example, lets say my search form has 4 different input boxes. I only
want the query
2007 Dec 28
1
Odd behavior with --detect-renamed
Hello,
I'm totally new to this list, so I hope I don't break all the rules. :)
I've looked through the archives (and google), and I really can't find the
answer to my question.
I'm trying out the 'detect-renamed'-patch, and I've encountered some odd
behavior. I've applied the patch to both rsync-2.6.9 and rsync-3.0.0pre7,
and it's the same behavior.
2017 May 26
2
Another mail_crypt question: figure out to password secure using mysql
Hello Community,
(sorry to be more busy, hence more running questions in parallel :) )
As mentioned in another post, I am testing mail_crypt plugin.
I was wondering how to really secure the process sothat even the admin
cannot have any access to the other users mail content.
My current config is simple:
- using per-folder keys (hence the per-user spaces are preserved)
- put the
2014 Jul 05
1
duplicated --itemize-changes hangs since 3.1.1pre1
One of our rsync updates has been getting stuck at the download point.
It gets the incremental list, deletes stuff but when it tries to
download new/updated files it gets stuck and aborts after the timeout;
it doesn't even create the temporary. Experimentation shows that it
happens because the --itemize-changes option is repeated (on purpose);
putting it only once works normally. Apparently
2005 Sep 07
3
channels VHF/ HF radio in asterisk
Hy,
I have a network with WIFI communication and VHF/ HF channels.
I have integrated asterisk in the network using SIP, ZAP and IAX2
channels for WIFI communications, but I don't Know How I could integrate
the VHF/ HF channels.
I have heard speaking about app_rpt project, but I don't Know very much
about this.
Could I integrate VHF/ HF channels with this application? if the answer
is
2004 Jan 11
1
comparing 2 in rsync
Hi,
Is there a sure way to test 2 cd's if they are true copies in rsync.
I have tried this...
rsync -avv /mnt/cdrom/ /mnt/cdrom2
**
result....quite shotened...
misc/rpm2header is uptodate
pkg-9.2-FiveStar-download-i586.idx is uptodate
total: matches=0 tag_hits=0 false_alarms=0 data=0
wrote 65301 bytes read 20 bytes 1789.62 bytes/sec
total size is 679261427 speedup is 10398.82
**
Is
2002 Apr 12
1
is there a `newer' function
Hope I haven't just blindly overlooked this in man rsync:
1)
Some way to run rsync with any of the usual command lines but only
applicable to files newer than some stipulated date.(on the source)
2)
Some tricky way to redirect where the transferred files go.
Example:
rsync -avv source target real_destination
Where all rsync computations are done comparing files in source to
files in
2005 Jan 27
1
rsync clobbering links?
When using rsync -avv to recursively copy a local directory on a
remote server, and if the remote server has a symbolic link of the
same name pointing to some other directory, then that remote symlink
is clobbered in favor of the hard-wired path. I looked at the man
page and other rsync documentation about copying links, but not of the
options seemed to apply in my case. The closest was