Re: rsync in-place (was Re: rsync 1tb+ each day)

2003-02-05 Thread Mike Rubel
On Wed, 5 Feb 2003, Ben Escoto wrote: > > "CB" == Craig Barratt <[EMAIL PROTECTED]> > > wrote the following on Wed, 05 Feb 2003 04:41:22 -0800 > > CB> Of course, a major issue with --inplace is that the file will be > CB> in an intermediate state if rsync is killed mid-transfer. Rsy

Re: Feature request...

2003-02-02 Thread Mike Rubel
Hi Dan, > I would like a '-i, --interactive' option > to use with --delete, so I can decide wich > deletes to up date and which were potential > mistakes. It sounds like you might be interested in Unison: http://www.cis.upenn.edu/~bcpierce/unison/ Another option would be to rsync with a hard-

Re: Help With Restoring

2003-01-08 Thread Mike Rubel
> rsync --delete --stats --compress --recursive --times --perms --links > --rsh=/usr/bin/ssh --exclude "tmp/" --exclude "dev/" --exclude "proc/" > --exclude "backups/ " --delete-excluded --backup > --backup-dir=/backup2/BACKED_UP_SERVER_FQDN/$DAY -a /* > CENTRAL_SERVER_IP:/backup2/BACKED_UP_SE

Re: rsync windows -> unix still hanging :(

2003-01-07 Thread Mike Rubel
On Tue, 7 Jan 2003, Dave Dykstra wrote: > I've never seen anybody suggest any other value for --modify-window than "2". > Does 90 really work better than 2? My understanding is that PC-style > filesystems do not have 1 second timestamp granularity and so round the > times up or down slightly. Da

Re: HELP! rsync won't upload my .htpasswd files

2003-01-07 Thread Mike Rubel
> I'm using rsync to synchronize between our staging server and our > production server. All of my files are uploading correctly except for a > couple of .htpasswd files which reside in /var/apache/webscripts > > I'm guessing that they won't upload because they start with "." Is there > some way

Re: rsync windows -> unix still hanging :(

2003-01-03 Thread Mike Rubel
> I think I got it. > > It must have something to do with the file modification times and perhaps > the number of places of accuracy, perhaps in fractions of a second. > > When I add --modify-window=90 as a parameter. Then it works as it should. > > At least it does, for me now. You might tr

Re: rsync windows -> unix still hanging :(

2003-01-03 Thread Mike Rubel
On Fri, 3 Jan 2003, Timothy Burt wrote: > I am seeing similar symptoms. Hi Timothy, I'm trying to find out more about this. May I ask, are the files you see sent even when they haven't changed regular files, or directories, or both? Mike -- To unsubscribe or change options: http://lists.samb

Re: rsync windows -> unix still hanging :(

2002-12-27 Thread Mike Rubel
iee! [ ... ] Hey Scott, I'm Mike Rubel (author of that snapshot system page)--I haven't heard about this cygwin issue before, but this would definitely be worth adding to the FAQ. I'm sorry to hear you're having so much trouble with it! You're actually the second person t

Re: rsync snapshot problem deleting files

2002-12-13 Thread Mike Rubel
> Well, I followed this link: > http://www.mikerubel.org/computers/rsync_snapshots/ > > and implemented it (with a bit of tweaking) on my home network. It is > used to make snapshots of two Windows PC's over samba. On one of the > machines (and not the other, from what I can tell) it deletes f

Re: rsync snapshot problem deleting files

2002-12-11 Thread Mike Rubel
ons or comments? I'll stay tuned for a couple of days, and then make a note on the website, since this is something other potential implementers will need to know about. Mike Rubel -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Re: Feature Request: break hardlinks before metadata changes

2002-10-24 Thread Mike Rubel
Hi Tripp, Glad you saw J.W.'s patch; this business of unlinking before a metadata change would be nice, but I'm not sure how to do it without introducing yet another patch! Best regards, Mike -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read

Re: restricting rsync over ssh

2002-06-07 Thread Mike Rubel
> Somewhat belatedly, I can report that I use rysnc in daemon mode in > conjunction with an SSH tunnel, but using remote port forwarding. I > use the method to distribute password and shadow files. It seemed like this ought to be possible. So, out of curiousity, why does rsync include a "-e ssh

Re: rsyncing read-only files

2002-05-22 Thread Mike Rubel
> I have two machines, call then A and B. I'm using rsync on B to download > from A (I'm running rsync in daemon mode on A from inetd.conf). The rsyncing > on B works fine except for one problem: when I run rsync on B to do the > downloading from A, I get permission denied for files on A that hav

Re: restricting rsync over ssh

2002-05-22 Thread Mike Rubel
> > If so, I am trying to find the best way to restrict rsync -e ssh on the > > remote machine. Prepending the authorized_keys entry with > > command='rsync ...' 1024... results in the 'Protocol mismatch - is your > > shell clean?' error. This brings up an interesting question. Does anyone use

Re: rsync as a backup solution

2002-05-03 Thread Mike Rubel
Eric, I'm going to use this opportunity to shamelessly plug my website: http://www.mikerubel.org/computers/rsync_snapshots/ By keeping multiple rotating backup "snapshots", you can protect yourself should one or more of them get hosed, and you still won't need a huge amount of extra storage.

Re: possibly new rsync trick: rotating snapshots

2002-04-15 Thread Mike Rubel
mr> Quite right--I didn't mean to imply that NFS to a remote location (or mr> even across a firewall from a DMZ) is a good idea; I would use rsync mr> over ssh for that, or rsyncd as you suggest. The NFS idea was more mr> for a dedicated "snapshot server", where the main file server would be mr>

Re: why --delete dosen't work in my script?

2002-04-11 Thread Mike Rubel
> In my backup script I have noticed nothing gets deleted on the remote > end even though I have --delete and --delete-excluded. Did I miss > anything obvious here? Not sure if this applies to you, but... One thing I noticed about trying to use --delete in combination with -b --backup-dir is th

Re: possibly new rsync trick: rotating snapshots

2002-04-09 Thread Mike Rubel
> In addition to the comments regarding NFS etc. You will > find that with cp -l permissions and ownership will not be > accurately preserved in older snapshots if someone chmod or > chowns files on the original. Oh--Thank you, you're quite right, I missed that. If you use rsync -a, then rsync

Re: possibly new rsync trick: rotating snapshots

2002-04-08 Thread Mike Rubel
> That looks good, particularly the description of `cp -al'. I'll add a > link. Hi Martin, First of all, thanks *so* much for all of your work on rsync. It's a really terrific tool, and I seem to keep finding new uses. :) > I would use rsync's daemon mode, rather than NFS, to do backups to a

possibly new rsync trick: rotating snapshots

2002-04-08 Thread Mike Rubel
Hello all, I've found a simple, rsync-based trick to emulate the "rotating snapshots" feature found on some file servers, and hope that members of this group will find it useful and/or interesting: http://www.mikerubel.org/computers/rsync_snapshots/ Snapshots are (or rather, appear to be) full

RE: Incremental backups and batch mode.

2002-03-28 Thread Mike Rubel
Diego wrote: > Right, wonderful, but let's consider a big database file, let's say > a 2Gbyte file, that is slightly changed every day of about a 10% ... > So at every backup the whole 2Gbyte file is saved. ... > So I would like to use the rsync algorithm to calculate the differences > (delta fi

RE: Incremental backups and batch mode.

2002-03-28 Thread Mike Rubel
> Something similar: > I would like to have a first snapshot (level 0) that is a complete copy, > and then other incremental backups that are just delta files > (just the differences from the level 0 snapshot). The "normal" utilities for this job would be dump and tar, especially if you're dumpi

rsync-2.5.4:backup.c possible bug

2002-03-26 Thread Mike Rubel
Hello, I suspect a minor bug in the file rsync-2.5.4/backup.c line 206. To identify too-long pathnames, it makes the following test: if (strlen(backup_dir) + strlen(fname) > (MAXPATHLEN - 1)) I think that the constant subtracted off should be 2, to account both for the forward-slash and for the

Re: Excludes not working

2002-03-19 Thread Mike Rubel
Bart Brashers wrote: > ... I mount them using samba (to avoid having to install the > cygwin version on each box) then run (using rsync 2.5.2 run from crontab) > > rsync -vuaz --delete-excluded --exclude-from=/root/bin/rsync.exclude \ >--modify-window=2 /mnt/pc/machine/share /backup/machine