Bacula-users

[Bacula-users] FileSet Question (related to snapshots)

2011-10-28 19:14:36
Subject: [Bacula-users] FileSet Question (related to snapshots)
From: Blake Dunlap <ikiris AT gmail DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Fri, 28 Oct 2011 18:12:35 -0500
Greetings,

Minor question, figured I'd try the users list first in case you guys could help. I have the following directory structure on a server that I back up, but there's a minor twist:

FileSet {
  Name = "filemonster-fs"
  Include {
*snip*

    File = /etc
    File = /usr/local/sbin
    File = /snapshot/webdata
  }
*snip*

}


That snapshot directory (/snapshot/webdata) is actually a mounted snapshot of /data. Ideally, I would like bacula to store this as the actual path, and not the path it gets backed up from. It would greatly simplify restores among other things.

I know there is the option of stripping X pieces of the path from a fileset, but it is fileset wide to my knowledge. Is the best practice to just add a snapshot dir to the beginning and keep the same path structure, and have a seperate FileSet for each such item?

The reason I ask is I am also considering adding a PathReplace directive (or something similar) to facilitate the above, and I want to judge input first, and see if there is a better design option.


-Blake
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>