BackupPC-users

Re: [BackupPC-users] wake up the machine

2010-03-25 10:14:03
Subject: Re: [BackupPC-users] wake up the machine
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: backuppc-users AT lists.sourceforge DOT net
Date: Thu, 25 Mar 2010 09:11:48 -0500
>
> Ok here it is my current situation, and i ask you all for help
>
> my host config file:
> $Conf&#123;PingPath&#125; = '/bin/echo';
> $Conf&#123;SmbShareName&#125; = &#91;'pst$', 'afarid$'&#93;;
> $Conf&#123;SmbShareUserName&#125; = 'xyz\xyz';
> $Conf&#123;SmbSharePasswd&#125; = '123456';
> $Conf&#123;XferMethod&#125; = 'smb';
> $Conf&#123;XferLogLevel&#125; = 1;
> $Conf&#123;DumpPreUserCmd&#125; = '/xp/wake';
> $Conf&#123;DumpPostUserCmd&#125; = '/xp/sleep';
>
>
>
> /xp/wake:
>
> wakeonlan 00&#58;16&#58;E6&#58;9F&#58;30&#58;F1

BackupPC will wait for this script to finish before starting the backup. 
This implies that you should have the script wait until the machine is up
before letting the script finish.

You can do something more fancy to verify that the machine is up and ready
to be backed up, or you can just add something like:

sleep 5 minutes

> /xp/sleep:
>
> net rpc shutdown -I xx.xx.xx.xx -U xyz%123456
>
>
> when backup start its bring up the machine, but then i get this error:
> No files dumped for share pst$
>
> is there anyway to postpone the backup till the machine up ?
>
> thanks so much.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/