Re: [BackupPC-users] wakeup command?
On 6/23/2011 3:59 PM, gregrwm wrote: is there a command that triggers the equivalent of a wakeup? normally i only want 1 wakeup per day, yet for special circumstances i often find myself editing in a wakeup a couple minutes hence and triggering a reload. Les Mikesell wrote on 2011-06-23 16:19:52 -0500 [Re: [BackupPC-users] wakeup command?]: Normally you'd have moderately frequent wakeups where the actual scheduling of the runs is controlled by other settings (which are checked at each wakeup). Is there some reason that is a problem? generally i want backups to run at one specific time only, but i want specifically requested backups to be allowed anytime. On Thu, Jun 23, 2011 at 21:15, Holger Parplies wb...@parplies.de wrote: In any case, no there is no command that triggers the equivalent of a wakeup, but the part you are probably interested in - running backups which are due - can be triggered with BackupPC_serverMesg backup all ty! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] wakeup command?
Hi, gregrwm wrote on 2011-07-07 17:40:33 -0500 [Re: [BackupPC-users] wakeup command?]: On 6/23/2011 3:59 PM, gregrwm wrote: is there a command that triggers the equivalent of a wakeup? normally i only want 1 wakeup per day, yet for special circumstances i often find myself editing in a wakeup a couple minutes hence and triggering a reload. [...] generally i want backups to run at one specific time only, but i want specifically requested backups to be allowed anytime. just for the record, backups requested via the web interface should be started immediately, independent of WakeupSchedule, IncrPeriod or FullPeriod (they may be delayed subject to MaxBackups and MaxUserBackups, though). That's the whole point of manually initiated backups. There may be reasons to change the client configuration and want an automatic backup to be run, though the only one I can think of right now would be to test the configuration, and even that doesn't seem to be that much different from running a manual backup. Perhaps you should just run a manual backup? On Thu, Jun 23, 2011 at 21:15, Holger Parplies wb...@parplies.de wrote: [...] BackupPC_serverMesg backup all Actually, the web interface uses a very similar invocation of BackupPC_serverMesg to start a manual backup. If you don't want to go through the web interface, you could use that variant from the command line: BackupPC_serverMesg backup hostip host user type where host is the host name you assigned within BackupPC (usually the name of the host), hostip is its DNS name or IP (in fact, automatic backups use the same value as host here; not sure why you can specify something different with BackupPC_serverMesg and how that interacts with ClientNameAlias, for example), user is the name of the user requesting the backup (though I don't think it's used for anything except logging) and type is 1 for full, 0 for incremental or -1 for whatever is due, though you can apparently also use the values doFull, doIncr, auto, autoIncr or autoFull (if you have at least BackupPC 3.2.0, that is). So, to request a full backup of a host named 'foobar', you'd normally use BackupPC_serverMesg backup foobar foobar me 1 Of course, if all your hosts simply missed their backups for some reason, the 'backup all' variant is simpler, though if this happens often, you should probably consider adding a second wakeup, as I outlined previously. For reference, I use $Conf {WakeupSchedule} = [2, 22, 23, 0]; $Conf {IncrPeriod} = 0.8; $Conf {FullPeriod} = 6.8; That way, BackupPC_nightly is run at 2:00, backups are normally run at 22:00, but are retried at 23:00, 0:00 and 2:00 if necessary. Even if a backup turns out to be run at 2:00, the next one should again be run at 22:00 (because more than 0.8 days will have passed). Don't ask me why I left out 1:00 - probably to avoid collisions between BackupPC_nighly and my longest backup. Regards, Holger -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] wakeup command?
On 7/7/11 5:40 PM, gregrwm wrote: Normally you'd have moderately frequent wakeups where the actual scheduling of the runs is controlled by other settings (which are checked at each wakeup). Is there some reason that is a problem? generally i want backups to run at one specific time only, but i want specifically requested backups to be allowed anytime. Just set $Conf{BlackoutPeriods} to cover all the time you don't want backups to start automatically. If your targets aren't on all the time you may want to set BlackoutGoodCnt to 0, depending on whether you'd rather skip a backup than run it outside of your blackout window - they won't run before IncPeriod has elapsed anyway. I don't think wakeups are necessary for manually starting a backup unless it is blocked by something at the time of the request. -- Les Mikesell lesmikes...@gmail.com -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] wakeup command?
is there a command that triggers the equivalent of a wakeup? normally i only want 1 wakeup per day, yet for special circumstances i often find myself editing in a wakeup a couple minutes hence and triggering a reload. -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] wakeup command?
On 6/23/2011 3:59 PM, gregrwm wrote: is there a command that triggers the equivalent of a wakeup? normally i only want 1 wakeup per day, yet for special circumstances i often find myself editing in a wakeup a couple minutes hence and triggering a reload. Normally you'd have moderately frequent wakeups where the actual scheduling of the runs is controlled by other settings (which are checked at each wakeup). Is there some reason that is a problem? -- Les Mikesell lesmikes...@gmail.com -- Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] wakeup command?
Hi, Les Mikesell wrote on 2011-06-23 16:19:52 -0500 [Re: [BackupPC-users] wakeup command?]: On 6/23/2011 3:59 PM, gregrwm wrote: is there a command that triggers the equivalent of a wakeup? normally i only want 1 wakeup per day, yet for special circumstances i often find myself editing in a wakeup a couple minutes hence and triggering a reload. Normally you'd have moderately frequent wakeups where the actual scheduling of the runs is controlled by other settings (which are checked at each wakeup). Is there some reason that is a problem? there might be, depending on what you abuse your PingCmd etc. for ;-). And you might want to allow the disk to spin down if it is unused most of the day. This is also the most effective way to enforce a global blackout. If you *never* want automatic backups to run during a particular part of the day, there is no point in scheduling wakeups. However, I find two or three wakeups more useful than just one. If that one wakeup is missed (because IncrPeriod is a few minutes too long), you don't get a backup that day (with only one wakeup). Also, BackupPC_nightly is run on the first wakeup (i.e. first entry in $Conf{WakeupSchedule}, whatever time that is), and I don't want that running in parallel with backups. In any case, no there is no command that triggers the equivalent of a wakeup, but the part you are probably interested in - running backups which are due - can be triggered with BackupPC_serverMesg backup all If it's the nightly cleanup you're interested in, that would be BackupPC_serverMesg BackupPC_nightly run In any case, BackupPC_serverMesg needs to be run as the backuppc user. Regards, Holger -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/