Re: [BackupPC-users] Host Priority Option

2017-12-12 Thread Holger Parplies
Hi,

Les Mikesell wrote on 2017-12-12 09:39:41 -0600 [Re: [BackupPC-users] Host 
Priority Option]:
> On Tue, Dec 12, 2017 at 8:19 AM, Gurvinder <gurvin...@techblue.co.uk> wrote:
> >
> > I have been using BackupPc from past few months however I could not find
> > any option where I can prioritize hosts for backups from the list of hosts
> > we add. Let say i have 10 hosts added for backup, now I want specific
> > hosts to start backups earlier than other backup hosts.

"earlier" is not the same as "prioritize". You can achieve "earlier" with
different blackout windows. "Prioritize", on the other hand, is difficult
to even meaningfully define. If host A is "more important than" host B, does
that change when host A has had a successful backup every day for a whole
month and host B has never had a single one (i.e. are backups for host A
mandatory and for host B optional)? BackupPC assumes you want backups for
all your hosts and tries to "do the right thing". Put differently, what
situation are you envisioning where there is not enough capacity to backup
all hosts you are trying to backup? Maybe you need to fix the concept
(like add more backup servers, faster media, decrease backup volume, whatever)
instead of working around problems?

I do understand that there may be transient problems (like unusual amounts of
new data in your backup set) where regular backups of host A are more important
than of host B, but that sounds like "earlier", and will only fix itself
without manual intervention if it is the "more important" (i.e. "earlier")
hosts with the large amount of data (or if you let BackupPC proceed as it
is programmed to do, hopefully ;-).
Note that blackout windows might not work exactly as you expect. A running
backup will not be stopped when entering its blackout window, and the check,
I believe, is done when the backup is run, not when it is queued (queueing
happens according to the WakeupSchedule, running might happen any time
another backup finishes, subject to your MaxBackups setting, which could be
hours after queueing). In any case, an overly long backup for host B might
prevent a backup for host A from starting. I don't see any way within BackupPC
to prevent this. Again, this greatly depends on what kind of problems you
are expecting.

> I don't think there is a setting to force an order - they are just
> scheduled as the age of the previous backup hits the interval set
> between them.   You can manage it with a manual intervention, like
> starting a backup on the one(s) you want to happen first just before
> the blackout time ends.  If everything has the same schedule, these
> will continue to run first as long as everything completes in order.

Working with blackout windows and the periods, you can probably force this.
Let the blackout window for the "earlier" backup end at least one wakeup
earlier and keep the periods smaller so that it will run on the first wakeup
after the blackout even if it runs longer. Remember, it only needs to *start*
within the blackout window ...

Finally, the order, in which hosts are queued, is defined something like:
* hosts with errors before hosts without errors
* hosts with older last good backups earlier
* alphabetically on host name (presuming previous backup age identical to the
  second, which seems rather unlikely, unless there are no previous backups)

So host names might actually provide a way to start backups in the right
order on a new BackupPC installation :-) (hint: ClientNameAlias). And, of
course, to document your "priorities" and make it easy to check whether
things are backing up in the right order.

Hope that helps.

Regards,
Holger

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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] Host Priority Option

2017-12-12 Thread Les Mikesell
On Tue, Dec 12, 2017 at 8:19 AM, Gurvinder  wrote:
>
> I have been using BackupPc from past few months however I could not find any 
> option where I can prioritize hosts for backups from the list of hosts we 
> add. Let say i have 10 hosts added for backup, now I want specific hosts to 
> start backups earlier than other backup hosts.
>
> Is there a way to achieve this. I tried searching for the same on mailing 
> list archive however there was not one old post found where answer was no, It 
> cannot be done. I would like to confirm if there is a way to define hosts 
> priority.

I don't think there is a setting to force an order - they are just
scheduled as the age of the previous backup hits the interval set
between them.   You can manage it with a manual intervention, like
starting a backup on the one(s) you want to happen first just before
the blackout time ends.  If everything has the same schedule, these
will continue to run first as long as everything completes in order.

-- 
  Les Mikesell
 lesmikes...@gmail.com

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
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] Host Priority Option

2017-12-12 Thread Gurvinder
I have been using BackupPc from past few months however I could not find 
any option where I can prioritize hosts for backups from the list of 
hosts we add. Let say i have 10 hosts added for backup, now I want 
specific hosts to start backups earlier than other backup hosts.


Is there a way to achieve this. I tried searching for the same on 
mailing list archive however there was not one old post found where 
answer was no, It cannot be done. I would like to confirm if there is a 
way to define hosts priority.



--

Gurvinder Dadyala

Team Leader (IT/SysAdmin Dept)

Tel IN: +91 124 454 8383 Ext - 1028
Tel IN DID: +91 124 454 8385
Tel UK: +44 845 0047 142 Ext - 5012
Cell IN: +91 987-334-8577

TBS Website 
Techblue Software Pvt. Ltd
AIHP Tower, 249 G, 2nd Floor,,
Udyog Vihar, Phase 4,
Gurugram - 122015, Haryana

www.techbluesoftware.co.in 


	TBS Facebook 
 
TBS Twitter  TBS Google+ 
 TBS Linked In 



TBS Branding 

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
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/