I don't know the answer, but googling led me to:
https://stackoverflow.com/questions/3546001/rsync-how-to-include-directories-but-not-files
.

So you could try including those -f options in $Conf{RsyncArgsExtra}.

Craig

On Fri, Aug 28, 2020 at 3:50 PM Taste-Of-IT <kont...@taste-of-it.de> wrote:

> Hello,
>
> i use latest BackupPC Version 4.4.0 with rsync and want to backup some
> files and folders used by websites. I created exclusions for tmp and cache
> folders. This works but the folder itself will not backuped and i suppose
> that if i restore the whole website, that the missing folder will lead to
> errors.
>
> My question is how to configure exclusion to save the folderstructure but
> exclude all files. The folders are mixed under all websites and can
> dynamicaly creates by devs.
>
> thx
>
> Taste-of-IT
>
>
> _______________________________________________
> BackupPC-users mailing list
> BackupPC-users@lists.sourceforge.net
> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
> Wiki:    https://github.com/backuppc/backuppc/wiki
> Project: https://backuppc.github.io/backuppc/
>
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

Reply via email to