Re: Rsync sending files that haven't been updated.

2008-08-01 Thread Paul Slootman
quot;CMOS clock" (faked by vmware) to be in local time. Perhaps vmware offers an option to fake local time there... Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/r

Re: Restoring from backup, preserving uids

2008-08-02 Thread Paul Slootman
system will have many files hard-linked (although a quick check shows less than I expected). Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://w

Re: rsync 2.6.9 uses a lot of memory; has that changed in rsync 3.0.3 ?

2008-08-05 Thread Paul Slootman
On Mon 04 Aug 2008, Aleksey Tsalolikhin wrote: > Thanks, Matt! So is incremental recursion an option or is it built in? It is built in. Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mail

Re: Rsync of LVM Snapshots copies whole file

2008-08-16 Thread Paul Slootman
nvoking rsync, I'm left guessing as to your situation. Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: File Locking

2008-08-18 Thread Paul Slootman
time, you may need to rethink your tree layout and/or your approach to whatever problem you're trying to fix. Running two rsyncs sequentially will usually be faster than two concurrent ones, as that might cause disk thrashing (the heads are continually seeking to and from where the respective rsync

Re: Rsync of LVM Snapshots copies whole file

2008-08-20 Thread Paul Slootman
he output indicates that all the file data is being transferred; only that the file is indeed being transferred. The output of --stats will help in showing how much file data is actually transferred. Paul Slootman > sudo -u rsyncbackup rsync -avzP --exclude-from > /home/rsyncbackup/exc

Re: Rsync of LVM Snapshots copies whole file

2008-08-21 Thread Paul Slootman
On Wed 20 Aug 2008, Peter P GMX wrote: > > here is the status of the transfer. > If I understand it right, about 3% of the data was changed (literal data > against matched data). It took about 1h40min to transfer ~250MB of data. The searching for matching data blocks is apparently taking a lot o

Re: Compression error? -- "Inflate (token) returned -5"

2008-09-05 Thread Paul Slootman
r you, what do you want us to do? Retro-actively fix your version by jumping in our time machine? ;-) Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posti

Re: Compression error? -- "Inflate (token) returned -5"

2008-09-09 Thread Paul Slootman
ms with compressed transfers on recent versions, so I have no reason to believe that the problems persist. I never had problems myself, so I can't personally say if it's changed. Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscri

Re: directories not correctly recognized rsync-3.0.4

2008-09-09 Thread Paul Slootman
lease show the complete, exact commmand line you use to start rsync. Also a listing of the directories involved could be useful (e.g. find dir1 dir2 -ls) Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba

log format '%P' only logs '/' when use chroot = true

2008-09-10 Thread Paul Slootman
The subject says it all :-) Apparently in pre-3.0.0 versions '%P' would log the actual path as specified in the module entry in rsyncd.conf, but now it's apparently relative to the chroot... Paul Slootman -- Please use reply-all for most replies to avoid omitting the m

Re: log format '%P' only logs '/' when use chroot = true

2008-09-10 Thread Paul Slootman
On Wed 10 Sep 2008, Paul Slootman wrote: > Subject: log format '%P' only logs '/' when use chroot = true Hmm, my English is deteriorating... This would be better: Subject: log format '%P' logs just '/' when use chroot = true Paul -- Please use reply

Re: log format '%P' only logs '/' when use chroot = true

2008-09-11 Thread Paul Slootman
On Wed 10 Sep 2008, Wayne Davison wrote: > > The attached patch should fix things. It's relative to 3.0.4, but will > also apply with a little twiddling to the 3.1.0dev source (and it should > be easy to patch older versions too). Confirmed, this fixes it! Thanks. Paul -- Please use reply-all

error receiving files from protocol 29 server

2008-09-23 Thread Paul Slootman
In debian bug #493559 (http://bugs.debian.org/493559) the problem is that when requesting a file from an older version rsync, the remote server gives an error: $ rsync rsync://rsync.blackholes.us/zones/countries/countries.rbl /tmp rsync: on remote machine: -: unknown option rsync error: requested

(not quite) reproducible segfaults in 3.0.3

2008-09-23 Thread Paul Slootman
In debian bug #498083 (http://bugs.debian.org/498083) someone is getting segfaults reasonably consistently, however when using - it doesn't happen... Fortunately Sven was able to get a good backtrace. I can't quite see what's causing the problem; it does seem to be related to xattrs. Please s

Re: rsync many small files

2008-09-23 Thread Paul Slootman
e you have such a large collection of files where there are not that many updates going on (i.e. the searching for updates takes significantly longer than transferring those updates). Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe o

Re: error receiving files from protocol 29 server

2008-09-24 Thread Paul Slootman
On Tue 23 Sep 2008, Matt McCutchen wrote: > On Tue, 2008-09-23 at 12:58 +0200, Paul Slootman wrote: > > In debian bug #493559 (http://bugs.debian.org/493559) the problem is > > that when requesting a file from an older version rsync, the remote > > server gives an error: &

Re: Transfer between windows and linux going wrong

2008-09-30 Thread Paul Slootman
do /etc/init.d/rsync start), then you should be able to transfer thusly: "C:\Program Files\cwRsync\bin\rsync.exe" -Cavz 10.1.100.45::your_module_name_here/ Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change o

Re: Rsync efficiency on SQL dump files

2008-10-01 Thread Paul Slootman
ult, at a cost of a slightly larger compressed file. Experimenting with different combinations of things will show the best strategy in your particular case. > PS> Apologies if this double posted. I tried it a few days ago but > haven't seen it on the list yet. Didn't see it e

Re: rsync recovery of system backup to different Linux computer

2008-10-21 Thread Paul Slootman
On Tue 21 Oct 2008, Paul Slootman wrote: > - Install the kernel, don't forget to setup grub or lilo or whatever. > Using chroot can be handy here. Tuning /etc/modules to the new hardware (e.g. other network interface?) may be necessary here. Paul Slootman -- Please use reply-a

Re: rsync recovery of system backup to different Linux computer

2008-10-21 Thread Paul Slootman
#x27;t forget to setup grub or lilo or whatever. Using chroot can be handy here. - Perhaps tune the /etc/fstab to match the present layout. - reboot and hope for the best :-) Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change opt

Re: Is rsync copying over the entire file? Sent bytes matches actual file size.

2008-10-29 Thread Paul Slootman
On Wed 29 Oct 2008, Administrator wrote: > Thank you for that. I added the --no-whole-file switch and that has > sorted it. Note that rsync's behaviour is for a reason: when doing a local transfer (i.e. not over a network) doing an incremental transfer will be slower due to more I/O being necessa

Re: rsync command exclude option

2008-11-26 Thread Paul Slootman
On Wed 26 Nov 2008, Kaushal Shriyan wrote: > > I do rsync -avz oldUnicelFiles hostB:/home/kaushal > --exclude-from=exclude.txt > but it rsynced the excluded files too > > my exclude.txt file contains > > /home/kaushal/oldUnicelFiles/*.gz > /home/kaushal/oldUnicelFiles/*.txt

Re: Chance of equal checksum and changing blocks

2009-01-27 Thread Paul Slootman
Try the dd manpage, which mentions: conv=CONVS convert the file as per the comma separated symbol list ... Each CONV symbol may be: ... notrunc do not truncate the output file Hence try adding conv=notrunc Paul Slootman -- Please use reply-all for mos

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Paul Slootman
On Tue 27 Jan 2009, David de Lama wrote: > > So, I know that with the -z Option rsync compresses the files with gzip, than > the files are transfared and at the target machine uncompressed. No, the data over the wire is compressed with the -z option; not the file. > I made a test and transfered

Re: rsync compression (-z) and timestamp

2009-01-27 Thread Paul Slootman
On Tue 27 Jan 2009, Paul Slootman wrote: > No, the data over the wire is compressed with the -z option; not the > file. Correction: more specifically, the data between the sender and the receiver processes is compressed. Unfortunately this also happens when the transfer is local and -z h

Re: rsync compression (-z) and timestamp

2009-01-28 Thread Paul Slootman
On Wed 28 Jan 2009, David de Lama wrote: > > But the strange thing with the timestamps is still disturbing me. > I deleted the cache as Sven told me with a bash file: > > sync > echo 3 > /proc/sys/vm/drop_caches Did you do this between EVERY step below? > After creating a file of 1GB I copy it

Re: uid/gid settings in rsyncd.conf not respected?

2009-02-13 Thread Paul Slootman
On Thu 12 Feb 2009, Harry Mangalam wrote: > > However, this does not work for the backup (rsyncd refuses to read the > files with an entry in /var/log/rsyncd.log: > > auth failed on module svn from nnn.nnn.nnn.nnn ( > xxx.xxx.xxx.xxx): unauthorized user. This message would indicate that the r

Re: rsycing very small files

2009-02-27 Thread Paul Slootman
On Fri 27 Feb 2009, Mag Gam wrote: > I have to rsync 200k files which range in size from 5kb to 800kb. Is > there an optimal way to do this using rsync? or shall I use tar for > this? Just do it, there's no reason why it shouldn't work. Paul -- Please use reply-all for most replies to avoid om

Re: how rsync calculate Tranfer rate ??

2009-03-02 Thread Paul Slootman
On Mon 02 Mar 2009, Jignesh Shah wrote: > 1. Let me give more details on "bytes written". The "Total transferred file > size: 6566219 bytes" is perfectly fine but "Total bytes written: 6567384" > includes 1165 more bytes. How rsync could write more than the total file > size? What the additional

Re: On which side these errors are?

2009-03-03 Thread Paul Slootman
On Tue 03 Mar 2009, Boniforti Flavio wrote: > > rsync: opendir "client05" (in Profili) failed: Permission denied (13) > rsync: delete_file: rmdir(client02/SendTo) failed: Permission denied > (13) > > Am I correct if I say that the "opendir" is related to the source I'm > trying to rsync, but the

Re: How to speed up rsync when haveing lots of files

2009-03-04 Thread Paul Slootman
On Wed 04 Mar 2009, Boniforti Flavio wrote: > > > This question has been answered. Upgrade to 3.0.5 on both sides. > > Why has upgrading to 3.0.5 to be done *on both sides*? Any explanation?! Because the improved algorithm will only work if both sides understand it... > As I'm running Debian Le

Re: Converting file system

2009-03-04 Thread Paul Slootman
On Wed 04 Mar 2009, David de Lama wrote: > I tested what happens with a file which is saved at a FAT32 partition and > then this partition is converted to NTFS. > So first I transfered the file with rsync from the FAT32 partition to my > Linux /home folder. Then I converted the FAT32 partition t

Re: --log-file-format seems to be ignored?

2009-03-13 Thread Paul Slootman
On Fri 13 Mar 2009, Jake Wilson wrote: > I'm using Rsync 3.0.5 between two Debian boxes. I have an rsync > script setup that uses --log-file=mylogfile.log and also I have > specified --log-file-format=whatever. But I can't seem to get the > --log-file-format to be recognized. I don't get any so

Re: Problem with exclude folders

2009-03-19 Thread Paul Slootman
On Thu 19 Mar 2009, Mirko Hufnagel wrote: > > Problem 1) all jpeg are copied to the external server - also the jpegs > from HK folders. But I only want jpegs from the EU and other folders. > > Problem 2) an empty texts folder was created on the external server - > but I don't want this. > > Is

Re: Trouble with -e ...

2009-03-23 Thread Paul Slootman
On Sun 22 Mar 2009, Morgan Read wrote: > But yet: > [r...@morgansoldmachine ~]# ssh -t rs...@morgansmachine sudo rsync -n > --rsh=’/usr/bin/ssh -i /home/rsync/.ssh/id_dsa’ /etc > r...@morgansoldmachine:/media/bigdisk/morgansmachine/etc > rsync: Failed to exec \#342\#200\#231/usr/bin/ssh: No such f

Re: rsync questions

2009-03-26 Thread Paul Slootman
On Thu 26 Mar 2009, gahn wrote: > > I am trying to back up /export/home/* (all of users) on another machine but > exclude a certain types of files. here is one of my tested exclude files: > > /home/unwanted_dir > > this one works. rsync successfully backed up other directories except the > "un

Re: cryptic output with itemized option

2009-04-02 Thread Paul Slootman
On Thu 02 Apr 2009, Jignesh Shah wrote: > Could any one please tell me if there is any way to remove 11 letters long > cryptic output from -ii option. That "cryptic" output is the main point of --itemize-changes... And note that -ii is dedundant, -i is enough. I suspect you want to use --out-for

Re: order transfers by file size

2009-04-08 Thread Paul Slootman
On Wed 08 Apr 2009, Yan Seiner wrote: > > As long as we're on that topic, a size limit on file size to be > transferred would be nice. --max-size=SIZE don't transfer any file larger than SIZE Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscri

Re: Rsync Runs Out of Space Because of Temp File

2009-04-08 Thread Paul Slootman
updating in-place of the file by using the --inplace option... It's all there in the manpage. Paul Slootman -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Re: Using rsync for a backup program but having trouble getting --exclude-from to work properly

2009-04-16 Thread Paul Slootman
On Thu 16 Apr 2009, Robert Parker wrote: > fromdir=/home/bob/ > rsync --exclude-from="$excl" -a -b -vv --suffix="$suffix" $fromdir $todir > Here is the content of the exclude file > > /home/bob/.mozilla/firefox/ If you're passing /home/bob/ as the source dir, then you have to remove /home/bob f

Re: [Code study] lp_motd_file defination? Help

2009-04-22 Thread Paul Slootman
On Wed 22 Apr 2009, Daniel.Li wrote: > > 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). > $ grep "lp_motd_file" . -R > ./proto.h:char *lp_motd_file(void); > ./loadparm.c:FN_GLOBAL_STRING(l

Re: --filter, missing in action.

2009-04-23 Thread Paul Slootman
On Thu 23 Apr 2009, Teodor MICU wrote: > Until now I've done this by adding "- foo/" on the exclude file. With this > line rsync will not touch any "foo/" directory on the receiver. --delete-excluded will screw this up. Paul -- Please use reply-all for most replies to avoid omitting the mailin

Re: purge-empty-dirs and max-file-size confusion

2009-04-24 Thread Paul Slootman
On Thu 23 Apr 2009, Ian! D. Allen wrote: > > In the man page it says in one place "tells the receiving rsync to get > rid of empty directories from the file-list" and in another place it says > "prune empty directory chains from file-list". The latter sounds like it > operates on the source list,

Re: [Code study]should we remove if (motd && *motd) section?

2009-04-27 Thread Paul Slootman
On Mon 27 Apr 2009, Daniel.Li wrote: > > 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. > clientserver.c #line 147~160 > > if (!am_client) { > > motd =

Re: weird access function in rsync code.

2009-05-22 Thread Paul Slootman
On Fri 22 May 2009, Daniel.Li wrote: > 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 f

Re: weird access function in rsync code.

2009-05-22 Thread Paul Slootman
On Fri 22 May 2009, Daniel.Li wrote: > On Fri, 2009-05-22 at 10:47 +0200, Paul Slootman wrote: > > > > > > access("/home/admin/test",F_OK) > > > > > > Result: Failed with -1, just mean the test folder is NOT existed, but it > > > doe

Re: Does rsync detect file corruption?

2009-05-22 Thread Paul Slootman
On Fri 22 May 2009, Daniel Carrera wrote: > > In general, rsync will only update a file if it has been modified. Now, > imagine that one of the files becomes corrupted in the backup directory, > but the timestamp hasn't changed. Will rsync detect this? Not in the usual case. You may want to

Re: Rsync maintained patches repository

2009-05-29 Thread Paul Slootman
On Thu 28 May 2009, Matt McCutchen wrote: > > $ firefox http://gitweb.samba.org/?p=rsync.git;a=summary I guess you left out the quotes you must have used here, as otherwise a=summary won't be included in the url... Paul -- Please use reply-all for most replies to avoid omitting the mailing lis

Re: remove-source-files checking for open files?

2009-06-03 Thread Paul Slootman
r, effectively resulting in a corrupt file. I solved this with a I would solve this not using rsync, but by writing the active file in a separate directory, or by first writing to a special filename and renaming when done (like firefox adds .part to the filename while it is still downloading it).

Re: remove-source-files checking for open files?

2009-06-03 Thread Paul Slootman
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: >> I would solve this not using rsync, but by writing the active file in a >> separate directory, or by first writing to a special filename and >> renaming when done (like firefox adds .part to the filename while it >> is >> still downloading it).

Re: remove-source-files checking for open files?

2009-06-03 Thread Paul Slootman
On Wed 03 Jun 2009, Roy Sigurd Karlsbakk wrote: > On 3. juni. 2009, at 18.16, Paul Slootman wrote: >> >> Because checking whether a process has a file open can be very costly >> in >> system resources. > > > Not really. I'm writing some code doing thi

[adej...@debian.org: Bug#531639: rsync can end up deleting unrelated files when a directory is replaced by a symlink]

2009-06-04 Thread Paul Slootman
Please see the included debian bug report, where during a local transfer rsync (3.0.3) follows a symlink in the destination to delete a file in the source tree. At least 3.0.5 works correctly in this regard; however I can't find a changelog entry that's directly related to this. Would it be possi

Re: rsync excluded file syntax errors

2009-06-10 Thread Paul Slootman
On Wed 10 Jun 2009, Rahul Nabar wrote: > I cannot figure out where I am going wrong with my excluded files > syntax! rsync backups up those folders I'm trying to exclude. > > rsync -av --exclude-from=/etc/rsync_excluded.conf --delete > r...@polaris::polhome /pol_home_bkup > > > cat /etc/rsync_

Re: --compare-dest= dir list ?

2009-06-12 Thread Paul Slootman
On Fri 12 Jun 2009, Pierre-Vincent Ledoux wrote: > for i in $LIST; do >COMPAREDIR="$COMPAREDIR/mnt/bckhd01/ns200176.ovh.net/$i " > done > > OPTS="--verbose --progress --archive --hard-links --ignore-errors > --delete-excluded --exclude-from=$EXCLUDES --delete --force > --backup-dir=$BA

Re: how to keep user/group information when rsyncing to windows for restoring back to linux later?

2009-06-26 Thread Paul Slootman
On Fri 26 Jun 2009, Wei, Xiaohai wrote: > I want to backup the who linux system to a windows system. The backup will > not be used in windows and will only be used to restore to linux system > later. > > So I want to know is it possible to use rsync to keep the user/group and > other permission i

Re: [rsync] include-from with different source points

2009-06-29 Thread Paul Slootman
On Mon 29 Jun 2009, GravyFace wrote: > > I then tried the following, thinking "/" would be a common denominator > in the paths in my include list: > sudo rsync --progress -avz --include-from=/home/gravyface/backup.list > / /mnt/usbbackup/localbackup/ > > ...which then starts backing up the root p

Re: rsync between windows Opensolaris failures

2009-07-09 Thread Paul Slootman
On Wed 08 Jul 2009, Harry Putnam wrote: > > But there is also a `last login' message that apparently doesn't > cause any problems... since rsync works now. I see the `last login' > message if I do a straight ssh ha...@harvey Do you see it with Jan-Benedict's suggestion of "ssh ha...@harvey t

Re: --delete not working (minimal example)

2009-07-14 Thread Paul Slootman
On Tue 14 Jul 2009, Nobuko Three wrote: > --delete option is not working for me. The following is a minimal example. > > $ mkdir box1 box2 > $ touch box1/letter box2/extra > $ rsync -a -vv box1/ box2/ > > $ rsync -a -vvv box1/ box2/ > $ rsync -a - box1/ box2/ How do you ex

Re: sync performance falls off a cliff

2009-07-16 Thread Paul Slootman
On Wed 15 Jul 2009, Mike Connell wrote: > > I'm up to 404,000 files and the total sync time doesn't seem to be > falling off > a cliff (yet). > > In my case, only about .1% of my files change, so I'm sure it isn't a > rsync memory How do you come to that conclusion? Only the number of total file

Re: please help me using rsync efficiently

2009-07-16 Thread Paul Slootman
On Thu 16 Jul 2009, vven...@gmail.com wrote: > The contents of the list file (passed to rsync for synchronisation) are > > /folder1/folder2/rep/01234018329/FSG2_PULL.txt#79GA91205KAE --- actual file > /folder1/folder2/users/01234002360/my/FSG2_PULL#79GA91205KAE link > /folder1/folder2/rep/000

Re: please help me using rsync efficiently

2009-07-17 Thread Paul Slootman
On Thu 16 Jul 2009, Matt McCutchen wrote: > On Thu, 2009-07-16 at 15:10 +0200, Paul Slootman wrote: > > > Once two files are hard-linked, there is > > The log shows symlinks (->), not hard links (=>). Of course, your point > stands. I wish people would be more

Re: Server Reboots in Mid-Rsync

2009-07-17 Thread Paul Slootman
On Fri 17 Jul 2009, Jon Watson wrote: > > I know this is a long shot, but I thought I would ask. I think that if anything causes a kernel reboot, then that's more interesting for the kernel people than for the people concerned with whatever causes the reboot... Paul -- Please use reply-all for

Re: EOL (MBOX file)

2009-07-21 Thread Paul Slootman
On Tue 21 Jul 2009, Manuel Canseco Garcia wrote: > Rsync removes EOL mark the end of the mbox files? I encounter this problem > when copying ... No, rsync will never change anything in de files itself, they should be bit-for-bit exact copies of the original. I suspect that perhaps you're trans

Re: Files with / in their name....

2009-07-23 Thread Paul Slootman
On Thu 23 Jul 2009, monkeymoped wrote: > > Hi there - I am trying to do a site to site nightly rsync between two boxes > using ssh - all of the setup steps work and everything can talk nicely etc. > However, the users unfortunately have lots of files with / in the filename > (eg 21/08/08.ppt etc.)

Re: rsync command exclude option

2009-07-24 Thread Paul Slootman
On Fri 24 Jul 2009, Kaushal Shriyan wrote: > > I have a question about rsync. under /etc/ha.d/ there is a directory > called resource.d > I want to exclude it i have /etc/ha.d/resource.d in exclude.txt > when i run rsync -av /etc/ha.d 172.20.0.3:/root/ttt/ > --exclude-from=exclude.txt > I still s

Re: rsyncd.conf chroot yes problem with symlink-ing

2009-08-14 Thread Paul Slootman
On Fri 14 Aug 2009, alex.vladule...@csteam.ro wrote: > > Ok, so far the googlein' got > me this : http://lists.samba.org/archive/rsync/2009-July/023532.html but it > does't helps me, because the issue was that he didn't use in the config > "use chroot = yes", which is not my case as you can see,

Re: rsyncd.conf chroot yes problem with symlink-ing

2009-08-14 Thread Paul Slootman
On Fri 14 Aug 2009, alex.vladule...@csteam.ro wrote: > r...@ph:~# rsync -vrulLpHEtzhi4og --copy-unsafe-links --del > rsync://r...@10.99.1.1:/home/ /home > receiving incremental file list > symlink has no referent: "/webmaster/domains/csteam.ro" (in home) So what does that symlink look like on the

Re: ssh failure due to local error

2009-08-17 Thread Paul Slootman
On Mon 17 Aug 2009, e-letter wrote: > > I have tried the following command: > > rsync -t *.txt ssh u...@remote.machine: > > and receive the following error: > > rsync: link_stat "local/machinepath/ssh" failed: No such file or directory (2) Does: ssh u...@remote.machine actually work to giv

Re: exit_cleanup(code=12, file=io.c, line=609)

2009-08-17 Thread Paul Slootman
On Mon 17 Aug 2009, dhtmldude wrote: > > Folks, maybe one of you can help me. I've installed Rsync 3.1.0 on both the > client and the server. Im using ssh, my command line follows: > > rsync -avc --delete -e "ssh.exe -i C:\cms\PageGenerator\nasadmin_prod_rsa" > -vvv \\cagecfsu1.saifg.rbc.com\Y

Re: exit_cleanup(code=12, file=io.c, line=609)

2009-08-17 Thread Paul Slootman
On Mon 17 Aug 2009, dhtmldude wrote: > > I got my SSH working, turns out another process was using port 22 and > VanDyke Vshell was not started. Now Its synchronized a folder but not its > contents. Im not sure what to do next other than put more files in the > source and see if they make it ove

Re: ssh failure due to local error

2009-08-17 Thread Paul Slootman
On Mon 17 Aug 2009, Paul Slootman wrote: > > > > I have tried the following command: > > > > rsync -t *.txt ssh u...@remote.machine: Ah, I now see a spurious "ssh" there. That tells rsync that you also want to transfer a file "ssh", in addition to

Re: rsync 3.0.4 under cygwin: problems with --exclude

2009-08-18 Thread Paul Slootman
On Tue 18 Aug 2009, Alessandro Toso wrote: > > rsync -auv --progress --delete --delete-excluded --log-file=$LOGDIR/`date > +%Y%m%d`.log --exclude from='/cygdrive/f/.bak_exclude' $SRCDIR/ $BCKDIR If this is your exact command, then you're excluding the file "from='/cygdrive/f/.bak_exclude'" You p

Re: Limit rsync running time

2009-09-17 Thread Paul Slootman
On Thu 17 Sep 2009, Fabian Cenedese wrote: > > Has anybody already written a bash script that would do something > like that? Are there other ways? I don't want to kill all rsync > processes as there might be other syncs going on. There is for example a "timeout" package available in Debian: Pac

Re: LVM snapshots vs. --link-dest

2009-09-28 Thread Paul Slootman
On Mon 28 Sep 2009, Andrew Gideon wrote: > > The --update option is also useful in this regard? What would happen if > --inplace were used but --update were not? --update only influences what files are considered for transfer, not how that transfer is performed; hence it is completely irrelevan

Re: rsync exclude files based on filesize

2009-09-30 Thread Paul Slootman
On Tue 29 Sep 2009, Rahul Nabar wrote: > Is there a way to set rsync excludes by filesize? I already do Did you look in the manpage? "man rsync", search for "size" and the 5th hit describes it. Paul -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or

Re: retrieve files without local dir compare

2009-10-14 Thread Paul Slootman
On Wed 14 Oct 2009, Marc Mertes wrote: > > Why I need that: > We receive meteorological data from a remote server to a local directory > (every 5 min). > If the data is here, it is imported by a special software, after the > import it will be deleted from that directory. The deleting can't be > di

Re: Enhanced authentication and authorization in rsyncd

2009-10-21 Thread Paul Slootman
On Tue 20 Oct 2009, Wayne Davison wrote: > . I changed > your ro, rw, and deny settings to be specified via suffixes. For > example: > auth user = joe:deny admin:rw @rsync:ro susan Nice! > Potential backward incompatibility: usernames used to be able to start > with a @ and (surprisingly

Re: hard links on samba shares

2009-10-23 Thread Paul Slootman
On Fri 23 Oct 2009, Matt McCutchen wrote: > On Fri, 2009-10-23 at 09:15 +0200, Riccardo Iaconelli wrote: > > > > [r...@popper linksys]# rsync -avz --hard-links test/ test2/ > > sending incremental file list > > ./ > > file1 > > file2 > > Is this a bug or just samba being not reliable for hard lin

Re: anchoring of patterns for per-directory merge files

2009-11-11 Thread Paul Slootman
On Wed 11 Nov 2009, Andy Smith wrote: > > On the sender, I have in the file "/data/home/andy/.rsync-filter": > > - /tmp/ > > The documentation leads me to believe that this should exclude a > directory called "tmp/" located only in the same directory as the > merge file. What happens is, nothin

Re: Rsync shortcutting output?

2009-12-17 Thread Paul Slootman
On Thu 17 Dec 2009, Joel Peabody wrote: > > PS, this is between two Redhat machines using rsync 2.6.8 on both ends. > Upgrading rsync is not an option in this case. What I always wonder when reading such messages, is what type of response is expected, if a problem with the tool is suspected but u

Re: Rsync shortcutting output?

2009-12-18 Thread Paul Slootman
On Thu 17 Dec 2009, Joel Peabody wrote: > > The meaning of my question is twofold. First, if this is a known issue > and what I'm seeing is, in fact, what's intended to happen on systems of > this size. Second, is there any feature, flag, or setting that is either > being overlooked in my rsync

Re: rsync err. an other Broken pipe (32)

2009-12-21 Thread Paul Slootman
On Mon 21 Dec 2009, Aubert Thibaud wrote: > > Since our server migration from OES1 (rsync-3.0.2-2.1) to OES2 > (rsync-3.0.6-3.1), rsync backup do not work anymore. > rsync error: error in rsync protocol data stream (code 12) at io.c(600) > [sender=3.0.6] > _exit_cleanup(code=12, file=io.c, line=

Re: Rsync 3.0.7pre1 released

2009-12-22 Thread Paul Slootman
On Tue 22 Dec 2009, David Allie wrote: > I get an error message when trying to decompress rsync-3.0.7pre1.tar.gz: > > [ ~/Desktop ]$ tar -xzvf rsync-3.0.7pre1.tar.gz > tar: Unrecognized archive format: Inappropriate file type or format > tar: Error exit delayed from previous errors. I have no pr

Re: How do I make rsync ignore unreadable files (damaged sectors)?

2009-12-22 Thread Paul Slootman
On Tue 22 Dec 2009, Tomas Gustavsson wrote: > > So I took a CD (which I scratched with a needle) and mounted it to the file > system. There after I started the backup job which went on forever and never > got completed. It seems that rsync refused to understand that the file it > tried to copy was

Re: How do I make rsync ignore unreadable files (damaged sectors)?

2009-12-22 Thread Paul Slootman
On Tue 22 Dec 2009, Stefan Nowak wrote: > > How can one voluntarily "smash" only a particular sector of a hard > disk drive? Even if you had a test HD for "smashing", you don't know See (under linux) the manpage for hdparm: --make-bad-sector Deliberately create a bad sector (aka. "media er

Re: link-dest question

2010-01-05 Thread Paul Slootman
On Mon 04 Jan 2010, d...@safeport.com wrote: > > The command works but copies all files, i.e. no hard links created. > > rsync -vaxH --numeric-ids --delete --exclude=/home/apache/logs \ >--link-dest=/mnt/200912/newharbor/home -e ssh newharbor.safeport.com:/home > \ >201001/newharbor/ho

Re: cannot backup to external disk with rsync, create hard links of add w permissions

2010-01-13 Thread Paul Slootman
On Wed 13 Jan 2010, Thomas Evangelidis wrote: > I want to backup my Documents directory and instead of copying everything to > my external disk I tried to use this command line to create an incremental > backup with rsync on my external disk: You _did_ format the external disk with a filesystem t

Re: syncing ext3 to fat32

2010-01-15 Thread Paul Slootman
On Fri 15 Jan 2010, Mag Gam wrote: > I am trying to rsync some files from ext3 to fat32 pen drive. What is > the correct way to do this? > > I am currently using, --progress -av --no-o --no-g --exclude '*iso' /ext3 > /fat32 > > Are there any other options I should consider? --modify-window=2 m

Re: rsync taking a while on really large files

2010-01-15 Thread Paul Slootman
On Fri 15 Jan 2010, David Trammell wrote: > > I saw the -W option, but I wasn't sure about how it behaves as the > man pages don't have many details, and I thought there might be > other options I missed. For -W the man page just says "copy files > whole (w/o delta-xfer algorithm)" Take a moment

Re: option 'auth users' in rsyncd.conf

2010-01-22 Thread Paul Slootman
On Thu 21 Jan 2010, Alexander Dahl wrote: > > If I omit or outcomment the 'auth users' line, everyone is allowed to > connect and this is also how I understood the manpage. > > Now if I use the following line, also everyone is allowed to connect: > > auth users = > > So if I don't put any use

Re: Rsync in daemon mode

2010-01-26 Thread Paul Slootman
On Tue 26 Jan 2010, Piyush Pande wrote: > >Is it possible to run rysnc in daemon mode on system B(client) as well > such that rsync will auto detect modifications and sync all the files with > system A in real-time? You will of course never attain "real-time" updating over systems. Using c

Re: rsync --link-dest, --delete and hard-link count

2010-02-05 Thread Paul Slootman
On Fri 05 Feb 2010, Andrei_r20 wrote: > > So what I am thinking of doing now is: > > The fist backup is done to an empty destination. Than, each following backup > will be done to a freshly created empty dir with current date as name but > with --link-dest option pointing at the previous (latest)

Re: rsync --link-dest, --delete and hard-link count

2010-02-06 Thread Paul Slootman
On Fri 05 Feb 2010, grarpamp wrote: > Beware when using rsync --link-dest, --delete -Haxi !!! > > Files that are present in the previous datedir/hier/run but will > not be present in the currently to be made datedir/hier/run, > [because they are no longer present in the source hier], > DO NOT sho

Re: rsync --link-dest, --delete and hard-link count

2010-02-08 Thread Paul Slootman
On Sat 06 Feb 2010, grarpamp wrote: > > > >> Sure, these no-longer-present source files are not technically unlinked > >> from > >> your previous archives in the current run, but it can be MASSIVELY > >> confusing > >> and dangerous if you're a log watcher/reviewer looking for what has > >> chan

Re: Common memory usage questions

2010-02-10 Thread Paul Slootman
On Tue 09 Feb 2010, Matt McCutchen wrote: > > The number of files that rsync tries to maintain in the active file > lists at one time is controlled by {MIN,MAX}_FILECNT_LOOKAHEAD in > rsync.h. I did some tests with "ulimit -v", and reducing those values > helped significantly. That still may not

Re: rsync: stat "/path/to/dest/file" failed: No such file or directory (2)

2010-02-18 Thread Paul Slootman
Are you really using paths such as "/path/to/original", or are you trying to simplify things, thereby perhaps removing important details? Please show the real commands as executed, not after editing. Only change / remove really confidential things (but make clear exactly what). Don't change multip

Re: directory synchronization

2010-02-23 Thread Paul Slootman
On Tue 23 Feb 2010, Vahid Moghaddasi wrote: > > I can’t seem to get this working. I need synchronize the files from a remote > directory to a local, and then delete the files on the remote after getting > them to local. > > This is what I did that does not delete anything on any of the servers: >

Re: rsync daemon performance

2010-03-09 Thread Paul Slootman
On Sat 06 Mar 2010, Wayne Davison wrote: > On Thu, Feb 25, 2010 at 5:20 PM, Tom Dickson wrote: > > > Is it possible to get a "pool" of waiting daemons, similar to how apache > > runs? > > No, there is no support for that in rsync at the moment. I don't think it > would be simple to add, but if

Re: Rsync behaviour on harddisc crash

2010-03-18 Thread Paul Slootman
On Thu 18 Mar 2010, Mac User FR wrote: > Wouldn't it be better to use conditional expressions from sh with a > smaller footprint than rsync --list to check if the directory > exists? > I think on something like: > -d file > True if file exists and is a directory. That won't work to ch

<    1   2   3   4   5   6   7   8   >