On Mon, Nov 19, 2007 at 09:00:51AM -0800, Rich Rauenzahn wrote:
> John Rouillard wrote:
> >Our current backup system (hdup) allows the user to prune directories
> >from the backups. So I can backup the /home share and have a user
> >create
> >
> >  /home/user/data/lots_of_junk_data_that_doesnt_need_backup/.nobackup.
> >
> >that file will prevent the backup of
> >
> >  /home/user/data/lots_of_junk_data_that_doesnt_need_backup
>
> Have you tried the -F option in rsync?  Seems to work for me.

No I haven't. Was using rsycn 2.6.3 till recently and -F/--filter
isn't in that version.

> I added 
> -F to the rsync remote options and then dropped a .rsync-filter file in 
> the directory.  The contents of .rsync-filter is just one line, 
> 
>    - *
> 
> It is a little more work than just 'touch .nobackup'.

True but as you explained could be easily automated and actually
provides better control.

Thanks for the pointer.
-- 
                                -- rouilj

John Rouillard
System Administrator
Renesys Corporation
603-643-9300 x 111

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to