Displaying 20 results from an estimated 600 matches similar to: "Rsync a directory via a linked name."
2015 Apr 16
0
Rsync a directory via a linked name.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just go 1 deeper for your source: rsync -l
ftp.cn.debian.org::debian/dists/wheezy/main/installer-amd64/current/
On 04/16/2015 06:21 AM, Hongyi Zhao wrote:
> 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
2015 Apr 14
2
Two same rsync commands give different results on two debian mirrors.
Hi all,
See the following commands:
___________________________
$ rsync -rmnv -f +_README -f -_* ftp.is.co.za::mirror/ftp.debian.org/
ftp.us.debian.org/debian
[snipped]
receiving file list ... done
sent 23 bytes received 9 bytes 1.42 bytes/sec
total size is 0 speedup is 0.00 (DRY RUN)
$ rsync -rmnv -f +_README -f -_* ftp.cn.debian.org::debian
[snipped]
receiving file list ... done
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 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
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) |
|===============================================================|
|
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 18
2
On the case `an identical item replaces the dots with spaces' for `--itemize-changes'.
Hi all,
The `--itemize-changes' has the following notes within the manual:
The other letters in the string above are the actual letters
that will be output if the associated attribute for the item is
being updated or a "." for no change. Three exceptions to this
are: (1) a newly created item replaces each letter with a "+",
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 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
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 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.
2015 Apr 15
1
How to capture the stderr of rsync and redirect it into a file?
On Wed, 15 Apr 2015 14:39:10 +0200, Heiko Schlittermann wrote:
> Because you didn't tell.
>
> ? 2>aaaa
>
> Note the missing space between die file descriptor and the redirection
> operator.
Then, why the following one will work, i.e., use a space between the
redirection operator and the logfile:
? 2> aaaa
Regards
--
.: Hongyi Zhao [ hongyi.zhao AT gmail.com
2013 Jun 09
2
libvirt_lxc and sysfs
Hello.
Is it possible to start container via libvirt_lxc without mounting /sys
inside container?
When I start container via lxc-start and do not add mount point to config,
then /sys inside container is empty.
When I do it via virsh -c lxc:// container.xml, then
/sys contains sysfs of the host and /sys on host becomes remounting read-only.
Am I doing something wrong or is this feature of
2013 May 15
1
Debian 6 (squeeze) backports of libguestfs etc.
Hi,
Backports of the libguestfs, febootstrap, and hivex packages that have
been shipped with Debian 7 (wheezy) for Debian 6 (squeeze) are now
available via backports.debian.org. The versions are:
libguestfs 1:1.18.1-1+deb7u2~bpo60+1
febootstrap 3.17-1~bpo60+1
hivex 1.3.6-2~bpo60+1
I have also removed the archive of older backports that was previously
available at
2016 Feb 10
1
Osync error for sysvol directory : rsync: set_acl: sys_acl_set_file Invalid argument (22)
Hello,
I got many errors on files when synchronizing the sysvol directory
between 2 AD DC with osync :
...
rsync: set_acl:
sys_acl_set_file(ariane.intra/Policies/{2487894F-DA69-4CE1-82A9-D9B4EFE5D32E}/Adm,
ACL_TYPE_ACCESS): Invalid argument (22)
rsync: set_acl:
sys_acl_set_file(ariane.intra/Policies/{2487894F-DA69-4CE1-82A9-D9B4EFE5D32E}/Adm/admfiles.ini,
ACL_TYPE_ACCESS): Invalid argument