[lbackup-discussion] very basic question

henri reply to this message via the mailing list
Mon Mar 15 09:12:27 NZDT 2010


The example quoted below was recently posted to the rsync mailing list regarding backing up multiple directories.

> $ cat >dirs.txt <<EOF
> sourcedir/GroupA
> sourcedir/GroupC
> EOF
> 
> $ rsync -r --include-from=filt.txt --prune-empty-dirs `cat dirs.txt` destdir

Tthis is one way which has the potential allow multiple directories being set as a from source within a configuration file. If this kind of approach makes sense to you then I will carry out some research as to the feasibility of this approach.

This may not be a possibility as the reply this post mentions issues with escaping spaces.

If you are interested in following this thread on the rsync mailing list, then find below the URL to the original post : <http://www.mail-archive.com/rsync@lists.samba.org/msg25537.html>


---------------------------------------------------------------------
This email is protected by LBackup, an open source backup solution.
http://www.lbackup.org








More information about the lbackup-discussion mailing list