Thanks Craig

Well that answers my question but begs another - by using
BackupPC_serverMesg is there no way to specify that it use the specific .pl
file?  If not would it be possible to simply run something like this
instead?

sudo -u backuppc /usr/share/backuppc/bin/BackupPC_dump -i host1 && sudo -u
backuppc /usr/share/backuppc/bin/BackupPC_link host1

or somesuch?  Some of these backups happen to specific shares on this
machine at much much higher rates then the rest of the machine.  For
instance to execute a backup on Mail  - the share "Mail" is on a 6 hour
diffs and daily fulls, but in reality is merely a share on host1 which is on
a regular backup schedule of nightly diffs and weekly fulls.  

On a related note, this is what I see when i execute the following

ark ~ # sudo -u backuppc /usr/share/backuppc/bin/BackupPC_serverMesg backup
10.0.0.21 mail backuppc 1
Got reply: ok: requested backup of mail

But nothing happens.  I also tried the standard 
ark ~ #ark ~ # sudo -u backuppc /usr/share/backuppc/bin/BackupPC_serverMesg
backup all
Got reply: ok
ark ~ #

as in the documentation but nothing happens.  I realize I'm departing from
the well beaten path a little bit here but don't feel like I'm THAT far off.
 I just want Cron to start the ball rolling is all.

Thanks again for your feedback.  Greatly appreciated.

Scott Gamble

_______________________________
[EMAIL PROTECTED]
[EMAIL PROTECTED]
206 412 3055

> ----- Original Message -----
> Subject: Re: [BackupPC-users] using cron to schedule backups
> From: Craig Barratt <[EMAIL PROTECTED]>
> To: "Scott Gamble" <[EMAIL PROTECTED]>
> CC: [email protected]
> Date: 08-24-2005 8:05 am
> 
> 
> Scott Gamble writes:
> 
> > I know this has been touched on repeatedly - and from kinda glossing
through
> > the archives I gather that its not a new idea at all, but is there any
> > reason why scheduling of backups couldn't be handled exclusively by cron
> > instead of the backuppc mechanism?  The time functionality on backuppc
seems
> > to be woefully incomplete in comparison, and the idea of being able to
> > schedule backups by time instead of by number of backups is vastly more
> > applealing.  I guess what I'm asking is by using cron to handle
scheduling,
> > am I missing anything or preventing any kind of critical functions from
> > happening such as the linking and the house cleaning? Below is my
proposed
> > crontab (yes I comment this much on my machines - this is a straight
pull)
> 
> BackupPC is intended to scale easily with a large number of hosts,
> distribute the load, adapt to machines being on or off the network
> etc.  If you want a fixed schedule then cron is a good choice.
> 
> However, do not run BackupPC_dump directly. Instead, use
> BackupPC_serverMesg to tell BackupPC to run the backup.  That
> way it can run BackupPC_link, make sure that it doesn't overlap
> BackupPC_nighty etc.
> 
> Look in the archives for how to run BackupPC_serverMesg.
> 
> Also, it is likely sufficient to just run the full backup via
> cron.  BackupPC will do the incrementals daily after that.
> 
> Craig


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to