On Fri, Apr 16, 2010 at 05:12:17PM -0300, Daniel wrote: > This problem is the continuation of my last e-mail. > > I am trying to configurate the bacula to make the backup of my desktop. > I want to make copy of my /home/user folder, but I wanto to ignore the > directores .gvfs and .VirtualBox. > On the bacula-dir, the configuration is like this: > > FileSet { > Name = "User File Set" > Include { > Options { > # Exclude = yes > } > File = /home/user/ > } > Exclude { > File = /home/user/.VirtualBox/ > File = /home/user/.gvfs/ > } > } > > > > The server make the backup, but don't ignore the files in section Exclude {}
Well, it should. Are you sure you restarted/reloaded your director after changing ? > If I uncomment the line "Exclude = yes", then the server don't backup > any folder... I tried reading the manual and, from what I understand, I > should put this line in the configuration, but, if I do that, the server > does not copy anything. No, you should not put "Exclude=yes", the original answer was correct in that. It works here just like that. You could try removing the trailing slashes though, maybe those are confusing bacula ? There are generally 3 ways to exclude files in bacula: 1) Include { File = /home } Exclude { File = /home/blah } Those will backup all of /home except /home/blah. That is the one that you are trying above, but which misteriously doesn't work although it should. 2) Include { Options { wildfile = "*.avi" exclude = yes } File = /home } This is somewhat confusing, but will backup all of /home but without those files matching wildcard *.avi 3) (in newer bacula releases only) Include { File = /home } ExcludeDirContaining = .do_not_backup This will backup all of the /home, except directories containing file ".do_not_backup" (and all of it's subdirectories). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users