Displaying 20 results from an estimated 20000 matches similar to: "First Time Using Rsync"
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
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 :
2001 Nov 13
1
rsync exclude/include [FIDUCIA virengeprüft - ohne Gewähr, daß alle bekannten Viren und deren Varianten erkannt wurden.]
Hi again!
Tomasz Ciolek <tmc@goldweb.com.au> on 13.11.2001 01:21:27
An: Thomas Schweikle <tschweikle@fiducia.de>
Kopie:
Thema: Re: rsync exclude/include [FIDUCIA virengepr?ft - ohne Gew?hr,
da? alle bekannten Viren und deren Varianten erkannt wurden.]
> Try dumoping the whole file list into a text file, prefix each one with
> minus for exclude and a + for
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%
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
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
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
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
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
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
2007 Jan 16
2
rsync 2.6.9 ignoring hidden files?
I've been googling and searching the mailing list, and I think this is
a new issue.
I just tried copying a kernel source tree, using this command
rsync -avz linux-2.6.16.29/. yuzu:/usr/src/linux-2.6.16.29/
I also tried adding this option:
--include=".*"
but in both cases, the .config file was not copied over. It seems that
rsync is copying hidden directories but not hidden
2007 May 11
1
Rsync File listing
Can someone assist me in using rsync to ssh into a remote server to obtain
the file listing? As it appears I have some files on a remote server that I
need to pull, however there are many files in the remote server directory,
to why I am wanting to only pull a certain (-mtime -1).
Here is what I have so far:
/usr/local/bin/rsync -e ssh -avz --delete --rsync-path=/usr/local/bin/rsync
2008 Nov 18
2
Rsync, what are the max transfer limitations ?
What is the maximum transfer rate allowed for rsync? I mean the limitations?
I can't get more than 50Mbit speed in my gigabit lan, with rsync
server or with ssh. ftp transfers reach >400Mbit , so it is not a lan
or nic problem.
Maybe it has something to do with my cpu limitations? or the
limitations for rsync is the 50Mb/s?
Here is my rsyncd.conf if it helps
> # by gourgi
> max
2009 Jul 26
1
Need help of exclusion options in rsync-3.0.6
Hi,
I have a situation where I want to delete some of my excluded patterns but
still want to preserve some other. For example consider below source and
destination directory hierarchy.
Source Dest
---------- ---------
/foo/bar/ /foo/bar/
| -> baz | -> baz
| -> xyz | -> xyz
| ->
2008 Sep 29
1
rsync hangs after counting some file list
Hi All,
I have written script to download a directory from remote machine which
contains the always the updated data. I want to download that directory
onto my local machine periodically with --link-dest option to my old
download directory.
I have automated the script using " expect scripting"
Following script I have written:
$> cat ravi.ex
#!/usr/bin/expect --
set LDEST