rsync

RSYNC - does not Sync files in append modes that are smaller then the destination file

Hallo,

I try to establish a backup process for all our clients that have a Laptop.

In the first step every thing looks good. But there is something in that
process i do not like, or understand.

For example there is the file

OUTLOOK1.PST - size 4GB

Usualy i can use the --append-verify mode for sncronisation. Everytime this
file become larger the sync is working propperly even if the conection break
down and is reconected.

But if this file become smaler, because the use hase erase some E-Mails, the
File was not syncroniced again.

For this 2nd Problem the file become smaler i need an idea how to syncronize
this file....

I hope someone can help me.

Kind Regards
Jens Geier

 

Excluding directories with cwrsync

Hi

 

I'm trying to back up the windows profiles all the different laptops around me. I am doing this simply by rsync'ing it to a USB drive.

I need to exclude

the vast amount of junk that resides in the Windows profile dirs "Application data" and "Local Settings". 

I have so far only been able to instruct rsync to exclude filetypes *.dll *.exe *.zip and so forth, but it never excludes directories.

 

My Rsync batchfile is:

set cygWINSERVERDESTINATION=/cygdrive/f/%username%
set LOCALBACKUPSOURCE=/cygdrive/c/users/%USERNAME%
set LOCALTEMPDIR=/cygdrive/c/temp
set EXCLUDEFILE=/cygdrive/c/Users/Mona/flaskepost.v1.3/rsyncpakke/bin/excludefile.txt

rsync -W --progress -P --exclude-from '%excludefile%' --suffix=__"$(date +%Y%m%d%H%M%S)" -u -T %LOCALTEMPDIR% -azvv %LOCALBACKUPSOURCE% %CYGWINSERVERDESTINATION%

 

client to client, (no rsync server running), rsync/ssh pull directory/files from Windows to linux.

Need hlep, want to reproduce what I am doing with unix / linux servers with some windows server.  I issue a command:    rsync -az -v -e ssh myid@myremoteserver.domain;/directory

This allows me to pull the remote server's diretcories / files to the current directory of local machine.  I am NOT running any rsync server or deamon on the local machine.  I want to do this with Windows but all the examples have either required a server with deamon running or NO SSH.    Anybody out there got examples or ideas ?  

Building rsync and patches for VSS

Hi, It's really good to see that a few months ago the 'sources of cwrsync' were released, which seems to be the versions of cygwin-packages used to build cwrsync and a bundle of patches against the rsync-version that was used at that time.

I've been looking at integrating Volume Shadow Copy (there was already a patch for rsync 2.x that Elias Penttilä made) with cwrsync.

But the sources made available by tk include 20 or so patches. And it doesn't specify which and in which order they should be applied, also there was a recent release and I think it might not be possible to apply them because of changes in the code of rsync.

tk could you do a new release of the source and add a list of which patches are applied in which order ?

cwrsync (local) needs nearly 100% CPU and has max 25 MB/s

Hi there!

 

First I'd like to say thank you for a great product!

 

I have the following problem:

On my PC (XP32SP3) I can only achieve max. 25 MB/s (avg. 19 MB/s) transfer speed between two local eSATA drives and my four cores are nearly maxed out.

Normal windows copy achieves between 70 and 100 MB/s, with little to no CPU usage.

This also happens when using -W and --size-only or even when copying a completely new directory, so the delta algorithm should not be the problem

I am using the current 3.1.0 version.

This also happens on a completely different PC with copying to a USB harddisk (only around 8 MB/s there, Windows copy gets around 24 MB/s).

I am executing rsync like this:

rsync -rtv /cygdrive/f/ /cygdrive/h

 

Avira Antivir, Online Armor disabled (on the other PC: Norton 360, ZoneAlarm disabled)

The "system" process generates around 15% CPU load, and around 3/4 of the total load are kernel time. The load is only generated by rsync processes, no other processes need CPU.

Shall I provide some perfmon data? Which?

How can I help? Is this a limitation of rsync? Has anyone gotten more than my transfer figures?

 

Thanks a lot in advance!

th

 

Syndicate content

Who's online

There are currently 0 users and 20 guests online.

Site statistics

Registered users2539
Posts1902
Comments4926