Re: [BackupPC-users] Backup at different times

2017-09-01 Thread Carl Soderstrom
> From: Orazio Di nino 
>
> Hello everyone,
> I would like to back up two hosts at different times.
> es. host1 at 10:00 PM and host2 at 4:00 PM.
> How do I configure this?

The easiest way is to set a cron job like the one below. The '0' at the end 
means to do an incremental backup, a '1' would mean to do a full backup. This 
will force the job to go off at a particular time.

You will also want to set a job to do a full backup occasionally, to do a more 
thorough check of the files being backed up against the copies in your backup 
pool.

# mysql-2 is set to dump its database at 8:15pm (20:15)
# let's do a backup right after that.
20 20 * * * backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup 
mysql-2.example.com mysql-2.example.com backuppc 0

--
Carl Soderstrom
Real Time Enterprises
952-943-8700
--
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] Backup at different times

2017-09-01 Thread Michael Stowe

On 2017-09-01 03:10, Orazio Di nino wrote:

Hello everyone,
I would like to back up two hosts at different times.

es. host1 at 10:00 PM and host2 at 4:00 PM.

How do I configure this?
thank you
Orazio


Since BackupPC wasn't designed with the "I want to set the exact time 
that each backup starts" use case in mind, this is actually an easier 
task if you restate what you're trying to accomplish, and let BackupPC 
do some of the work.


For example, if you don't want the backups to overlap, you can just set 
the number of backups to run concurrently to 1, and they'll not overlap.


If you don't want them to start during certain times, you can set 
blackout times in the schedule.


If you want to do more complex coordination, there are scripts 
available, that can coordinate with (for example) database dumps or 
shadow copies.


If you REALLY want to set the exact times, I strongly encourage you to 
first rethink whether it's necessary.  Then rethink why.  You can always 
launch backups manually, and there are mechanisms for extending this to 
cron, but I wouldn't do this until I've exhausted all other lines of 
exploration.
--
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] Backup at different times

2017-09-01 Thread Orazio Di nino

Hello everyone,
I would like to back up two hosts at different times.

es. host1 at 10:00 PM and host2 at 4:00 PM.

How do I configure this?
thank you
Orazio

-

--
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/