Re: [BackupPC-users] Generating folders to backup from script
2010-11-28 08:39:27
Cyril Lavier wrote:
> Hi.
>
> I need to backup some folders on a server, which are not static, and I
> usually generate the folder list using a command (find).
>
> On the documentation, I can't find anything on using a command to
> generate the folder list.
>
> I tried some things, like putting a command which edits the .pl file in
> $Conf{DumpPreUserCmd}, but it doesn't seems to work.
>
> If you have any idea, this could help me.
>
> Thanks.
>
What's about backing up the root folder and exclude folders which are should
not backed up?
If you use rsync you can also modify the rsyncd.conf on client-side (your
server) during $Conf{DumpPreUserCmd}.
rsyncd.conf:
[DynamicFolders]
path = /whereverTheRoot
exclude = *
include = /whereverTheRoot/dynFolder1 /whereverTheRoot/dynFolder2 ...
br
Matthias
--
Don't Panic
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|
|
|