Displaying 20 results from an estimated 3000 matches similar to: "Stats"
2002 Dec 29
1
Include question
Hello All -
I've been struggling to figure out whether this is possible, and
starting to think it isn't.
What I'm trying to do is add all directories to be backed up (source) in
the include file and not mention any source directories on the actual
command line. For example I've tried something like the following with
no luck:
rsync 10.0.100.254: /backup/
2003 Sep 09
3
Operation not permitted?
Hello,
Can someone tell me what the problem is here. I am doing an rsync on a
sendmail spool directory to a folder that is a samba mount. Why is rsync
trying to change owner? Does it have to?
I tried manually changing owner (as root) on a file that is sitting on
the samba mount and I got the same operation not permitted error. Does
anybody know why this is? Or do I need to ask in a samba
2011 Aug 19
1
rsync'ing an rdiff-backup repository
I'm rsync'ing an rdiff-backup repository to a different machine and I
have a few questions I'm hoping you guys can help me out with.
Should I use --archive? Or maybe -rlD instead?
Can I restrict an SSH key to rsync? I can do it with rdiff-backup
with command="rdiff-backup --server" but I can't figure out how to do
it with rsync.
The rdiff-backup repository I'm
2004 Jun 19
2
DU and Hard Links?
Hi,
I'm doing a 30 day rotational backup using rysnc.
If I go to the root of the backup directory and use: du --max-depth=1
-h, it gives me the actual space being taken up by each incremental
directory, the space being taken by the current directory, and then the
total of all.
For example:
44G /Current
1G /06-20-2004
750M /06-19-2004
Etc...
Etc..
..
..
70G Total
But what I would like to
2003 Mar 07
3
Questions about exclude-file
Is there anyway to keep rsync from reporting an error when attempting to
sync pagefile.sys (through a samba share)? It seems like any type of
exclusion of the file gets ignored, why is that? Anyway around it?
Also, of experimented with the exclude-from syntax quite a bit and
haven't figure out how you could just backup all .doc files on a file
system and exclude everything else.
Thanks - Max
2003 Aug 03
3
Include-from ?
Hello -
I just finished doing a search of the archives and couldn't seem to get
this answered.
Example, I have a root directory containing the following directories:
/Test1
/Test2
/Test3
I want to rsync only /Test2 and all subdirs under. So my include-from
file looks like:
+ Test2/*
- /*
This doesn't work as nothing is synced, and if I do a -vv it tells me
that nothing is being
2004 Apr 12
3
cp -al issues
Hi,
I'm having some strange issues when using cp in my rsync script. It
seems there may be links breaking or something.
Before running the actual rsync I run the following command in my
script:
cp -al /backup/Current /backup/$prevday
Then I rsync from the source to /Current
So shouldn't all my previous days have hard links back to the original
/backup directory?
Sometimes the
2002 May 22
0
Improving the rsync protocol (RE: Rsync dies)
At 08:37 PM 5/20/02, you wrote:
>Doing so requires an upfront scan of the entire destination tree, and
>for the client to hold all this information in memory.
[I accidently sent this to Martin instead of the list...]
I wonder if it would be useful to have a partner program that would index
the rsync'ed file system (like Tripwire). If the index file exists (or
meets other defined
2011 Jun 25
1
Regression: sockets for 3.0.9pre1 ?
Hi.
rsync 3.0.8
FreeBSD RELENG_4 i386.
rsync -Haxi --delete /.../ /.../
The first pathspec above (residing on zz, a full filesystem) is:
/vvvv/wwww/xxxx/zz/
The second pathspec above (residing on yyy, an empty filesystem) is:
/vvvv/wwww/xxxx/yyy/zz/
It's obviously a 'copy everything over' operation.
I've had to obfuscate the pathnames, however the exact pathlength
throughout
2005 Jun 07
1
Cannot Allocate Memory
Hello -
I've just upgraded to 2.6.5.
On a new set of servers I'm trying to sync I seem to be running into a log
of memory allocation errors.
With some of the servers, I start the rsync session, and it counts so many
files and then stops. At that point I'm unable to control-c out of the
process. From another session I can't issue a kill command either...very
strange.
On other
2006 Mar 12
2
Sent larger than literal
Hello -
When using the stats option I understand that Literal should be the amount of data that did not match, and that Sent should be the actually amount of bytes that were sent. I always use compress for remote transfers, so I'm used to Sent being smaller (usually around half the size) than Literal.
However on one server, the backup from last night had the Sent figure larger than Literal
2003 Oct 09
3
Never up to date
I've got a strange issue that I'm hoping someone can help out with.
Just installed 2.5.6 on a Redhat 8 system.
Was doing a simple test from one local directory to another (in the
root) with a couple of text files in the source.
Using the following command line: rsync /directory1/ /directory2/ -v
--recursive --stats
After the first sync all files are copied properly, but then every
2002 Mar 06
0
rsync hangs in read_int (generator.c line 498)
Hello
I'm having a heck of a time rsync'ing (is that the proper conjugation?
:)) between two Cygwin machines. I have three directory trees that are
"exposed" via rsynch. Two of the three have a very shallow structure,
and they work fine. The third, however, has a fairly deep structure and
many more files than the other two, and rsync'ing this directory causes
a hang on
2003 Aug 13
4
Question on --include-from option.
Hello list,
I am running rsync 2.5.5 on some Solaris 7 and 8 boxes.
I'd like to sync different directories from one box to another.
This is my include file:
ppukweb2% more rsync-include-file
/tmp/loris/testrsync1
/tmp/loris/testrsync2
/tmp/loris/testrsync3
This is the command I run:
rsync -azv -e ssh --stats --include-from=/tmp/rsync-include-file
ppukweb8:/tmp/loris
and this is the
2003 Dec 17
5
Rsyncing Windows directory to a Linux box: problem with spacesin directory names
>
> >> > I am trying to rsync folders/files hosted on a Windows
> machine to a
> >> > Linux machine. Many of the directory names have spaces in them.
> >> > How can I list them in a file so that the --include-from
> option use
> >> > them correctly?
> >> > Thanks!
> >> >
> >> > Charles
> >>
2008 May 08
2
rsync error: timeout in data send/receive (code 30) at /home/lapo/packaging/tmp/rsync-2.6.3/io.c(153)
We are rsync'ing from an xp box running cygwin to a redhat box, using a Perl
script that fist calls for an ssh tunnel, then calls rsync through local
host.
ssh -P -f -L 8740:remote.host.ip:873 user@firewall.ip -p 22 sleep 25
rsync -vrtz -v --timeout=180 --exclude-from=exludefiles
rsync://localhost:8740/<remote path> <target path>
2003 Sep 24
2
rsync files from Windows 2000 to Solaris 8
Hi,
I was able to rsync files from Windows 2000 to Solaris 8 but when I opened
the text files with vi on solaris, a '^M' char was appended to each line of
the files. My question is how to get rid of that '^M' when rsync'ing ? I
suspect this is because Windows and Unix treat line feed/carriage return
differently, but I just do not want that '^M' shown in the files after
2005 Dec 30
4
Cifs client
I've been using the latest cifs 1.8 client at http://linux-cifs.samba.org/
with Fedora 3 and RHE 4.
This client seems to have a lot of issues that I did not notice when using
smbfs. It seems like when there is an issue with connectivity to a windows
machine, and you try to access a cifs mount, the entire session locks up.
I basically have to kill the session, log back on, and then there is no
2013 Feb 13
2
rsync'ing samba shares
I know this has come up a bit in the past, but consider this
situation:
Two Samba4 DC's - and I want to "mirror" the data shares to the
"backup" DC in case we lose the primary DC and it's file shares.
[A cheap, dirty, poor-mans semi-CTDB. How did you ever guess that Red
Green was helping me?!]
The easiest way is probably rsync'ing the data.
However, will that
2007 Jun 12
2
Invalid Argument ls dir mounted share
I'm using Fedora Core 6 which uses cifs.mount version 1.10. When mounting
shares from a particular Windows 2003 R2 server, I cannot read certain
directories. For example, when performing an 'ls' command as follows:
[root@backup Admin]# ls /share/CORP-SERVER/C\$/Corp/User\ Files/xxx\
Finacial\ Shared/Admin/Freddie\ Mac/
ls: reading directory /share/CORP-SERVER/C$/Corp/User Files/xxx