Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-07 Thread Bowie Bailey via BackupPC-users

On 5/4/2021 12:29 PM, Les Mikesell wrote:

On Tue, May 4, 2021 at 10:24 AM Ralph Sikau  wrote:

I have a large media library which is too big to be backed
up on a single day. That's why I'd like to split up the real
host in several virtual hosts each defining a special part
of the library and being backed up at night on a special day
of the week. The PCNightlyJobs shall run during daytime.
Can you give me an example of a correct configuration for
this? Thanks in advance!


One approach to this is to make up several hostnames for your virtual
hosts, using $Conf{ClientNameAlias} to point them to the correct real
host.  Then use includes/excludes to specify the directories you want
each to contain and the blackout periods to define the times you do
not want each to be backed up - leaving the window you want for each
so normal scheduling will queue them.   Just be aware that if you only
include specific directories you may miss later additions or changes
on the host.


If you take a look at the archives from last month, on April 9th I posted a script 
and some settings that I use when I split up hosts like this to prevent them from 
running simultaneously without having to mess with blackout periods and such.  The 
thread subject was "Handling machines too large to back themselves up".


--
Bowie


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-06 Thread Dave Sherohman
Daily schedule seems to work, too.  I've got a NAS with 20 T of 
backed-up data which takes a little over 3 days to do a full backup and 
its daily incrementals will patiently wait for that to finish before 
they try to run.  A couple other hosts in the 7-8 T range also take over 
24 hours to complete a full, and they have no problems with backup 
windows stepping on each other either; no attempts are made to start an 
additional backup on a host which already has a backup in progress.


And then the daily incrementals for all of these machines usually take 
only about 5-10 minutes to complete because, even though they hold a lot 
of data, it doesn't change frequently - which also seems to be the case 
for most "large media libraries".


On 5/5/21 3:54 PM, G.W. Haywood via BackupPC-users wrote:

Hi there,

On Wed, 5 May 2021, Ralph Sikau wrote:


I have a large media library which is too big to be backed
up on a single day.


Does it matter that it's too large to be backed up in a single day?

You could run a weekly or even monthly schedule.

It doesn't have to be daily.




___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-05 Thread G.W. Haywood via BackupPC-users

Hi there,

On Wed, 5 May 2021, Ralph Sikau wrote:


I have a large media library which is too big to be backed
up on a single day.


Does it matter that it's too large to be backed up in a single day?

You could run a weekly or even monthly schedule.

It doesn't have to be daily.

--

73,
Ged.


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-04 Thread Les Mikesell
On Tue, May 4, 2021 at 10:24 AM Ralph Sikau  wrote:
>
> I have a large media library which is too big to be backed
> up on a single day. That's why I'd like to split up the real
> host in several virtual hosts each defining a special part
> of the library and being backed up at night on a special day
> of the week. The PCNightlyJobs shall run during daytime.
> Can you give me an example of a correct configuration for
> this? Thanks in advance!
>

One approach to this is to make up several hostnames for your virtual
hosts, using $Conf{ClientNameAlias} to point them to the correct real
host.  Then use includes/excludes to specify the directories you want
each to contain and the blackout periods to define the times you do
not want each to be backed up - leaving the window you want for each
so normal scheduling will queue them.   Just be aware that if you only
include specific directories you may miss later additions or changes
on the host.

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


___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-04 Thread Ralph Sikau
Thanks, Adam, for the detailed explanation. Just one more
question:
What happens if $Conf{BackupsDisable} is set to 1 and the
backup of Host A is started on Monday and of Host B on
Tuesday each at a given time by a cron job? How does this
interact with the WakeupSchedule?
I have a large media library which is too big to be backed
up on a single day. That's why I'd like to split up the real
host in several virtual hosts each defining a special part
of the library and being backed up at night on a special day
of the week. The PCNightlyJobs shall run during daytime.
Can you give me an example of a correct configuration for
this? Thanks in advance!

Regards, Ralph



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-04 Thread Adam Goryachev via BackupPC-users


On 4/5/21 22:00, Ralph Sikau wrote:

Am Mittwoch, den 28.04.2021, 16:30 + schrieb backuppc-
users-requ...@lists.sourceforge.net

:

However, I have a suspicion that you are on the right track.  If a backup is 
missed, then it is put into the queue and it will start as soon as it is able 
to.  You may be able to use the blackout hours to help.

Greg,
I think it would help if I could get answers to these
questions:
1. For how long does the backup system STAY awake after
having been awakened according to the WakeupSchedule?

Until the queue is empty.

2. When a backup starts at 11:30 pm will it go on then over
midnight during the following night or will ist go on hold
at midnight?
A started backup will continue until finished regardless of blackout 
periods etc.

3. Is there a possibility to see what is hold in the backup
queue?

Yes, on the web interface, click "Current Queues"

Maybe you have the answers.


More information:

When backuppc wakes up, it will put all hosts that are due to be backed 
up on the queue (ie, their backup schedule and last backup completed 
times are too far apart). It will then take the number of jobs from the 
queue that your config says it can run in parallel, and starts them. If 
a backup starts but is inside the blackout winder, then it is 
immediately stopped (ie, it never really actually starts the xfer), and 
is removed from the queue. Same if the ping time is too long, or 
whatever other constraint that suggests the backup has failed/can't 
start. The next backup on the queue will then start. Eventually, all 
backups on the queue will complete, and backuppc goes back to sleep.


If the backups took too long, and continued past the next wakup period, 
then all due hosts not already on the queue will be added to the queue. 
This is why you can set wakeup schedule every 5 minutes, without causing 
a problem. The wakeup schedule basically just defines the minimum amount 
of time after a backup becomes due, before the backup will be placed on 
the queue.


Regards,
Adam

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-04 Thread Ralph Sikau
Am Mittwoch, den 28.04.2021, 16:30 + schrieb 
backuppc-users-requ...@lists.sourceforge.net:
> However, I have a suspicion that you are on the right
> track.  If a backup is missed, then it is put into the
> queue and it will start as soon as it is able to.  You may
> be able to use the blackout hours to help.

Greg,
I think it would help if I could get answers to
thesequestions:1. For how long does the backup system STAY
awake afterhaving been awakened according to the
WakeupSchedule?2. When a backup starts at 11:30 pm will it
go on then overmidnight during the following night or will
ist go on holdat midnight?3. Is there a possibility to see
what is hold in the backupqueue?Maybe you have the answers.
Thanks, Ralph
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-05-01 Thread Ralph Sikau
Am Mittwoch, den 28.04.2021, 16:30 + schrieb backuppc-
users-requ...@lists.sourceforge.net:
> 
> However, I have a suspicion that you are on the right track.  If a backup is 
> missed, then it is put into the queue and it will start as soon as it is able 
> to.  You may be able to use the blackout hours to help.

Greg,

I think it would help if I could get answers to these
questions:
1. For how long does the backup system STAY awake after
having been awakened according to the WakeupSchedule?
2. When a backup starts at 11:30 pm will it go on then over
midnight during the following night or will ist go on hold
at midnight?
3. Is there a possibility to see what is hold in the backup
queue?
Maybe you have the answers.

Thanks, Ralph



___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/


Re: [BackupPC-users] Problem with WakupSchedule and Backupplan

2021-04-27 Thread Greg Harris
Ralph,

I have a feeling that those who know are going to want to see a list of the 
relevant settings to get a better grasp on how things are set.  However, I have 
a suspicion that you are on the right track.  If a backup is missed, then it is 
put into the queue and it will start as soon as it is able to.  You may be able 
to use the blackout hours to help.

Thanks,

Greg Harris

On Apr 27, 2021, at 6:50 AM, Ralph Sikau 
mailto:ra...@hassun.de>> wrote:

Hi,

I hope that somebody can help. I'm lost with the parameters of WakeupSchedule 
and Backupplan.
My Intention is that BackupPC wakes up once at 3 pm to do the nightly Jobs and 
the backup of a host shall start shortly before midnight and run from then 
throughout the following night.
Whatever I try the backup of the host always starts at 3 pm. Is that because 
the 
BackupPCNightlyPeriod
 is set to 8 so that on days without doing nightly jobs the host backup starts 
instead? What's wrong here?
I also tried to start the backup jobs as cron jobs. That didn't work either.

Thanks for any assistance.

Ralph
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/

___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/