[BackupPC-users] Fwd: Minor update in the Samba Module
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/
Re: [BackupPC-users] Minor update in the Samba Module
Good morning, I've tested the source now and the one I wrote this evening didn't work =) I changed it and now it suites my need and maybe somebody else would like to use it aswell. The new version can be found at: http://pastie.org/1842600 notable changes are at lines: 120-134 141-142 in the config file the new Samba variable $directory need to be placed. 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/
[BackupPC-users] New: BackupPC_extract
Good midday, Since we weekly want to store all backups on an external HD in 7zip format I created this script to exract the latest backup so I can later add it to a 7zip archive. You might also enjoy it. http://pastie.org/1847242 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/
Re: [BackupPC-users] New: BackupPC_extract
2011/4/29 Richard Shaw hobbes1...@gmail.com: On Fri, Apr 29, 2011 at 8:50 AM, Nick van IJzendoorn nick.de.ne...@gmail.com wrote: Good midday, Since we weekly want to store all backups on an external HD in 7zip format I created this script to exract the latest backup so I can later add it to a 7zip archive. You might also enjoy it. http://pastie.org/1847242 I may find something like this useful. I'm assuming since you are zipping it separtely that his just exports a copy of the backup with all files accessible? (no tar?) Thanks, Richard Yes, it just rebuilds the whole backup you specified in the current work directory. Enjoy! -- 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/
Re: [BackupPC-users] New: BackupPC_extract
2011/4/29 Richard Shaw hobbes1...@gmail.com: On Fri, Apr 29, 2011 at 9:44 AM, Nick van IJzendoorn nick.de.ne...@gmail.com wrote: Yes, it just rebuilds the whole backup you specified in the current work directory. One minor nit pick. The header still makes 5 references to zip archive which I presume is left over from the original script you based yours on. It would probably be better to just remove zip from those instances. Thanks, Richard Updated, thanks for noticing. I also removed the time limit since we don't have the limit on a regular dump. Updated version: http://pastie.org/1847681 Have a nice weekend, Nick -- 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/