My experience is on windows server 2008, but I think it may apply.

 

Every evening at 22h00, we run vshadow to create a new snapshot and mount it on a subdirectory of a shared folder.

 

Then we use icacls (I guess you might have only cacls) to dump all acls pertaining to the snapshot and save that info in a file at the root of the shared folder.

 

Last, backuppc runs in smb mode later in the night and backups the shared folder.

 

We scripted this and put it in a scheduled task so it runs every night. You can download vshadow from Microsoft.

 

Raphaël

 


From: dan [mailto:dandenson@gmail.com]
Sent: mardi, 30. septembre 2008 02:43
To: General list for user discussion,questions and support
Subject: Re: [BackupPC-users] backup at shutdown?

 

I think you might have a more reliable solution by using the volume shadow copy with copy on write.  This way you can get the full file without the file lock issue yet not have an overly complex solution.

2008/9/28 Grzegorz Marszałek <graf0@post.pl>

Hello!

I'm new to backuppc  - and I've got bunch of windows workstations to
backup :) The problem is called "open files". I've digged mailing
lists and found few solution (like patch for 2.6 rsync enabling vss
backup, or dosdrive.exe program with buch of scripts to mount vss
volume as a drive letter), but they are either unsupported (like patch
for rsync), or fragile (like dosdrive+scripts). Another idea is to
start backup at windows shutdown. All problematic programs (like
outlook) should be disabled by now, and few services that still could
make problems I can disable before starting backup. Starting backup
from pc is also not a big problem - ssh + keys with limited command to
run will do the trick.

Does that sounds like good idea to you? Maybe somebody tried someting
like this and could share some experiences? Frankly I couldn't find
anything about "backup on shutdown" approach on mailing list and in
google.

Cheers
---
Grzegorz Marszałek
graf0 at post.pl



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/