Using Wildcards in include file paths. The page on the wiki might help: http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Smb_exclude
Just remember that with smb you can either include specific directories/files within a share, or exclude. You cannot do both. There is a nice recipe I have used previously for the standard excludes on a WinXp/Vista etc setup, but I can't find a link for it. ------------------- Many thanks for everyones help! I have re-thought my stratergy and chosen to exclude folders rather than select what to include! Here is a brief guide if its any help.... 1 - set up my excludes - see http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Smb_exclude http://sourceforge.net/apps/mediawiki/backuppc/index.php?title=Common_backup_excludes I have set a DHCP scope for the clients I wish to backup. To ensure all machines are picked up I have generated a list of all PC's from active directory. const FileName ="hosts" set cmd = createobject("ADODB.Command") set cn = createobject("ADODB.Connection") set rs = createobject("ADODB.Recordset") cn.open "Provider=ADsDSOObject;" cmd.activeconnection = cn set objRoot = getobject("LDAP://RootDSE") cmd.commandtext = "<LDAP://" & objRoot.get("defaultNamingContext") & ">;(objectCategory=Computer);" & _ "name,operatingsystem,operatingsystemservicepack, operatingsystemversion;subtree" '**** Bypass 1000 record limitation **** cmd.properties("page size")=1000 set rs = cmd.execute set objFSO = createobject("Scripting.FileSystemObject") set objCSV = objFSO.createtextfile(FileName) objcsv.writeline("host dhcp user moreUsers") rs.movenext while rs.eof <> true and rs.bof <> true objcsv.writeline(rs("name") & " 1 tonys") rs.movenext wend objCSV.Close cn.close 'wscript.echo "Finished" I have set this script to run as a schedules task on a Windows Server 2003 machine and copy it to the /etc/backuppc/hosts file on a daily basis. (set up the folder as a samba share.) This will keep my list of pc's to backup syncronised with my active directory. Hope this is of some use to others. Tony +---------------------------------------------------------------------- |This was sent by [email protected] via Backup Central. |Forward SPAM to [email protected]. +---------------------------------------------------------------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
