Good evening, First of al great product! :) At work I had to configure a backup server so I decided to use BackupPC because of the samba support and nice web interface. However our backup policy is somewhat different then normal... I think, because I couldn't find the functionality I was looking for: The setup: //host/DiskD/Projects/ < here from all source files must be backup-ed but not the compile files and the documentation etc. //host/DiskD/MyDocs/ < here all must be backup-ed but not some default windows crap
The problem was that you can't enter and BackupFilesOnly and BackupFilesExcept at the same time and you can't enter the path in the Share because smbclient doesn't understand it. That's why I came up with this idea to let the Smb.pm handle the //host/share/path problem by splitting it into the Share and Directory section so you can add multiple rules for the same share with and use different Only and Except rules without the need to specify all possibilities. Excuse me for my bad perl skills but here is a proof of concept: http://pastebin.com/s1GsijU9 Notable changes are at lines: 55, 120+ 129, 137+ Didn't had time to test it though will be at work in about 8 hours so then I can see if all went well. Cheers, Nick van IJzendoorn ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/