similar to: Path restriction in RSync

Displaying 20 results from an estimated 6000 matches similar to: "Path restriction in RSync"

2003 Jan 22
1
Rsyncd - Help me
Hello, I'm trying to do my rsync to copy a mirror of my site in another webserver. I am trying to use RSYNCD . How I'll do for my rsync to copy my site website in the mirror ? Which is a command to copy the mirror with the password ? I've this websites about rsync http://sunsite.dk/info/guides/rsync/rsync-mirroring.html http://rsync.samba.org Somebody could help me? or Link ? Doc
2001 Oct 14
1
ssh->rsync->newbie
warning: rsync/sysadmin newbie question... I want to sync the web directory from my production server to my backup server (through ssh). rsync is working fine, except that it doesn't seem to authenticate my rsync user which is not a system user. If I run the command manually, sshd asks for the far end user's password. If I use that user's password, the files are rsynced to a
2004 Dec 21
1
ssh rsync problem
Hi all, I recently acquired a laptop which brings the grand total of computers at three. 1 laptop, 1 server, 1 desktop. Now the problem I want to solve is the following: Because I work on both my laptop and desktop I would like to sync data in my prj/ directory to my server. So when I logon I sync my data from to server to the computer I currently working on and when I logoff I sync the data
2006 Mar 31
2
Rsync ignoring secrets file
Hi list I have a strange problem. I've tried for the first time to install and use rsyncd. Rsync itself works it does everything that it should do, except ask for a password. Google and the manual wasn't helpful i just found howto's and no solution. Here is what i did: rsyncd.conf =========== pid file = /var/run/rsyncd.pid use chroot = yes read only = yes Simple example for
2005 Jan 06
1
How to use rsync
Hi, I am having one machine which i want to configure as a rsync server. Onthe machine I had kept the following file /etc/rsyncd.conf motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock [rsync-test] path = /home/xidcit/test comment = XIDC Rsync Server uid = nobody gid = nobody read
2003 May 03
1
mkstemp <filename> failed
I'm not really what you would call a linux newbie, but I managed to run into a problem with rsync that has me stumped. I want to conduct un-attended backups of various files and directories over about 3000 miles of Internet, so I chose sshd and rsync for the job. I wrote a pair of scripts to do the job, the first to run incremental tars on the localhost, the second to run the rsync client.
2006 Oct 28
1
Cygwin rsync to RH rsync server
Ok I updated both systems to rsync-2.6.8 and found the info on setting strace on the server. Here are the trace logs, there are two calls the first is just the module list which finishes normally the second is the file list in the test module which fails after the list. By the way I have no idea what any of this means (sorry if I'm not supposed to post traces to the list)
2006 Jul 29
1
How to keep permissions from rsync server?
Dear readers, Does anyone know how I can keep the file permissions on the destination side when I sync? This is what I have done so far. In /etc/rsyncd.conf on the server have I: ------------------------------------------------------- log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock [server] path = / uid = root gid = root read only = yes
2008 Apr 11
1
rsync to copy files remoteserver
Hello every one, for the first i am trying to use rsync to copy files from remote server to local machine. i am using the rsync version 3.0.1 protocol version 30 on local machine. remote server is using rsync version 2.6.3 protocol version 28. i read on web that to copy files from remote server we need to update username&password in the file secrets file = /etc/rsyncd.scrt ,but this
2016 Feb 08
1
--link-dest not working on remote server (running daemon)
With the following server config: log file = /var/log/rsyncd.log pid file = /var/run/rsyncd.pid lock file = /var/run/rsync.lock [offsite] path = /media/external/ comment = Offsite backup read only = no hosts allow = 192.168.2.0/24 auth users = backup secrets file = /etc/rsyncd.scrt uid = 0 gid = 0 I tried the following for --link-dest and they all tried to transfer all
2005 Jun 30
2
rsync .gz files?
I've run across a situation where I have a directory of .gz files. I do want to rsync this directory. I've tried without the --compress (because they are already compressed) but the files never get rsynced. Interactively, I get the following error: :rsync error: some files could not be transferred (code 23) at main.c(1045) In the /etc/rsyncd.log, for each of the files, I get:
2004 Jun 16
2
real Newbie query sorry!
Hi as I'm a real newbie to rsync I'd better apoligise if this is 'old hat'. I'm trying to get to grips with rsync and I've set up rysnc as a server on a redhat 8 linux pc using a simple rsyncd.conf I then tried to list some files placed in the rsync server by using a commandline shell to this server. I've called the server 'server'. But for some reason I
2016 Feb 08
1
--link-dest not working on remote server (running daemon)
Hello, I have read through the list of previous issues regarding this issue but haven't been able to resolve mine. I apologize in advance for the long text and am probably doing some simple typo. I have two servers in my setup: *Server 1* Doing rsync with --link-dest daily and working as expected. I'm getting the hard links in the new daily directories. *Server 2* Running rsync daemon
2006 May 03
2
Rsync error on client end: unexpected tag 3 [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(843) [sender]
Hi guys: First post for me on this list. THE PROBLEM =========== I have several linux servers (ranging from Redhat 7.3 to FC3) that use Rsync (version 2.6.8 and 2.6.7, read on for reasons) to backup their data. A typical rsync backup script looks like this: ------------------------------------------------------------------------------------------ #!/bin/sh RSYNC_PASSWORD=<PASSWORD> rsync
2017 Jan 13
1
Rsync tries to access unnecessary files/dirs after chrooting itself.
Hi. While debugging some encfs errors in the logs, I realized they are being generated because rsync (chrooted inside a encfs file system, --reverse) is trying to access files like: /root/.popt, /etc/localtime etc. This doesn't seem to be related to ID-name mapping as I already have numeric ids enabled in config. Here is the relevant strace output: [pid 25549] chroot("/chroot")
2011 Apr 27
2
Rsync 3 from rpmforge
My brain must be on knots somehow. I try to install rsync 3.x, which I know is in rpmforge repo for my architecture: https://www.centos.org/modules/newbb/viewtopic.php?topic_id=22214 http://packages.sw.be/rsync/ But yum does not find it, however I try. I have installed yum-priorities. Rpmforge is low priority. But still... yum erase rsync # erase v2.6 from base repo yum --disablerepo=\*
2001 Aug 15
2
rsync without reverse dns lookup
Hello, I set up an script witch connects my rsyncd server. But the IPs for rsyncd Server and Client have no DNS Name, and so rsync trys to lookup for a DNS Name for this IPs. This causes a long DNS Timeout! My question: is there a commandline option to disable this "feature"? Or can you give me quick "hack around"? Best regards -- Clemens Gesell <cgesell@astaro.de> |
2005 Oct 29
1
how to restrict rscync to ONLY use ssh-pubkey transport & auth?
-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 hi all, i have two OSX boxes set up for ssh via pubkey auth only. i'm setting up rsync comms for the first time. i have rsyncd running on box A. no-auth rsync from box B to/from box A's rsyncd works as expected. rsync@B to/from rsyncd@A using pubkey-auth'd-ssh trasport: rsync --verbose --stats --recursive -e "ssh -F
2003 Aug 21
2
how to make rsync avoid inputting a password?
Hello Now I am developing a project. I want abstract rsync from cygwin and use = it at Windows platform. The problem is when use rsyn -e ssh, it always = requires a password. So I use ssh-agent/ssh-add, but in command line = environment, rsync can't reconize the ssh-agent. It still require a = password once I use rsync. Would you please help me to solve this problem? Zhiwei Qu
2006 Sep 04
1
Rsync + SSH on a different port + restricted access
Hello, I'm trying to setup Rsync over SSH with openSSH running port 2222 with a remote RSA public key authentification and a restricted shell to avoid the user to browse my server via SSH, only be able to run rsync server. 1) i've built a regular rsync server over TCP/873 Worked fine, check my conf : motd file = /etc/rsyncd.motd log file = /var/log/rsyncd.log pid