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

2002-04-11 Thread Louis-David Mitterrand
Hi, 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? rsync -azC -e ssh --relative --one-file-system --sparse --numeric-ids --vP $

-P option fails

2002-04-16 Thread Louis-David Mitterrand
Hi, It seems rsync no longer resumes partial transfers after a SIGINT (CTRL-C). I tried the following: % rsync -avzP ~/video/Gone_In_60_Seconds_-_DivX.avi 192.168.0.3:/backup/DivX building file list ... 1 files to consider Gone_In_60_Seconds_-_DivX.avi 262144 0% 10.34kB/s 19:40:22

rsync as a bakcup tool and the case of rotated logs

2002-11-28 Thread Louis-David Mitterrand
Hello, I use rsync (among many other things) as an incremental backup tool. Every night I save /{home,etc,var} from several servers. On one of them we keep 52 weeks of system logs, so each time syslog is rotated all old syslog.x.gz (where x is between 1 and 213) change names. This impacts our bac

strange rsync error message from our backup script

2004-06-15 Thread Louis-David Mitterrand
Hello, I use rsync for incrmental backups in the following way: rsync \ $EXCLUDE \ -e ssh \ --archive \ --numeric-ids \ --compress \ --relative \ --one-file-system \

Re: strange rsync error message from our backup script

2004-06-16 Thread Louis-David Mitterrand
On Tue, Jun 15, 2004 at 08:54:34AM -0700, Wayne Davison wrote: > On Tue, Jun 15, 2004 at 10:00:56AM +0200, Louis-David Mitterrand wrote: > > make_bak_dir mkdir > > "/backup/naxos.premier-lnc.com/2004-06-09/home/ddegrolard/profile/Local > > Settings/Application Data"

rsync on mounted windows partitions: I/O errors

2010-08-25 Thread Louis-David Mitterrand
Hi, My backup script fails to --delete because it gets some I/O errors from mounted live windows partitions with (locked?) files. Is there a workaround for that problem, short of --ignore-errors which would be last-resort? Thanks, -- Please use reply-all for most replies to avoid omitting the m

Re: rsync on mounted windows partitions: I/O errors

2010-08-25 Thread Louis-David Mitterrand
On Wed, Aug 25, 2010 at 02:07:29PM +0200, Leen Besselink wrote: > On Wed, Aug 25, 2010 at 01:02:29PM +0200, Louis-David Mitterrand wrote: > > Hi, > > > > My backup script fails to --delete because it gets some I/O errors from > > mounted live windows partitions with (

is a "- *.ext" filter overriden by a later "+ *.ext"

2010-09-09 Thread Louis-David Mitterrand
Hi, In our backup script we sometimes would like to override the common (i.e: static) excludes filter list. For example we exclude "- *.ext" for all backups but would like to include "+ *.ext" only for 'local' backups. Are such entries supposed to cancel each other? How can one override an earli

Re: is a "- *.ext" filter overriden by a later "+ *.ext"

2010-09-09 Thread Louis-David Mitterrand
On Thu, Sep 09, 2010 at 12:50:01PM -0700, Steven Levine wrote: > In <20100909135257.ga20...@apartia.fr>, on 09/09/10 >at 03:52 PM, Louis-David Mitterrand > said: > > Hi, > > >Are such entries supposed to cancel each other? How can one override an >

copy /backup/current/home//Maildir -> /home//Maildir ?

2011-07-09 Thread Louis-David Mitterrand
Hi, How can I copy each /backup/current/home//Maildir into /home//Maildir ? Thanks, -- 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/sm

Re: copy /backup/current/home/???user>/Maildir -> /home/???user>/Maildir ?

2011-07-09 Thread Louis-David Mitterrand
On Sat, Jul 09, 2011 at 02:26:07PM +0200, Matthias Schniedermeyer wrote: > On 09.07.2011 11:23, Emilien Kenler wrote: > > Louis-David Mitterrand apartia.org> writes: > > That statement contains several errors. And is also slightly offtopic > (doesn't use rsync). >

Re: copy /backup/current/home/???user>/Maildir -> /home/???user>/Maildir ?

2011-07-14 Thread Louis-David Mitterrand
On Thu, Jul 14, 2011 at 11:24:46AM +0200, francis.montag...@inria.fr wrote: > > On Sat, 09 Jul 2011 15:04:24 +0200 Louis-David Mitterrand wrote: > > > Is there also a pure rsync solution (without any shell loop) maybe based > > on --include/--exclude? > > I

--backup-dir or --link-dest?

2007-10-15 Thread Louis-David Mitterrand
Hi, To do incremental backups I am presently using --backup-dir=/backup/host/$TODAY and the full backup is written to /backup/host/current. With this system incremental directories only contain deleted files and "current" contains the full backup. Would it be more efficient to use --link-dest=/

Re: Rsync "roadmap" and version numbering (3.1.0 vs 3.0.4)

2008-07-17 Thread Louis-David Mitterrand
On Sun, Jul 06, 2008 at 12:53:55PM -0400, Charles Marcus wrote: > On 7/4/2008, Wayne Davison ([EMAIL PROTECTED]) wrote: >> Other things in the patches dir, suggestions made here, and enhancement >> requests from bugzilla will all be reviewed for possible inclusion. > > I'd still like to see the --i

Re: Rsync "roadmap" and version numbering (3.1.0 vs 3.0.4)

2008-07-17 Thread Louis-David Mitterrand
On Thu, Jul 17, 2008 at 06:24:46PM +0200, Louis-David Mitterrand wrote: > On Sun, Jul 06, 2008 at 12:53:55PM -0400, Charles Marcus wrote: > > On 7/4/2008, Wayne Davison ([EMAIL PROTECTED]) wrote: > >> Other things in the patches dir, suggestions made here, and enhancement

no backup for excluded files?

2008-08-13 Thread Louis-David Mitterrand
Hi, I use rsync 3.0.2 for daily incremental backups: rsync -aAzHRxby -f '. -' --numeric-ids --delete-during --delete-excluded \ --suffix='' --backup-dir=$BACKUP_ROOT/$BACKUP_HOST/${TODAY} \ ${DESTINATION}$BACKUP_ROOT/$BACKUP_HOST/current <<< $EXCLUDE_PATTERNS Sometimes I add

strange behaviour on file with ':' in its name

2009-02-01 Thread Louis-David Mitterrand
Using 3.0.5 I can't send a file with ':' in its name in the current directory without prefixing it with ./ delos% touch file:ext delos% rsync -avP file:ext sylla:/home/ldm The source and destination cannot both be remote. rsync error: syntax or usage error (code 1) at main.c(1154) [receiver=3.0.5

rsync incremental backup

2009-02-23 Thread Louis-David Mitterrand
Hi, Presently I have the latest full backup in a 'current' directory and 30 day incrementals in '-MM-DD' format directories. Without changing that directory structure I'd like the '-DD-MM' directories to contain the full system hardlinked (when applicable) to 'current'. What rsync command

-x option inoperative with "bind" mounts

2005-05-18 Thread Louis-David Mitterrand
Hello, I have this mount defined in /etc/fstab: /backup/current/usr/local/share/premier /var/www/g5/trunk/Naxos none bind,ro When I backup /var with rsync using (among other) the -x option (one filesystem) then the whole contents of /backup/current/usr/local/share/premier are also backed up as t

Re: -x option inoperative with "bind" mounts

2005-05-18 Thread Louis-David Mitterrand
On Wed, May 18, 2005 at 07:27:30PM +0200, Paul Slootman wrote: > On Wed 18 May 2005, Louis-David Mitterrand wrote: > > > > I have this mount defined in /etc/fstab: > > > > /backup/current/usr/local/share/premier /var/www/g5/trunk/Naxos none bind,ro > > > &

Re: -x option inoperative with "bind" mounts

2005-05-18 Thread Louis-David Mitterrand
On Wed, May 18, 2005 at 04:43:27PM -0700, Wayne Davison wrote: > On Wed, May 18, 2005 at 07:33:21PM +0200, Louis-David Mitterrand wrote: > > Thanks for the clear explanation. I'll use excludes. > > Look in the support directory for the script mnt-excl for one way to > exclu

Re: Rsync 2.6.7pre1 is now available

2006-02-17 Thread Louis-David Mitterrand
On Wed, Feb 08, 2006 at 09:07:13PM -0800, Wayne Davison wrote: > Rsync version 2.6.7pre1 is now available for release testing. Please > give it a try and send email to the regular mailing list with any > questions, comments, bug reports, etc. Hi, The NEWS didn't mention the new functionality all

Re: Rsync 2.6.7pre1 is now available

2006-02-17 Thread Louis-David Mitterrand
On Fri, Feb 17, 2006 at 09:02:01AM -0800, Wayne Davison wrote: > On Fri, Feb 17, 2006 at 11:33:42AM +0100, Louis-David Mitterrand wrote: > > The NEWS didn't mention the new functionality allowing to take into > > account renamed files and not retransfer them. > > > &

why doesn't -a include -H ?

2006-10-07 Thread Louis-David Mitterrand
Just curious: why would "archive" mode not preserve hard-links (-H) ? Is there a catch in systematically using -H in backup scripts ? Thanks, -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.ht

Re: how can I use rsync between 2 accounts?

2007-03-18 Thread Louis-David Mitterrand
On Sun, Mar 18, 2007 at 02:11:21PM -0500, ying lcs wrote: > > I have 2 linux accounts on different machines (same login, same password). > Can you please tell me how I use rsync directories between 2 accounts? ssh host1 "rsync /my/dir host2:/my/dir" -- To unsubscribe or change options: https:/