I use command line with bconsole like this : echo -e "restore FileSet=Complete Client=127.0.0.1-fd select current yes file=/data/home/sauv_ldap.ldif done\n1\n"|bconsole -c /etc/bacula/bconsole.conf
or echo -e "restore FileSet=Complete Client=127.0.0.1-fd select current all yes\ncd data\ncd home\nunmark sauv_ldap.ldif\ndone\n2\n"|bconsole -c /etc/bacula/bconsole.conf I'd like to use something like : echo -e "restore FileSet=Complete Client=127.0.0.1-fd select current all yes unfiles=/data/home/sauv_ldap.ldif done\n2\n"|bconsole -c /etc/bacula/bconsole.conf In other configurations I have more than one file to unmark so I'd use : unfiles=</path/to/list_of_files_to_unmark Vladimir Vasilev a écrit : > On Tue, 19 Feb 2008 17:33:46 +0200, le dahut <[EMAIL PROTECTED]> wrote: > >> Hello, >> >> A remark concerning bconsole command line arguments. >> Could it be possible to add an "unfile" argument which would act like >> "file" but for files to unmark (to use with "restore all" for ex.) ? >> >> > > > You can unmark files for restoring with unmark and unmarkdir. > > unmark The unmark is identical to the mark command, except that it > unmarks the speci?ed ?le or ?les so that they will not be restored. > Note: the unmark command works from the current directory, so it > does not unmark any ?les at a higher level. First do a cd / before the > unmark * command if you want to unmark everything. > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users