BackupPC-users

Re: [BackupPC-users] windows/scripts

2013-01-14 16:34:48
Subject: Re: [BackupPC-users] windows/scripts
From: "Michael Stowe" <mstowe AT chicago.us.mensa DOT org>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 14 Jan 2013 15:33:29 -0600
> Good evening,
>
> I'm trying to backup a windows server (2003/2008) machine.
> Thing is, everytime I have to do a backup I must stop some services
> before.
> I know that while using rsyncd backupPC has an option which is named
> 'DumpPreUserCmd' and which allows to run a script before doing the backup
> but I don't understand how to use it in order to solve my problem.
> If I understood right, the script that will be run is set on the backup
> machine not on the one you want to back up.
>
> How could I make the script run on my windows machine? Where d I have to
> save the script?

The scripts run on the backup server, so you'll need a way to remotely
execute Windows programs from the backup server.  The venerable winexe is
up to the task; the alternative to shutting down services is to use shadow
copies.  There's a solution for that here:

http://www.michaelstowe.com/backuppc/

It could stand to be better documented, but it's solid.  There's an
alternative solution using ssh on the wiki, IIRC.

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/