SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
DumpPreUserCmd on a per share basis
Author Message
Post DumpPreUserCmd on a per share basis 
It looks like DumpPreUserCmd is run before backing up all the shares.
Would it be possible to add DumpPreShareCmd and Post commands which have
access to basically the same params as the DumpPreUserCmd but where
$share is the current share being backed up? DumpPreShareCmd would be
run before each share is backed up adn DumpPostShareCmd would be run
after each share is done.

We would like to use this to do a filesystem snapshot and backup the
snapshot. We can't do this with the DumpPreUserCmd because we would
have to snapshot all the filesystems and currently, we're using one of
the active filesystems for the snapshot backing store.

...

I just spent a few minutes making a patch to do this against the cvs
code. The patch is attached if you'd like to review it and include it
in future versions, that'd be great.

Thanks,
Marc Prewitt

Post DumpPreUserCmd on a per share basis 
Marc Prewitt writes:

It looks like DumpPreUserCmd is run before backing up all the shares.
Would it be possible to add DumpPreShareCmd and Post commands which
have access to basically the same params as the DumpPreUserCmd but
where $share is the current share being backed up? DumpPreShareCmd
would be run before each share is backed up adn DumpPostShareCmd would
be run after each share is done.

We would like to use this to do a filesystem snapshot and backup the
snapshot. We can't do this with the DumpPreUserCmd because we would
have to snapshot all the filesystems and currently, we're using one
of the active filesystems for the snapshot backing store.

...

I just spent a few minutes making a patch to do this against the cvs
code. The patch is attached if you'd like to review it and include it
in future versions, that'd be great.

Looks good. I'll apply the patch.

Craig


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB