SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Backup# in DumpPostUserCmd
Author Message
Post Backup# in DumpPostUserCmd 
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!
***************************************************

------------------------------------------------------------------------------
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
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Backup# in DumpPostUserCmd 
2012/1/29 Dan Johansson <Dan.Johansson < at > dmj.nu>:
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.

regards

------------------------------------------------------------------------------
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
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Post Backup# in DumpPostUserCmd 
On Monday 30 January 2012 11.13:04 Flako wrote:
2012/1/29 Dan Johansson <Dan.Johansson < at > dmj.nu>:
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
BackupPC-users < at > lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB