Displaying 14 results from an estimated 14 matches for "daniel_li".
2009 Mar 02
6
How to speed up rsync when haveing lots of files
Hello List,
unfortunatelly rsync is beeing REALLY slow and produces a high load when
we try to sync lots of files (>250 000 small files). My experience is,
that this is fatser if i do it folder by folder.
Is there a rsync option which reduces the load and speeds up the rsync
somehow?
Thanks,
Mario
2009 Apr 21
2
looking for superlifter souce code and related information
Dear List,
I just googled "superlifter" and found below link, but I can't get any
source code.
http://superlifter.sourceforge.net/
Any help or info on this is mostly appreciated. And sorry for the
trouble, if it's NOT allowed to post here. THanks.
--
Daniel
2009 Apr 22
2
[Code study] lp_motd_file defination? Help
Dear List,
Currently, I read this in clientserver.c, line 148.
motd = lp_motd_file();
I have googled, but didn't the definition of char *lp_motd_file(void).
Can anyone help to explain the following code segment. Many thanks.
#line 147 ~ 160, in clientserver.c, version 3.0.5
> if (!am_client) {
> motd = lp_motd_file();
> if (motd && *motd) {
> FILE *f =
2009 Apr 27
1
[Code study]should we remove if (motd && *motd) section?
Dear List,
I'm confused when we will run into "if (motd && *motd)"?
As I have found that Globals is set 0 during initialization, and I
didn't find anywhere else assign the value.
If so, should we remove this section?
Or there might be some where I missed? Please correct me, if I'm wrong.
Thanks in advance.
clientserver.c #line 147~160
> if (!am_client) {
2009 Feb 24
0
Time slot back schema
Hi List,
Does Rsync support time slot back schema?
E.G. (same local folder and remote destination)
1) first backup at 2008-12-24
2) second backup at 2009-02-12
But something bad happens to 2209-02-12, I need to restore files to
first backup. Is there any way to do so?
Any help is mostly appreciated. Thanks.
Daniel
2009 May 06
1
how to output verbose information to console when run rsync --daemon?
Dear List,
option "-v" can output information to console. But it seems no effect
with "rsync --daemon".
So, how can I output verbose information to console when running with
command "rsync --daemon"
I also tried log file. Seems didn't work.
Or is there any other way to read those information, Thanks in advance.
--
Daniel
2009 May 20
1
2.6.9 and 3.0.5 sync error
Dear List,
I'm using rsync to sync my data, see below command. And I met this
error?
I think it might be due to 2.6.9 and 3.0.5 compatible issue. So how to
solve the problem? Thanks.
rsync -vrtopg --progress --delete
--password-file=rsync-password /path/on/pc
root@192.168.0.202::destination
building file list ...
151804 files to consider
rsync: push_dir#1 "/" (in maps) failed:
2009 May 22
2
weird access function in rsync code.
Dear List,
When I use "access" function to find out if the folder exist in rsync
code. I found that it's will NOT act as normal function.
I have tried 2 test:
a) embedded in rsync function "int recv_files(int f_in, char
*local_name)" and hard coded with following line.
access("/home/admin/test",F_OK)
Result: Failed with -1, just mean the test folder is NOT
2009 Jun 02
2
Which function in generator trigger the file transfer?
Dear List,
I checked the function "generate_files", which might be simply stand for
generator, but didn't find where triggers the file transfer. As receiver
will use "read_ndx_and_attrs" to read iflags to judge if it's need to be
transfered?
If I'm wrong, please correct me. Can anyone help to point it out?
Thanks.
--
Daniel Li
2009 Jun 04
1
what kind attrs are going to be transfered by rsync?
Dear list,
I have met this error. I wanna know what attrs are transfer by rsync
program?
sent 5045 bytes received 262853 bytes 107159.20 bytes/sec
total size is 130560 speedup is 0.49
rsync error: some files/attrs were not transferred (see previous errors)
(code 23) at main.c(1535) [generator=3.0.5]
Any help is appreciated. Thanks.
--
Daniel Li
2009 Jun 11
1
Key for high CPU usage
Dear List,
I'm trying to take a closer look at rsync code, and found when we run
daemon, it will take a lot of CPU (400Mhz). So I'm interested in Which
part of rsync code on ver 3.0.5 consuming CPU a lot?
Can anyone here help to lighten me up? So I can try to improve the
performance or low the CPU usage.
I suspect that there are a few factors, which might related with CPU
usage:
2009 Jul 01
1
How to get first level folder names with rsync commands?
Dear List,
I set up a NetBackup destination on my server.
And I backup test1 to NetBackup/test1, test2 to NetBackup/test2.
Now I wanna know how many folders that have been backuped. It should be
2 folders, with the name of test1 and test2.
But I don't know if there is any way to do so?
Any advice and help is well appreciated. Thanks.
--
Daniel Li
2009 May 11
1
Delta backup program planned (problem met for adding files)
Dear List,
Currently, I'm trying to implement a new feature to rsync.
Delta back:
Well, it simply just backups diff blocks, and the program is able to
restore to any backup points.
Current problem met for adding files!
But I met a newbie problem here. I'm going to add six files, which are
diff.h/diff.c del.h/del.c and merge.h/merge.c.
I have modified Makefile.in.
When I add an
2009 Jun 10
1
Weird behavior in receive_data function
Dear List,
I'm trying to get diff/removed data and it's offset out. So I write a
functions in receive_data. When I run backup, I found there is a weird
behavior which I don't understand.
i = recv_token(f_in, &data) will receive (i = -1, offset2 = 0) some
where in the middle of the transfer procedure. That's to say, it's going
to transfer the first data block from sender,