On Tue, Dec 28, 2010 at 8:04 PM, Dan Langille <d...@langille.org> wrote:
> On 12/28/2010 8:28 AM, Victor Hugo dos Santos wrote:
>>
>> On Mon, Dec 27, 2010 at 12:40 PM, Martin Simmons<mar...@lispworks.com>
>>  wrote:
>>>>>>>>
>>>>>>>> On Fri, 24 Dec 2010 21:34:58 -0500, Dan Langille said:
>>
>> [...]
>>
>>>> How do these people propose that such a system be backed up?
>>>
>>> There is nothing in the .gvfs directory that needs to be backed up -- it
>>> contains mounts for external resources and is recreated by the system
>>> from
>>> metadata.
>>
>> good point !! :D
>>
>> A question:
>> In this case (gvfs) is mounted in /home/user/.gvfs and is a different
>> filesystem.
>> so, if I configure my filseset to backup "/home/user", for default
>> bacula should ignore all mounted filesystems inside of /home/user o
>> not ??
>
> If the objective is to not backup any directory which contains .gvfs, then
> look at the File Set options which allow you to exclude a directory which
> contains a given file name.
>
> Look for: ExcludeDirContaining
>
> Is that what you need?  Hmm, .gfvs is a directory... might work.. but
> nothing in that directory will be backed up.  I mean, in your example,
> nothing in /home/user would be backed up.

Hello Dan Langille,

sorry, maybe I don't explain very well.

/home/user/.gvfs is a directory, but it is a ohter filesystem
(fuse.gvfs-fuse-daemon) mounted in "/home/user".
This the output of mount command:

$ mount
/dev/mapper/VG_DATOS-vhs--home on /home type reiserfs (rw)
encfs on /home/victor type fuse.encfs
(rw,nosuid,nodev,default_permissions,allow_other,user=victor)
gvfs-fuse-daemon on /home/victor/.gvfs type fuse.gvfs-fuse-daemon
(rw,nosuid,nodev,user=victor)


and my question was:

if I have 3 filesystem
/dev/sdb1  = /home/alice
/dev/sdc1  = /home/bob
/dev/sdd1  = /home/pepe

for default, bacula don't descend in subdirectories that are a
different filesystem. In the example above, we need configure the
FileSet to backup "/home" directory and need indicate the others
subdirectories, for example:

=============
FileSet {
        Name = "homes"
        Include {
                Options { signature = SHA1; compression=GZIP5 }
                File = /home
                File = /home/alice
                File = /home/bob
                File = /home/pepe
        }
}
=============

For default, the .gvfs directories should be ignored by bacula and
only show a alert (/home/scan/.gvfs is a different filesystem. Will
not descend"). Som why bacula try to backup the /home/scan/.gvfs if
this is a different filesystem ??

Note.: In the original message don't show that /home/scan/.gvfs is a
other mounted filesystem, but I believe that it is.

bye

-- 
--
Victor Hugo dos Santos
Linux Counter #224399

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to