If it is all on the same share then it may not be so easy.

If you want heavy customization, it may be easier to write a bash script that 
acts as a wrapper to rsync. Then based on the $hostIP, $shareName, $fileList, 
you can build and execute a custom rsync command (including using "rsync $@ 
<your custom stuff here>" to pass all arguments that are added from BackupPC). 
From BackupPC you would be calling your script rather than rsync.

-----Original Message-----
From: T Theis <tth...@sigtronics.com> 
Sent: Friday, December 18, 2020 5:21 PM
To: backuppc-users@lists.sourceforge.net
Subject: [BackupPC-users] Backup only directory structure not any files

Using v4 of backuppc with rsync. How can I configure it to backup only the 
directory structure but no files in certain directories and below? 
Rsync does have that capability but I do not want it to affect all the 
directories I am backing up. Just some selected ones.

TT




_______________________________________________
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