Hi,
On Thu, Jun 11, 2009 at 13:20, Matthias Meyer<matthias.meyer AT gmx DOT li>
wrote:
> I hoped the necessary code would be simple enough and somebody would be so
> nice to post it here.
Something like this should work:
# define the list of junctions for Vista in English:
@VistaJunctions_english = ( "/dir1", "/dir2", "/dir3" );
# define the list of junctions for Vista in German:
@VistaJunctions_german = ( "/verzeichnis_eins", "/verzeichnis_zwei",
"/verzeichnis_drei" );
# And then join it all!
$Conf{BackupFilesExclude} = {
'WINDOWS' => [
'/Downloaded Program Files',
'/Offline Web Pages',
'/Temp',
'/proc',
'/System32/LogFiles/WMI/RtBackup'
],
'*' => [
'pagefile.sys',
'hiberfil.sys',
'/System Volume Information',
'/RECYCLER',
'/$Recycle.Bin',
'/$RECYCLE.BIN',
'/MSOCache',
'/proc',
'/Windows',
@VistaJunctions_english,
@VistaJunctions_german
]
};
Is this what you are looking for?
If you want to source the definitions of @VistaJunctions_english and
@VistaJunctions_german from another file, you can use this command at
the start of the .pl file:
require "/path/to/junction_definitions.pl";
HTH,
Filipe
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|