|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
|
|
client filesetIs there any way to allow the client computer to define
the fileset that they would like backed up? The way I understand it all the FileSets must be defined in the director, which means if I want the users to define their own backup parameters then they would have to have access to the director, which obviously I don't want to give them. Thank You Sim ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetHi,
from the Bacula documentation : --- If you precede the less-than sign (<) with a backslash as in \<, the file-list will be read on the Client machine instead of on the Director's machine. Please note that if the filename is given within quotes, you will need to use two slashes. Include { Options { signature = SHA1 } File = "\\</home/xxx/filelist-on-client" } --- With this it is easy to have a standard file on all the computers that can be modified by the users. Loïs Lherbier Sim Zacks wrote: >Is there any way to allow the client computer to define >the fileset >that they would like backed up? > >The way I understand it all the FileSets must be >defined in the >director, which means if I want the users to define >their own backup >parameters then they would have to have access to the >director, which >obviously I don't want to give them. > >Thank You >Sim > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Bacula-users mailing list >Bacula-users@... >https://lists.sourceforge.net/lists/listinfo/bacula-users > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetHi,
Sim Zacks wrote: > Is there any way to allow the client computer to define > the fileset > that they would like backed up? Yes. > The way I understand it all the FileSets must be > defined in the > director, which means if I want the users to define > their own backup > parameters then they would have to have access to the > director, which > obviously I don't want to give them. Well, basically I think it's not a good idea to let the file sets be defined on the client. But, if for whatever reason you need that function, you can use the "\|" or "\<" syntax - this is explained in the Manual, chapter Director configuration, Filesets, under file-list. Arno > Thank You > Sim -- IT-Service Lehmann al@... Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client fileset
I assume the consideration for Win32 clients is also possible? ex:
Include {
Options { signature = SHA1 }
File = "\\</C:/filelist-on-client"
}
LHERBIER Lois wrote:
------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetDanie Theron wrote:
> I assume the consideration for Win32 clients is also possible? ex: > >Include { > Options { signature = SHA1 } > File = "\\</C:/filelist-on-client" >} > > Yes, this is also possible on Win32 clients. But I did not remember the exact syntax. Lois Lherbier > > > LHERBIER Lois wrote: > >>Hi, >> >>from the Bacula documentation : >>--- >> >>If you precede the less-than sign (<) with a backslash as in \<, the >>file-list will be read on the Client machine instead of on the >>Director's machine. Please note that if the filename is given within >>quotes, you will need to use two slashes. >> >>Include { >> Options { signature = SHA1 } >> File = "\\</home/xxx/filelist-on-client" >>} >> >>--- >>With this it is easy to have a standard file on all the computers that >>can be modified by the users. >> >>Loïs Lherbier >> >> >> >>Sim Zacks wrote: >> >> >> >>>Is there any way to allow the client computer to define >>>the fileset >>>that they would like backed up? >>> >>>The way I understand it all the FileSets must be >>>defined in the >>>director, which means if I want the users to define >>>their own backup >>>parameters then they would have to have access to the >>>director, which >>>obviously I don't want to give them. >>> >>>Thank You >>>Sim >>> >>> >>> >>>------------------------------------------------------- >>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>>_______________________________________________ >>>Bacula-users mailing list >>>Bacula-users@... >>>https://lists.sourceforge.net/lists/listinfo/bacula-users >>> >>> >>> >>> >>> >> >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>_______________________________________________ >>Bacula-users mailing list >>Bacula-users@... >>https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> >> > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Tape ejecting problemnow for my (hopefully) last problem with bacula :-)
the guy who had this job bevore me (he's not available for questions right now ..) did set it up so the tape gets ejected after the daily backup .. for some reason this doesn't work i don't know if it could have worked at all, i just know that some time ago when he was still here the tape did eject correctly .. dunno if he broke it ... snipet from bacula-dir.conf # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" Type = "Backup" Level = "Full" Client = "xxxx-fd" FileSet = "Catalog" Schedule = "WeeklyCycleAfterBackup" Storage = "Tape" Messages = "Standard" Pool = "Default" # This creates an ASCII copy of the catalog RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula" RunAfterJob = "/etc/bacula/eject_tape" Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr" Priority = 11 # run after main backup Max Start Delay = 22h } snipet from bacula report Termination: Backup OK 30-Aug 01:04 erde-dir: Begin pruning Jobs. 30-Aug 01:04 erde-dir: No Jobs found to prune. 30-Aug 01:04 erde-dir: Begin pruning Files. 30-Aug 01:04 erde-dir: No Files found to prune. 30-Aug 01:04 erde-dir: End auto prune. 30-Aug 01:04 erde-dir: RunAfter: Connecting to Director xxx.xxx.xxx.xxx:9101 30-Aug 01:04 erde-dir: RunAfter: 1000 OK: xxxx-dir Version: 1.36.3 (22 April 2005) 30-Aug 01:04 erde-dir: RunAfter: Enter a period to cancel a command. 30-Aug 01:04 erde-dir: RunAfter: unmount storage=Tape 30-Aug 01:04 erde-dir: RunAfter: Using default Catalog name=MyCatalog DB=bacula 30-Aug 01:04 erde-dir: RunAfter: 3901 Device "/dev/nst0" is already unmounted. 30-Aug 01:04 erde-dir: RunAfter: You have messages. 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied 30-Aug 01:04 erde-dir: BackupCatalog.2005-08-29_23.15.00 Warning: RunAfterJob error: ERR=Child exited with code 1 any clues to that ? all help appreciated :-) Florian ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: Tape ejecting problemFlorian Schnabel wrote:
> now for my (hopefully) last problem with bacula :-) > > the guy who had this job bevore me (he's not available for questions > right now ..) > did set it up so the tape gets ejected after the daily backup .. for > some reason this doesn't work > i don't know if it could have worked at all, i just know that some > time ago when he was still here the tape did eject correctly .. dunno > if he broke it ... > > snipet from bacula-dir.conf > > # Backup the catalog database (after the nightly save) > Job { > Name = "BackupCatalog" > Type = "Backup" > Level = "Full" > Client = "xxxx-fd" > FileSet = "Catalog" > Schedule = "WeeklyCycleAfterBackup" > Storage = "Tape" > Messages = "Standard" > Pool = "Default" > # This creates an ASCII copy of the catalog > RunBeforeJob = "/etc/bacula/scripts/make_catalog_backup bacula bacula" > RunAfterJob = "/etc/bacula/eject_tape" > Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr" > Priority = 11 # run after main backup > Max Start Delay = 22h > } > > snipet from bacula report > > Termination: Backup OK > > 30-Aug 01:04 erde-dir: Begin pruning Jobs. > 30-Aug 01:04 erde-dir: No Jobs found to prune. > 30-Aug 01:04 erde-dir: Begin pruning Files. > 30-Aug 01:04 erde-dir: No Files found to prune. > 30-Aug 01:04 erde-dir: End auto prune. > > 30-Aug 01:04 erde-dir: RunAfter: Connecting to Director > xxx.xxx.xxx.xxx:9101 > 30-Aug 01:04 erde-dir: RunAfter: 1000 OK: xxxx-dir Version: 1.36.3 (22 > April 2005) > 30-Aug 01:04 erde-dir: RunAfter: Enter a period to cancel a command. > 30-Aug 01:04 erde-dir: RunAfter: unmount storage=Tape > 30-Aug 01:04 erde-dir: RunAfter: Using default Catalog name=MyCatalog > DB=bacula > 30-Aug 01:04 erde-dir: RunAfter: 3901 Device "/dev/nst0" is already > unmounted. > 30-Aug 01:04 erde-dir: RunAfter: You have messages. > 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied > 30-Aug 01:04 erde-dir: RunAfter: /dev/st0: Permission denied > 30-Aug 01:04 erde-dir: BackupCatalog.2005-08-29_23.15.00 Warning: > RunAfterJob error: ERR=Child exited with code 1 > > > any clues to that ? > > all help appreciated :-) > > Florian > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bacula-users mailing list > Bacula-users@... > https://lists.sourceforge.net/lists/listinfo/bacula-users > Hello, Can you show us the content of the file '/etc/bacula/eject_tape', please ? Loïs Lherbier ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: Tape ejecting problemLHERBIER Lois wrote
>Hello, > >Can you show us the content of the file '/etc/bacula/eject_tape', please ? > > Loïs Lherbier > > whoops .. sorry, of course :-) #!/bin/sh bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA unmount storage=Tape END_OF_DATA # the following is a shell command mt -f /dev/st0 rewind mt -f /dev/st0 eject ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: Tape ejecting problemFlorian Schnabel wrote:
> LHERBIER Lois wrote > >> Hello, >> >> Can you show us the content of the file '/etc/bacula/eject_tape', >> please ? >> >> Loïs Lherbier >> >> > whoops .. sorry, of course :-) > > #!/bin/sh > bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA > unmount storage=Tape > END_OF_DATA > # the following is a shell command > mt -f /dev/st0 rewind > mt -f /dev/st0 eject > I think the simpler is to add in your Device configuration in bacula-sd.conf the directive : OfflineOnUnmount = yes Then you can remove the shell commands with 'mt' in your script. This directive will eject the tape if an 'umount' or a 'release' is issued. Hope it helps. Loïs Lherbier ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client fileset
Ok , tested it :
bacula-dir works with : Include {
Options { signature = SHA1 }
File = "\\<C:/bacula/bin/include.txt" -forgot to remove the /
}
What is the correct syntax in the actual include.txt file ?I tried diff combinations : "c:/danie" - Could not stat "c:/danie": ERR=The filename, directory name, or volume label syntax is incorrect. c:/danie - this one didn't come up with an error but nothing is backed up Would really like to get this going on my win32 machines , so any help/hints/tips would be appreciated. LHERBIER Lois wrote: Danie Theron wrote: ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetWhat do you mean by 'nothing is backed up' ?
I think that you can validate your fileset with the 'estimate' command instead of running the backup. Loïs Lherbier Danie Theron wrote: > Ok , tested it : > > bacula-dir works with : > >Include { > Options { signature = SHA1 } > File = "\\<C:/bacula/bin/include.txt" -forgot to remove the / >} > > What is the correct syntax in the actual include.txt file ? > > I tried diff combinations : > > "c:/danie" - Could not stat "c:/danie": ERR=The filename, directory > name, or volume label syntax is incorrect. > c:/danie - this one didn't come up with an error but nothing is backed up > > Would really like to get this going on my win32 machines , so any > help/hints/tips would be appreciated. > > > LHERBIER Lois wrote: > >>Danie Theron wrote: >> >> >> >>>I assume the consideration for Win32 clients is also possible? ex: >>> >>>Include { >>> Options { signature = SHA1 } >>> File = "\\</C:/filelist-on-client" >>>} >>> >>> >>> >>> >>Yes, this is also possible on Win32 clients. But I did not remember the >>exact syntax. >> >> Lois Lherbier >> >> >> >>>LHERBIER Lois wrote: >>> >>> >>> >>>>Hi, >>>> >>>> >>>> >>>>from the Bacula documentation : >>> >>> >>>>--- >>>> >>>>If you precede the less-than sign (<) with a backslash as in \<, the >>>>file-list will be read on the Client machine instead of on the >>>>Director's machine. Please note that if the filename is given within >>>>quotes, you will need to use two slashes. >>>> >>>>Include { >>>> Options { signature = SHA1 } >>>> File = "\\</home/xxx/filelist-on-client" >>>>} >>>> >>>>--- >>>>With this it is easy to have a standard file on all the computers that >>>>can be modified by the users. >>>> >>>>Loïs Lherbier >>>> >>>> >>>> >>>>Sim Zacks wrote: >>>> >>>> >>>> >>>> >>>> >>>>>Is there any way to allow the client computer to define >>>>>the fileset >>>>>that they would like backed up? >>>>> >>>>>The way I understand it all the FileSets must be >>>>>defined in the >>>>>director, which means if I want the users to define >>>>>their own backup >>>>>parameters then they would have to have access to the >>>>>director, which >>>>>obviously I don't want to give them. >>>>> >>>>>Thank You >>>>>Sim >>>>> >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>>>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>>>>_______________________________________________ >>>>>Bacula-users mailing list >>>>>Bacula-users@... >>>>>https://lists.sourceforge.net/lists/listinfo/bacula-users >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>------------------------------------------------------- >>>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>>>_______________________________________________ >>>>Bacula-users mailing list >>>>Bacula-users@... >>>>https://lists.sourceforge.net/lists/listinfo/bacula-users >>>> >>>> >>>> >>>> >>>> >> >> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>_______________________________________________ >>Bacula-users mailing list >>Bacula-users@... >>https://lists.sourceforge.net/lists/listinfo/bacula-users >> >> >> > > ------------------------------------------------------- SF.Net email > is Sponsored by the Better Software Conference & EXPO September 19-22, > 2005 * San Francisco, CA * Development Lifecycle Practices Agile & > Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ Bacula-users mailing > list Bacula-users@... > https://lists.sourceforge.net/lists/listinfo/bacula-users ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetIt would be helpful if you send to this list in text format because some of us
such as myself consider HTML to be a security problem (though rather minor). Be sure to check the development manual on this issue as the version shipped with 1.36.3 had a number of places where the text was out of date and thus erroneous. On Tuesday 30 August 2005 11:32, Danie Theron wrote: > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> > <html> > <head> > <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> > </head> > <body bgcolor="#ffffff" text="#000000"> > Ok , tested it :<br> > <br> > bacula-dir works with :<br> > <pre wrap="">Include { > Options { signature = SHA1 } > File = "\\<C:/bacula/bin/include.txt" -forgot to remove the / > }</pre> > What is the correct syntax in the actual include.txt file ?<br> > <br> > I tried diff combinations :<br> > <br> > "c:/danie" - Could not stat "c:/danie": ERR=The filename, directory > name, or volume label syntax is incorrect.<br> > c:/danie - this one didn't come up with an error but nothing is backed > up<br> > <br> > Would really like to get this going on my win32 machines , so any > help/hints/tips would be appreciated.<br> > <br> > <br> > LHERBIER Lois wrote: > <blockquote cite="mid4313FADF.2060807@..." type="cite"> > <pre wrap="">Danie Theron wrote: > > </pre> > <blockquote type="cite"> > <pre wrap="">I assume the consideration for Win32 clients is also > possible? ex: > > Include { > Options { signature = SHA1 } > File = "\\</C:/filelist-on-client" > } > > > </pre> > </blockquote> > <pre wrap=""><!---->Yes, this is also possible on Win32 clients. But I > did not remember the exact syntax. > > Lois Lherbier > > </pre> > <blockquote type="cite"> > <pre wrap=""> > LHERBIER Lois wrote: > > </pre> > <blockquote type="cite"> > <pre wrap="">Hi, > > </pre> > </blockquote> > <pre wrap="">>from the Bacula documentation : > </pre> > <blockquote type="cite"> > <pre wrap="">--- > > If you precede the less-than sign (<) with a backslash as in \<, the > file-list will be read on the Client machine instead of on the > Director's machine. Please note that if the filename is given within > quotes, you will need to use two slashes. > > Include { > Options { signature = SHA1 } > File = "\\</home/xxx/filelist-on-client" > } > > --- > With this it is easy to have a standard file on all the computers that > can be modified by the users. > > Loïs Lherbier > > > > Sim Zacks wrote: > > > > </pre> > <blockquote type="cite"> > <pre wrap="">Is there any way to allow the client computer to > define the fileset > that they would like backed up? > > The way I understand it all the FileSets must be > defined in the > director, which means if I want the users to define > their own backup > parameters then they would have to have access to the > director, which > obviously I don't want to give them. > > Thank You > Sim > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * > Testing & QA Security * Process Improvement & Measurement * <a > class="moz-txt-link-freetext" > href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a> > _______________________________________________ > Bacula-users mailing list > <a class="moz-txt-link-abbreviated" > href="mailto:Bacula-users@...">Bacula-users@... >orge.net</a> <a class="moz-txt-link-freetext" > href="https://lists.sourceforge.net/lists/listinfo/bacula-users">https://li >sts.sourceforge.net/lists/listinfo/bacula-users</a> > > > > > > </pre> > </blockquote> > <pre wrap=""> > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * > Testing & QA Security * Process Improvement & Measurement * <a > class="moz-txt-link-freetext" > href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a> > _______________________________________________ > Bacula-users mailing list > <a class="moz-txt-link-abbreviated" > href="mailto:Bacula-users@...">Bacula-users@... >orge.net</a> <a class="moz-txt-link-freetext" > href="https://lists.sourceforge.net/lists/listinfo/bacula-users">https://li >sts.sourceforge.net/lists/listinfo/bacula-users</a> > > > > </pre> > </blockquote> > </blockquote> > <pre wrap=""><!----> > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * > Testing & QA Security * Process Improvement & Measurement * <a > class="moz-txt-link-freetext" > href="http://www.sqe.com/bsce5sf">http://www.sqe.com/bsce5sf</a> > _______________________________________________ > Bacula-users mailing list > <a class="moz-txt-link-abbreviated" > href="mailto:Bacula-users@...">Bacula-users@... >orge.net</a> <a class="moz-txt-link-freetext" > href="https://lists.sourceforge.net/lists/listinfo/bacula-users">https://li >sts.sourceforge.net/lists/listinfo/bacula-users</a> > > </pre> > </blockquote> > <br> > </body> > </html> > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Bacula-users mailing list > Bacula-users@... > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetKern Sibbald wrote:
>It would be helpful if you send to this list in text format because some of us >such as myself consider HTML to be a security problem (though rather minor). > > My humblest apologies *blush* , reinstalled my workstation and forgot to add lists.sourceforge.net (and sibbald.com :)) as my Plain Text domain. >Be sure to check the development manual on this issue as the version shipped >with 1.36.3 had a number of places where the text was out of date and thus >erroneous. > > > OK , my bacula-dir 's Fileset resource looks as follows : FileSet { Name = "wks1old Set" Include { Options { compression = GZIP6 wildfile = *.exe wildfile = *.mp3 wildfile = *.tmp exclude = yes } # File = "f:/sqldumps" File = "\\<C:/bacula/bin/include.txt" } } And my include.txt file : "c:/Documents and Settings/danie" When I do an estimate : Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 2000 OK estimate files=0 bytes=0 Not sure where I'm going wrong seeing as all seems fine. Any help will be greatly appreciated TIA D ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetDanie Theron wrote:
> Not sure where I'm going wrong seeing as all seems fine. Any help will > be greatly appreciated Wild stab in the dark... try converting the text format on the Windows box to UNIX line endings... -- Russell Howe russell_howe@... ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetDanie Theron wrote:
> Kern Sibbald wrote: > >> It would be helpful if you send to this list in text format because >> some of us such as myself consider HTML to be a security problem >> (though rather minor). >> >> > My humblest apologies *blush* , reinstalled my workstation and forgot > to add lists.sourceforge.net (and sibbald.com :)) as my Plain Text > domain. > >> Be sure to check the development manual on this issue as the version >> shipped with 1.36.3 had a number of places where the text was out of >> date and thus erroneous. >> >> >> > OK , my bacula-dir 's Fileset resource looks as follows : > > FileSet { > Name = "wks1old Set" > Include { > Options { > compression = GZIP6 > wildfile = *.exe > wildfile = *.mp3 > wildfile = *.tmp > exclude = yes > } > # File = "f:/sqldumps" > File = "\\<C:/bacula/bin/include.txt" > } > } > > And my include.txt file : > > "c:/Documents and Settings/danie" > > When I do an estimate : > > Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 > 2000 OK estimate files=0 bytes=0 > > Not sure where I'm going wrong seeing as all seems fine. Any help will > be greatly appreciated > > TIA > > D I think that you can remove the quotes from include.txt. From what I remember, quotes are not needed when you include a file containting the files that you want to backup. Maybe at first try a simpler configuration without wildfiles and with only c:/bacula for instance in your include.txt. Then redo an 'estimate' to see if it is working. Loïs ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetRemoved the " , estimate seems to be working now.Thanks a lot for the help.
LHERBIER Lois wrote: >Danie Theron wrote: > > > >>Kern Sibbald wrote: >> >> >> >>>It would be helpful if you send to this list in text format because >>>some of us such as myself consider HTML to be a security problem >>>(though rather minor). >>> >>> >>> >>> >>My humblest apologies *blush* , reinstalled my workstation and forgot >>to add lists.sourceforge.net (and sibbald.com :)) as my Plain Text >>domain. >> >> >> >>>Be sure to check the development manual on this issue as the version >>>shipped with 1.36.3 had a number of places where the text was out of >>>date and thus erroneous. >>> >>> >>> >>> >>> >>OK , my bacula-dir 's Fileset resource looks as follows : >> >>FileSet { >> Name = "wks1old Set" >> Include { >> Options { >> compression = GZIP6 >> wildfile = *.exe >> wildfile = *.mp3 >> wildfile = *.tmp >> exclude = yes >> } >># File = "f:/sqldumps" >> File = "\\<C:/bacula/bin/include.txt" >> } >>} >> >>And my include.txt file : >> >>"c:/Documents and Settings/danie" >> >>When I do an estimate : >> >>Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 >>2000 OK estimate files=0 bytes=0 >> >>Not sure where I'm going wrong seeing as all seems fine. Any help will >>be greatly appreciated >> >>TIA >> >>D >> >> > > >I think that you can remove the quotes from include.txt. From what I >remember, quotes are not needed when you include a file containting the >files that you want to backup. >Maybe at first try a simpler configuration without wildfiles and with >only c:/bacula for instance in your include.txt. Then redo an 'estimate' >to see if it is working. > > Loïs > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Bacula-users mailing list >Bacula-users@... >https://lists.sourceforge.net/lists/listinfo/bacula-users > > > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: client filesetOn Tuesday 30 August 2005 14:48, Danie Theron wrote:
> Kern Sibbald wrote: > >It would be helpful if you send to this list in text format because some > > of us such as myself consider HTML to be a security problem (though > > rather minor). > > My humblest apologies *blush* , reinstalled my workstation and forgot to > add lists.sourceforge.net (and sibbald.com :)) as my Plain Text domain. Don't worry, it was not serious. > > >Be sure to check the development manual on this issue as the version > > shipped with 1.36.3 had a number of places where the text was out of date > > and thus erroneous. > > OK , my bacula-dir 's Fileset resource looks as follows : > > FileSet { > Name = "wks1old Set" > Include { > Options { > compression = GZIP6 > wildfile = *.exe > wildfile = *.mp3 > wildfile = *.tmp > exclude = yes > } > # File = "f:/sqldumps" > File = "\\<C:/bacula/bin/include.txt" > } > } > > And my include.txt file : > > "c:/Documents and Settings/danie" Double quotes are not permitted in your include.txt file. If that doesn't fix the problem, try turning on debug level 100 or 200, you should be able to "see" what is going on. > > When I do an estimate : > > Connecting to Client wks1old-fd at wks1-old.verpakt.com:9102 > 2000 OK estimate files=0 bytes=0 > > Not sure where I'm going wrong seeing as all seems fine. Any help will > be greatly appreciated > > TIA > > D -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: Tape ejecting problem>seems an access right problem on /dev/st0. >I think the simpler is to add in your Device configuration in >bacula-sd.conf the directive : OfflineOnUnmount = yes >Then you can remove the shell commands with 'mt' in your script. >This directive will eject the tape if an 'umount' or a 'release' is issued. > > Hope it helps. > > > Loïs Lherbier > > > that did work, but bacula ejected the tape after job 1 of 5 ^^ thus failing the other jobs .. ah well .. will have to see that the command is run once and only after the last job ^^ Florian ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
Re: Tape ejecting problem>> seems an access right problem on /dev/st0. >> I think the simpler is to add in your Device configuration in >> bacula-sd.conf the directive : OfflineOnUnmount = yes >> Then you can remove the shell commands with 'mt' in your script. >> This directive will eject the tape if an 'umount' or a 'release' is >> issued. >> >> Hope it helps. >> >> >> Loïs Lherbier >> >> >> > always full fo surprises ... > that did work, but bacula ejected the tape after job 1 of 5 ^^ > thus failing the other jobs .. ah well .. > > will have to see that the command is run once and only after the last > job ^^ > > Florian > > unmound to the backupcatalog-job) ? Florian ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
|
|
RE: Tape ejecting problem> -----Original Message-----
> From: bacula-users-admin@... > [mailto:bacula-users-admin@...] On Behalf > Of Florian Schnabel > Sent: Tuesday, 30 August, 2005 02:34 > To: bacula-users@... > Subject: Re: [Bacula-users] Tape ejecting problem > > LHERBIER Lois wrote > > >Hello, > > > >Can you show us the content of the file > '/etc/bacula/eject_tape', please ? > > > > Loïs Lherbier > > > > > whoops .. sorry, of course :-) > > #!/bin/sh > bconsole -c /etc/bacula/bconsole.conf <<END_OF_DATA > unmount storage=Tape > END_OF_DATA > # the following is a shell command > mt -f /dev/st0 rewind > mt -f /dev/st0 eject > AFAIK the rewind isn't really necessary since bacula rewinds the tape as soon as it's mounted but this is up to you. You might try using 'mt -f /dev/st0 offline' instead of 'mt -f /dev/st0 eject' since offline is supposed to be the same as eject according to mt(1). From the driver/hardware point of view I don't know what the difference is between 'offline' and 'eject' but 'offline' works fine here. The OfflineOnUnmount directive shouldn't eject the tape until the tape is unmounted by bacula (either automatically or by the unmount command in the console). I suspect that what's happening here is that you're still using the eject_tape script in the RunAfterJob and regardless of whether the 'mt eject' is working it's still unmounting storage=Tape which is causing bacula to eject the tape. Personally, I would handle this by leaving the OfflineOnUnmount turned on and creating an Admin job which executes your eject_tape script. Then comment out the mt rewind and eject lines so that the script just tells bacula to unmount the drive. Comment out the RunAfterJob which calls eject_tape in your other Job(s). Set a high number for Priority on this Admin job, and schedule it to run at the same time as your other jobs. In theory this would let your jobs run normally, then when all of your jobs have finished the Admin job will run, the script will unmount the storage resource, and bacula will eject your tape. Hope this helps. :-) > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development > Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * > Testing & QA > Security * Process Improvement & Measurement * > http://www.sqe.com/bsce5sf > _______________________________________________ > Bacula-users mailing list > Bacula-users@... > https://lists.sourceforge.net/lists/listinfo/bacula-users Thanks, Chris ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bacula-users mailing list Bacula-users@... https://lists.sourceforge.net/lists/listinfo/bacula-users |
| Free embeddable forum powered by Nabble | Forum Help |