On Tuesday 24 May 2005 22:32, Bruno Savioli wrote: > Hi All.. > > Is there a way of backing up just the directory without the files inside > it? i.e. /proc
I'm 95% certain that you can create a FileSet which takes a list of targets from the output of a script. You could use this feature to solve your problem by writing a very small script which used find and create a recursive directory list. *checks the documentation* Indeed, you can do this, see: http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000147000000000000000 Something like this might do the trick (untested): FileSet { ... Include { File = "|dirlist.sh /proc" } } Where dirlist.sh is: #!/bin/sh /usr/bin/find $1-type d You could do this without the separate file, but its personal preference. > I'd like to be able to backup /proc for instance and in case I need to > do a bare metal recovery I wouldn't need to create /proc manually. > > I tried some wildcards but wasn't successful. > > Any suggestions ? > > Thanks > > Bruno HTH, -- Dominic GoodforBusiness.co.uk I.T. Services for SMEs in the UK. ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users