Displaying 20 results from an estimated 3000 matches similar to: "On the case `an identical item replaces the dots with spaces' for `--itemize-changes'."
2015 Apr 15
2
How to capture the stderr of rsync and redirect it into a file?
Hi all,
See the following commands:
werner at debian:~$ rsync -c ftp.cn.debian.org::debian/ 2 >aaa
rsync: The server is configured to refuse --checksum (-c)
rsync error: requested action not supported (code 4) at clientserver.c
(849) [sender=3.0.9]
rsync: read error: Connection reset by peer (104)
rsync error: error in socket IO (code 10) at io.c(785) [Receiver=3.1.2dev]
Why rsync cann't
2015 Apr 17
2
Rsync a directory via a linked name.
On Thu, 16 Apr 2015 11:21:03 -0400, Kevin Korb wrote:
> Just go 1 deeper for your source: rsync -l
> ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/current/
Yes, I've tried this before. But I also use the `--delete --delete-
excluded' with the above options. And finally I found that the current
will not be retrieved, in fact it will be deleted at the end.
Then I
2015 Apr 16
2
Rsync a directory via a linked name.
Hi all,
See the following for detail:
$ rsync -l ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/
[snip]
drwxr-sr-x 4,096 2015/01/10 18:17:33 .
lrwxrwxrwx 18 2015/01/10 18:16:31 current -> 20130613+deb7u2
+b4
drwxr-xr-x 4,096 2013/05/01 05:33:52 20130430
drwxr-sr-x 4,096 2015/01/05 17:25:32 20130613+deb7u2+b4
In the above case, the current
2015 Apr 18
2
Skip based on checksum not worked as expected when using with complex filter rules.
On Sat, 18 Apr 2015 00:39:42 -0400, Kevin Korb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I still don't see an output from rsync --itemize-changes with an A/B
> difference.
What do you mean by saying the above things?
Do you mean only the `--itemize-changes' is enough for my case?
Or
Do you want to see the output from my case of running on the
2012 Apr 04
2
Using rsync to synchronize
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I have been using rsync to backup our primary data stores. It works
fine. Here are the options I use for doing that:
rsync --recursive --links --times --dirs --stats --delete \
--itemize-changes --quiet --exclude-from=exclude-filename \
/data-store1/ /data-store2/
Recently I have had the need to actually synchronize the files
between
2012 Jul 27
7
cannot rsync when source directory lacks write permission
I seem to be running into a problem where I am trying to rsync from a
source directory that lacks write permissions (i.e. r-xr-xr-x).
Presumably this is because rsync creates the directory on the
destination, then sets the permissions to match the source and then
tries to sync the contents of the directory, which it cannot of course
lacking write permission in the directory.
Is there a way to
2015 Apr 18
2
Skip based on checksum not worked as expected when using with complex filter rules.
On Fri, 17 Apr 2015 23:45:42 -0400, Kevin Korb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> So, I am assuming that without --itemize-changes you couldn't tell the
> difference between "I am transferring a file" and "I am fixing the
> timestamp on a file".
>
> Even if I am right, you are probably still mis-using --checksum. When
2015 Apr 18
2
Skip based on checksum not worked as expected when using with complex filter rules.
On Fri, 17 Apr 2015 21:27:56 -0400, Kevin Korb wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Any time rsync wants to do something to a file you don't think it should
> be see what --itemize-changes says about it. In fact, -v is almost
> entirely useless without --itemize-changes. In fact, if I was in charge
> I would make -v include --itemize-changes.
2011 Sep 16
2
Cannot get the syntax of --include-from right
Here is part of my backup script:
nice -n 15 rsync -avl --exclude=".*" \
--include-from="/home/bob/backup_includes" \
"$fromdir" "$todir"
Here is the content of /home/bob/backup_includes
/home/bob/.vimrc
/home/bob/.gitconfig
My problem is that neither the .vimrc nor .gitconfig are copied to the
backup directory.
I have read the man page about
2015 Apr 10
3
Finding specific files/directories from a remote rsync server.
Hi all,
Suppose I have remote rsync server, named as: rsync.example.net. And I
want to finding some specific files/directories from it.
To do this, I must let my local rsync client to do a traversing among all
of its modules and the corresponding sub-directories. Say, if I want to
find all of the `foo/file' on this rsync server, i.e., a file named file
which is located under the foo
2015 Apr 18
2
Is it possiable to suppress the site-specified messages?
Hi all,
When connect to a remote rsync server, ofter it will give some site-
specified messages, say, the following one:
------------
_______________________________________________________________
| University of Science and Technology of China |
| Open Source Mirror (mirrors.ustc.edu.cn) |
|===============================================================|
|
2010 Oct 22
3
include-from or files-from
Hello List,
i have got a large File-List which looks like this:
...snip...
165/165950*.jpg
166/166072*.jpg
...snap....
Now i would like to transfer only those file from that list. The rsync command:
rsync -avz -F --files-from=/tmp/synclist-small.txt /mnt/ /data/
does not seem to work due to that wildcard.
The command:
rsync -avz -F --include-from=/tmp/synclist-small.txt /mnt/ /data/
syncs
2015 Apr 04
1
Downloading a great number of files from different rsync servers for good loadbalancing and high efficiency.
Hi all,
I'm using Debian, I want to make a local repository which can let me
install packages more conveniently.
Considering that the rsync tool is the Debian official proposed tool for
syncing the files among its different rsync server sites, I use the rsync
client to downloading the deb packages from the different rsync servers
distributed around the world-wide for good loadbalancing and
2015 Apr 14
3
The complicated filter rule used by me worked for one Debian mirror and not for the other.
Hi all,
I write a complex filter rules as follows:
rsync -amvHPRSB131072 -n --delete --delete-excluded \
-f +_dists/jessie/**binary-all/Packages.gz \
-f +_dists/jessie/Release* \
-f +_dists/jessie/**binary-amd64/Packages.gz \
-f +_dists/jessie/**installer-amd64/*** \
-f +_dists/jessie/**binary-i386/Packages.gz \
-f +_dists/jessie/**installer-i386/*** \
-f +_dists/***/ \
-f -_*
2015 Apr 06
2
Downloading specific files with rsync and make them keeping the original directories structures.
Hi all,
See the following command:
$ rsync -av ftp.cn.debian.org::debian/dists/Debian7.8/Release .
Which will download the file Release under the directory from which the
rsync command is isssued.
If I want to keep the original directories structures, say, for this
case, put the the Release in the following location:
./dists/Debian7.8/Release
If the directory tree doesn't exist, let
2015 Apr 15
2
Does the --delete conflict with --files-from?
Hi all,
I've tried to use the --files-from and --delete options together.
But finally find that in this case, the `--delete' won't delete the
extraneous files from dest dirs.
So, does the --delete conflict with --files-from?
Any hints on this issue?
Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 15
1
Can I let rsync only transer a part of file within specific byte ranges?
Hi all,
Suppose I have a file on the remote rsync server:
rsync://path/to/myfile
And I want to only retrieve a part of the file based a ranges of bytes to
my local host, say, 0-499, means only transfer the first 500 bytes of
that file.
Is this possible with rsync client?
Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
2015 Apr 14
1
The complicated filter rule used by me worked for one Debian mirror and not for the other.
On Tue, 14 Apr 2015 13:32:46 +0200, Paul Slootman wrote:
> ftp.cn.debian.org is running a version of rsync that supports protocol
> version 30, whereas ftp.is.co.za is running an older version that only
> supports up to 29.
Anyway, thanks for your above notes again. I finally use the nmap to
check the things you said above are correct:
werner at debian:~$ nmap -sV -p873
2015 Apr 14
2
Two same rsync commands give different results on two debian mirrors.
On Tue, 14 Apr 2015 09:32:10 +0200, Paul Slootman wrote:
> On Tue 14 Apr 2015, Hongyi Zhao wrote:
>>
>> See the following commands:
>>
>> ___________________________
>>
>> $ rsync -rmnv -f +_README -f -_* ftp.is.co.za::mirror/ftp.debian.org/
>> ftp.us.debian.org/debian
Please see the above line including the part of line-wrapping. I've used