On Monday 30 January 2012 11.13:04 Flako wrote: > 2012/1/29 Dan Johansson <[email protected]>: > > Hi, > > > > Is it possible to get the Backup# in the DumpPostUserCmd? > > I have tried with $backup and $backupnumber but none work. > > I also have tried to get the last Backup# from the backups file, but > > this file is written _after_ is DumpPostUserCmd finished. > > > > Any suggestions? > > > > -- > > Dan Johansson, <http://www.dmj.nu> > > *************************************************** > > This message is printed on 100% recycled electrons! > > *************************************************** > > mm variable, do not know .. > but could pass as parameter $ HostIP and within the script as / data / > bacupPC / pc / $ HostIP and retrieve that data. >
Thanks for your tip, but I took an other approach - I split my script into two parts where part one is called in DumpPostUserCmd which does some basic checks and just ads the Client-name ($client) to a queue file. The second script is called on a regular basis from cron and it reads the queue file. Now I can get the last backup# from the backups file. Regards, -- Dan Johansson, <http://www.dmj.nu> *************************************************** This message is printed on 100% recycled electrons! *************************************************** ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ 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/
