Displaying 20 results from an estimated 30000 matches similar to: "rsync from apache"
2009 Jun 16
7
Rsync, SSH and authorized_keys problem
Hi,
I'm trying to backup from one machine to the other (automatically via
cron) using rsync and ssh password-less public key authentication.
I having been trying to set this up following an article in a Linux
magazine[1] by only allowing the specific rsync command to run on the
remote box.
I am using the following rsync command:
$ rsync -avz -e "ssh -i ~/.ssh/backup-key" /backup
2002 Aug 03
1
Rsync from windows to unix
Hi,
I'm trying to use rsync from Windows to Unix.
I've followed the directions on :
http://optics.ph.unimelb.edu.au/help/rsync/rsync_pc1.html
I can see ssh running on the windows machine, because
I tested it using telnet localhost 22 and I can see
the result "SSH-2.0-OpenSSH_3.4p1".
But when I try
"$ rsync -avz -e ssh user@windowsserver::/rsync/* ."
from the Linux
2006 Apr 05
3
rsync, ssh and DSA key
hi all
I have generated the key in the source server(10.78.0.107)
ssh-keygen -t dsa -C "root@10.78.0.107"
I have added this key to authorized_keys2 of the destination
server(10.78.0.117)
cat id_dsa.pub >> /root/.ssh/authorized_keys2
but when I execute
rsync -avz -e ssh root@10.78.0.107:/var/mail/ /var/mail
in the destination server I asck me for the password
How to avoid this in
2010 Oct 26
1
rsync: failed to set permissions on "<filename>": Function not implemented (38)
Hi there,
I am trying to figure out how I can get my rsync client and server to
coexist better. I am running into the following error:
rsync: failed to set permissions on "<filename>": Function not
implemented (38)
and the command line is
/usr/bin/rsync --recursive --compress --human-readable --progress
--update --perms -avz '/Applications' -e 'ssh -p 22
2013 Jul 01
1
rsync won't hit the target
I'm trying to get rsync to copy some files across the network to a
particular folder, but it always drops them in the user's home
directory and changes the folder permissions of the home directory
from drwxr-x--- to drwxr-xr-x. Can anyone tell me how to fix these
problems? I'm using rsync like this:
rsync -avz --delete --include '/etc' --exclude '/*' /
user at
2008 Mar 19
2
rsync fails to exclude... sometimes?
Hello List.
I am using rsync to pull html files from a shared drive to 2 web server
boxes to keep the files synchronized.
However, I have a few files I do not want rsync to copy over because they
contain information specific (IP address) to the box hosting them.
Rsync seems to intermittently ignore the exclude statement and copies them
from time to time. Is there a way to absolutely prevent
2002 Jul 25
2
rsync with --exclude files
HI,
I'm trying to exclude some files & directories from a filesystem which I
would like to copy to a different site. I did:
# rsync -avz --exclude-file=/fs21/tmp/perl_scripts/exclude.txt
/fs22/a/circuit_design mickey.willow.com:/cpu/store/design
where file /fs21/tmp/perl_scripts/exclude.txt contains the following
directories and files to be excluded from /fs22/a/circuit_design :
2003 Aug 13
1
Rsync Folder level Synchronizing Problem
Hi,
I am using rsync for synchronizing two development work areas(geographically
seperated).
My Task: To copy abc/USER/xyz/123/456/..... to indiavidual developers remote
machines atrting from xyz folder.
here USER will vary, so for that i have created module till directory
structure abc
and the command runs like
rsync -avz --times vangrish@ruskin::MODULE/%USERNAME%
2008 May 20
4
Need help with rsync.
I have two hosts which have their respective keys loaded into each others
.ssh/authorized-keys2 file for root. I want to move a directory tree from one
host to the other via rsync to maintain a shadow structure of the application
provided on the main host.
This is the relevant part of the command:
rsync -avz --rsh=ssh --delete-after /var/data/pas-redmine
root at
2002 Nov 01
2
Help on rsync delete option
Hello,
Any help on the following issue will be appreciated.
How do I delete files or directories in my first level of directory that is
specified as host. Here is an example :
rsync -avz --delete ${SOURCE_HOST}:/mlinkfam/extract/sccs/pa/*
/mlinkfam/extract/sccs/pa
Giving above command I find redundant files or directory not getting deleted
from the first level of target directory
2003 Mar 28
2
Rsync error main.c
Rsync Ver: 2.5.5
OS: HPUX-11
Hello List,
I'm using rsync with ssh with this command line:
rsync -avz -e ssh some_file user-b@hostname-b:/home/user-b
Which does work, however I get the following error output:
rsync error: protocol incompatibility (code 2) at main.c(578)
Since the file does transfer, is the error output just some sort of bug? I
looked in the maillist archives, and I found
2004 Sep 16
1
how to rsync over ssh, but login is not permit
Hi, I want to backup my system via rsync over ssh, but login is *not*
permited!
According to the sshd_config man page, I need to set PermitRootLogin to
forced-commands-only.
In order to run follow command, how to set command option in authorized_keys?
# rsync -avz server:/etc /backup
Best Regards!
Jacky Kim
.
>On Thu, Sep 09, 2004 at 06:03:49PM +0800, Jacky Kim wrote:
>> If
2007 Jan 05
1
Help with rsync configuration
Hello there! We are trying to get rsync to work in our servers but so
far we did not succeeded. Our scenario is a 3 machines where one
directory must be replicated through all the clusters, no matter where
the file was saved. I have a few basic questions regarding that:
1st Do I need a daemon on all instances or just one of them? Files
saved on any of them must be mirrored
2nd We gave a try with
2004 Dec 06
3
rsync: a bit of confusion
Hi,
This is the first time I have setup rsync.conf like,
max connections = 20
syslog facility = local3
read only = true
hosts allow = 192.168.10.10
[qmail-control]
comment = qmail-control
path = /var/qmail/control
read only = yes
list = yes
uid = root
gid = root
Then from 192.168.10.10, I tried,
rsync -avz -e ssh
2008 Nov 03
3
[rsync -avz] total size/disk usage difference between source and destination
Hi folks
We migrated storage from local disk to SAN with:
# rsync -avz /mnt/lvol00045/* /lvol00045
Why there is a difference in size? How to explain this? Do we have
inconsistency? What we did wrong?
[...]
/dev/mapper/vg01-lvol00045_old
10321208 3930336 6286016 39% /mnt/lvol00045
[...]
/dev/mapper/vg01-lvol00045
10321208 3163852 6633068 33%
2008 Nov 26
2
rsync command exclude option
Hi
I do rsync -avz oldUnicelFiles hostB:/home/kaushal
--exclude-from=exclude.txt
but it rsynced the excluded files too
my exclude.txt file contains
####################
/home/kaushal/oldUnicelFiles/*.gz
/home/kaushal/oldUnicelFiles/*.txt
####################
Any ideas as what am i doing wrong
Thanks and Regards
Kaushal
-------------- next part --------------
HTML attachment scrubbed and
2012 Oct 17
2
Rsync - include only files containing matching string
I have a string, "2012_10_16"; let's call this $YESTERDAY
How can I rsync a file tree from a remote machine to the local one,
including *only* filenames that contain the matching string? I've
read the man page and googled around but can't seem to get the syntax
right. I either end up syncing all the files, or none of them.
Here's how the code looks now (I will remove
2005 Apr 21
1
[Bug 1959] writefd_unbuffered failed to write 4092 bytes phase send_file_entry broken pipe
https://bugzilla.samba.org/show_bug.cgi?id=1959
------- Additional Comments From admin@exovian.com 2005-04-21 08:46 -------
root@xxxx [~]# rsync -avz -e ssh /home/ xxxx@xxxxx:xxxx
building file list ... rsync: writefd_unbuffered failed to write 4092 bytes:
phase "send_file_entry": Broken pipe
rsync error: error in rsync protocol data stream (code 12) at io.c(515)
This method
2001 Nov 13
3
rsync exclude/include
I want to rsync only a small part of a directory tree. I've set up an
exclude and an include file:
exclude holds:
/*
include holds:
/iso/1.5.*/i386
I am calling rsync using
rsync -avz --include-from="include" --exclude-from="exclude"
ftp3.sourceforge.net::/netbsd/iso iso/
but nothing happens. No files transfered. But I would expect rsync to
transfer files:
2009 May 19
2
incremental directory searche in rsync 3.0.6
Hi,
I was in under impression that rsync 3.0.5/3.0.6 creates all the missing
directories in the path but I think I am wrong. Could any one tell me is it
possible to create all missing dirs in path at destination side if not
exists. Currently, I have been getting below errors.
rsync -avz /tmp/mytest/rsync-test/dir-test/parent-dir/
desthost:/tmp/mytest/rsync-test/dir-test/parent-dir/
sending