Re: [Bacula-users] Windows client backup error
Ankush: windows filesets should be with regular dash and usually with capital letters. It is on the Bacula Config. Manual. -- Heitor Medrado de Faria +55 61 82684220 Precisa de treinamento Bacula presencial, telepresencial ou online? Acesse: http://www.bacula.com.br Em 1 de junho de 2015 06:19:32 BRT, More, Ankush ankush.m...@capgemini.com escreveu: Hi Ana, I have created single file set from drives C: to W: for all windows client. Drives which are failed not present. Please find log: | bacula-dir JobId 1569: No prior Full backup Job record found. | | bacula-dir JobId 1569: No prior or suitable Full backup found in catalog. Doing FULL backup. | | bacula-dir JobId 1569: Start Backup JobId 1569, Job=CTPTSTWIN04-W-BkpTape.2015-05-28_13.50.02_21 | | bacula-dir JobId 1569: Using Device Drive-4 to write. | | ctptstwin04-fd JobId 1569: Generate VSS snapshots. Driver=Win32 VSS, Drive(s)=CDEFGHIJKLMNOPQRSTUVW | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive e:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive f:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive g:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive h:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive i:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive j:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive k:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive l:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive m:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive n:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive o:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive p:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive q:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive r:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive s:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive t:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive u:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive v:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive w:\ failed. | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): MSDEWriter, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): Event Log Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) | | bacula-sd JobId 1569: Elapsed time=00:00:14, Transfer rate=0 Bytes/second | | bacula-dir JobId 1569: Error: Bacula bacula-dir 7.0.5 (28Jul14): Build OS: x86_64-redhat-linux-gnu redhat Enterprise release JobId: 1569 Thank you, Ankush From: Ana Emília M. Arruda [mailto:emiliaarr...@gmail.com] Sent: 30 May 2015 21:28 To: More, Ankush Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Windows client backup error Hi Ankush, On Sat, May 30, 2015 at 9:32 AM, More, Ankush ankush.m...@capgemini.commailto:ankush.m...@capgemini.com wrote: Hi Ana, Yes, we have few windows client 32bit. Do you mean 32 bit clients will not support on Bacula server with 64 bit? No. I thought that you had bacula client 32-bit installed on windows 64-bit. Do you get results for status client from bconsole? From the job output, It seems that your storage daemon do not receive response from the client and the job is cancelled because of an error in the client daemon. Could you post logs information for the jobs that presents this problem that could help us with this? Best regards, Ana Thank you, Ankush From: Ana Emília M. Arruda [mailto:emiliaarr...@gmail.commailto:emiliaarr...@gmail.com] Sent: 29 May 2015 15:50 To: More, Ankush Cc: bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Subject: Re:
Re: [Bacula-users] Windows client backup error
I don’t think those backslashes (\) instead of normal (/) are the problem here, those in the error messages are coming from Windows, not from the fileset or bacula. But [I think – never actually tried it] if you have a fileset resource that says drives C through W are to be included, it is to be expected that you will get an error message for each of those drives that can’t be found at backup time. Another likely side effect is that unless you include a ‘drivetype=fixed’ option, it will back up everything it finds at those letters, including a CD-ROM disc that happens to be left in the drive (and another one at the same drive letter tomorrow), a USB drive someone forgot to unplug, etc. I prefer to have _at least_ one fileset resource for each individual client, and even split them into two or more (plus as many separate jobs) in a few special cases. For general purpose machines, my filesets are often just identical copies of the same base set (just the name changed), but this allows for easy tweaking on a per-client basis as soon and as often as it becomes necessary. It also allows me to keep client, job and fileset resources together in one configuration file per client. Anything that has to be changed for a client is always in that client’s file, no change there will ever affect another client, and adding or removing a client is just a minute’s work without having to find your way (again) in one long file. From: Heitor Faria [mailto:hei...@bacula.com.br] Sent: 01 June 2015 13:53 To: More, Ankush; Ana Emília M. Arruda Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Windows client backup error Ankush: windows filesets should be with regular dash and usually with capital letters. It is on the Bacula Config. Manual. -- Heitor Medrado de Faria +55 61 82684220 Precisa de treinamento Bacula presencial, telepresencial ou online? Acesse: http://www.bacula.com.br Em 1 de junho de 2015 06:19:32 BRT, More, Ankush ankush.m...@capgemini.commailto:ankush.m...@capgemini.com escreveu: Hi Ana, I have created single file set from drives C: to W: for all windows client. Drives which are failed not present. Please find log: | bacula-dir JobId 1569: No prior Full backup Job record found. | | bacula-dir JobId 1569: No prior or suitable Full backup found in catalog. Doing FULL backup. | | bacula-dir JobId 1569: Start Backup JobId 1569, Job=CTPTSTWIN04-W-BkpTape.2015-05-28_13.50.02_21 | | bacula-dir JobId 1569: Using Device Drive-4 to write. | | ctptstwin04-fd JobId 1569: Generate VSS snapshots. Driver=Win32 VSS, Drive(s)=CDEFGHIJKLMNOPQRSTUVW | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive e:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive f:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive g:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive h:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive i:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive j:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive k:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive l:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive m:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive n:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive o:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive p:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive q:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive r:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive s:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive t:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive u:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive v:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive w:\ failed. | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): MSDEWriter, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): Registry Writer, State: 0x1
Re: [Bacula-users] Baculum not working on Ubuntu 14.04 LTS running Bacula 7.0.5
What about output of the following command # apache2ctl -t -D DUMP_VHOSTS P.S. Do you enable virtual host with a2ensite? On Mon, Jun 1, 2015 at 8:17 AM, Marcin Haba ganius...@gmail.com wrote: Hello, Your web server configuration looks well. Could you tell me if you placed hidden file .htaccess from tar.gz archive to location: /var/www/baculum/ The hidden file consists mod_rewrite rules and I guess that during copying from tar.gz archive the hidden file has not been copied. If you are interested in Baculum binary package for your Ubuntu 14.04, here is unofficial PPA project on Launchpad.net: https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum The binary packages contain almost latest Baculum snapshot from Bacula Git archive. From 7.0.5 version to current Git version there are a lot of new functionalities in Baculum. Best regards. Marcin Haba (gani) 2015-06-01 0:38 GMT+02:00 Mike Boyce niwtechnol...@gmail.com: I'm currently testing Bacula 7.0.5 before deploying it into a production environment. This is a fresh install of Ubuntu just to test setting up and running Bacula. The problem I have is that when I set up Baculum according to the instructions included with the file I get an error when pointing my browser at the web server: Not Found The requested URL /wizard/ was not found on this server. Apache/2.4.7 (Ubuntu) Server at 192.168.25.101 Port 80 I've googled this and read as much as I can find, but I have applied all the fixes and double and triple-checked my settings and the solutions that are offered don't apply to me b/c I've already applied the solutions. I set the document root to the directory that I have baculum in: /var/www/baculum. After unpacking it there I changed the ownership recursively the www-data:www-data on that directory. The other thing I've seen suggested to resolve this is to enable mod rewrite, but I've already enabled it. It's even in the instructions under the Debian specific part. Included is my apache config file. Any help that anyone can provide will be greatly appreciated. VirtualHost *:80 # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. #ServerName www.example.com ServerAdmin webmaster@localhost DocumentRoot /var/www/baculum ServerName Ubuntu14-04.boycenet.local Directory /var/www/baculum RewriteEngine On AllowOverride All AuthType Basic AuthName MyPrivateFile AuthUserFile /etc/apache2/passwords Require valid-user Order allow,deny Allow from all /Directory # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with a2disconf. #Include conf-available/serve-cgi-bin.conf /VirtualHost Thanks! Mike Boyce -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich. Jezus Chrystus -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows client backup error
Hi Ana, I have created single file set from drives C: to W: for all windows client. Drives which are failed not present. Please find log: | bacula-dir JobId 1569: No prior Full backup Job record found. | | bacula-dir JobId 1569: No prior or suitable Full backup found in catalog. Doing FULL backup. | | bacula-dir JobId 1569: Start Backup JobId 1569, Job=CTPTSTWIN04-W-BkpTape.2015-05-28_13.50.02_21 | | bacula-dir JobId 1569: Using Device Drive-4 to write. | | ctptstwin04-fd JobId 1569: Generate VSS snapshots. Driver=Win32 VSS, Drive(s)=CDEFGHIJKLMNOPQRSTUVW | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive e:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive f:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive g:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive h:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive i:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive j:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive k:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive l:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive m:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive n:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive o:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive p:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive q:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive r:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive s:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive t:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive u:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive v:\ failed. | | ctptstwin04-fd JobId 1569: Fatal error: Generate VSS snapshot of drive w:\ failed. | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): System Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): MSDEWriter, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): Registry Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): Event Log Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): COM+ REGDB Writer, State: 0x1 (VSS_WS_STABLE) | | ctptstwin04-fd JobId 1569: VSS Writer (BackupComplete): WMI Writer, State: 0x1 (VSS_WS_STABLE) | | bacula-sd JobId 1569: Elapsed time=00:00:14, Transfer rate=0 Bytes/second | | bacula-dir JobId 1569: Error: Bacula bacula-dir 7.0.5 (28Jul14): Build OS: x86_64-redhat-linux-gnu redhat Enterprise release JobId: 1569 Thank you, Ankush From: Ana Emília M. Arruda [mailto:emiliaarr...@gmail.com] Sent: 30 May 2015 21:28 To: More, Ankush Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Windows client backup error Hi Ankush, On Sat, May 30, 2015 at 9:32 AM, More, Ankush ankush.m...@capgemini.commailto:ankush.m...@capgemini.com wrote: Hi Ana, Yes, we have few windows client 32bit. Do you mean 32 bit clients will not support on Bacula server with 64 bit? No. I thought that you had bacula client 32-bit installed on windows 64-bit. Do you get results for status client from bconsole? From the job output, It seems that your storage daemon do not receive response from the client and the job is cancelled because of an error in the client daemon. Could you post logs information for the jobs that presents this problem that could help us with this? Best regards, Ana Thank you, Ankush From: Ana Emília M. Arruda [mailto:emiliaarr...@gmail.commailto:emiliaarr...@gmail.com] Sent: 29 May 2015 15:50 To: More, Ankush Cc: bacula-users@lists.sourceforge.netmailto:bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Windows client backup error Hello Ankush, You have the 32-bit version client installed: CTPTSTWIN04-W-fd 5.2.10 (28Jun12) Microsoft Windows Home ServerEnterprise Edition Service Pack 2 (build 3790),Cross-compile,Win32. Are your windows systems 32-bit? There is a 64-bit 5.2.10 windows client version
Re: [Bacula-users] concurrent jobs not working?
On 2015-05-30 11:21, Ana Emília M. Arruda wrote: Hi Dimitri, I have this working here. With automatic labeling. When you submit the jobs, which messeges do you see for the jobs in the status dir command from bconsole? Usually the messeges there tell us something about why the jobs did not start concurrently and what for is the second job waiting. Is there a way to log these? -- I don't sit there at the console when the jobs start after hours. Just for checking: have you enabled the storage concurrency both on bacula-sd.conf and bacula-dir.conf? Yes of course. How do I turn up debug on both sd and director? Dimitri -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Can Bacula backup incremental files
than you for your help. The licence cost für Bacula enterprise are to high. Does someone know another software it can and on a tape mechanism with more autoloader protects at the same time? +-- |This was sent by muel...@global-village.de via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] concurrent jobs not working?
On Mon, Jun 1, 2015 at 12:19 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote: On 2015-05-30 11:21, Ana Emília M. Arruda wrote: Hi Dimitri, I have this working here. With automatic labeling. When you submit the jobs, which messeges do you see for the jobs in the status dir command from bconsole? Usually the messeges there tell us something about why the jobs did not start concurrently and what for is the second job waiting. Is there a way to log these? -- I don't sit there at the console when the jobs start after hours. An admin job, runscript directive with a console = status dir, scheduled to start a few minutes after your backups should tell you this. Just for checking: have you enabled the storage concurrency both on bacula-sd.conf and bacula-dir.conf? Yes of course. How do I turn up debug on both sd and director? On 7.0.5 version there is a setdebug command from bconsole: *help setdebug Command Description === === setdebug Sets debug level Arguments: level=nn trace=0/1 client=client-name | dir | storage=storage-name | all When at a prompt, entering a period cancels the command. Dimitri -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Use multiple HDDs to backup files to
Hello, Maybe you could use the virtual autochanger resource: bacula-sd.conf: Autochanger { Name = VChanger Changer Device = /dev/null Changer Command = # versão 5.2.6. For 7.0.5 version, use /dev/null Device = vDrive-1, vDrive-2 } Device { Name = vDrive-1 Drive Index = 0 Device Type = File Media Type = File Archive Device = /bacula/backup ... } Device { Name = vDrive-2 Drive Index = 1 Device Type = File Media Type = File Archive Device = /sdb1/bacula/backup # is this your mount point? ... } In your bacula-dir.conf (or wherever you have your storage definiton for director): Storage { Name = MyVirtualAutochanger Address = X.X.X.X SDPort = 9103 Password = xx Device = VChanger Media Type = File Maximum Concurrent Jobs = XX Autochanger=yes } Best regards, Ana On Wed, May 20, 2015 at 1:32 PM, SPQR bacula-fo...@backupcentral.com wrote: I would like to set up bacula - well, my first steps have been successful. All my backups are written to /bacula/backup. But / has only 900GB. So I want bacula to write to /sdb1/bacula/backup, too. /sdb1 has another 950GB of space. The sum of available backup-space should be 1850GB HDD: Well, I got the following config of /etc/bacula/bacula-sd.conf: Storage { # definition of myself Name = backup-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 SDAddress = backup.example.com } Director { Name = backup-dir Password = doyoureallywanttoknow } Device { Name = FileStorage Media Type = File Archive Device = /bacula/backup LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Okay - now I would like to add another device. I guess I could just add a second entry like this: Device { Name = FileStorage Media Type = File Archive Device = /sdb1/bacula/backup LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } ? Do I have to change something else so that bacula is able to write more than 900GB - if the first 900GB are full it should switch to the second hdd. Thank you very much :-) +-- |This was sent by r...@ehrenwert.it via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Unable to position to end of data on device
I know that the post is old, but after some head banging I found the clue ... I had the same problem with two LTO4 tapes (I own an Overland Arcvault 24 with a server running ubuntu 14). The server crashed before bacula be able to end the tape writing for these two tapes. I found the clue reading how LTO drive detects / stores the end-of-data mark. Some tells that two consecutive end of files (EOF) is used to the this is the end of data, others claims that when the write is finished the eod is automatically written ... So ... - First list the volume in bacula (list volumes) and find how many files are recorder for your tape: in my case: 118 files on the tape in slot 6 - close bacula (bacula-dir stop, bacula-sd stop) - use mtx to load the tape (if you own a tape changer, else load it manually): mtx -f /dev/tape/by-id/yourchangerdevice - rewind tape if needed (mt -f /dev/tape/by-id/yourtapedevice-nst) - next fast forward to the n-1 file (in my case, I must skip 117 files to position the drive on the 118th file): mt -f /dev/tape/by-id/yourtapedevice-nst fsf 117 - write two eof on the tape: type twice: mt -f /dev/tape/by-id/yourtapedevice-nst eof - rewind tape, and unload it - restart bacula sd then dir - update volume from error to append - enjoy using your tape again !!! Note: bacula may complain that file number mismatch, and will automatically corrects : 22-mai 22:45 david-sd JobId 3992 : Attention : For Volume JC0006L4: The number of files mismatch! Volume=119 Catalog=118 Correcting Catalog +-- |This was sent by nos...@teranova.org via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] version error for database bacula. wanted 14 got 0
Good Day All, My backup server HD died on Monday, so i decided to set up a new bacula server with the lastest version 7.0.5. I've completed my configuration however when I import my bacula.sql dump file from my old bacula server which was running 5.x I've been getting this error version error for database bacula . wanted 14 got 0. I've done some checking online and i've seen similar wanted 14, got 12, wanted 12, got 0 but no wanted 14, got 0 and all i've tried so far has lead me nowhere. Anyone seen this before, some assistance would be appreciated. +-- |This was sent by mthompso...@jpccu.com.jm via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Use multiple HDDs to backup files to
I would like to set up bacula - well, my first steps have been successful. All my backups are written to /bacula/backup. But / has only 900GB. So I want bacula to write to /sdb1/bacula/backup, too. /sdb1 has another 950GB of space. The sum of available backup-space should be 1850GB HDD: Well, I got the following config of /etc/bacula/bacula-sd.conf: Storage { # definition of myself Name = backup-sd SDPort = 9103 # Director's port WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 SDAddress = backup.example.com } Director { Name = backup-dir Password = doyoureallywanttoknow } Device { Name = FileStorage Media Type = File Archive Device = /bacula/backup LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Okay - now I would like to add another device. I guess I could just add a second entry like this: Device { Name = FileStorage Media Type = File Archive Device = /sdb1/bacula/backup LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } ? Do I have to change something else so that bacula is able to write more than 900GB - if the first 900GB are full it should switch to the second hdd. Thank you very much :-) +-- |This was sent by r...@ehrenwert.it via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem with the installation of bacula-7.0.5 on debian 7.7.
ello everyone, I installed bacula 7.0.5 on debian - 7.7.0 but the problem is that when I run the bconsole , I get: Connecting to Director debian : 9101 and nothing thereafter. With the researches I 've done so far, when I do: ps aux | grep bacula , I get this: root 2269 0.0 0.1 20392 908 ? Ssl 10:04 0:00 /opt/bacula/bin/bacula -fd -c /opt/bacula/bin/bacula-fd.conf root 2281 0.0 0.2 28904 1232 ? Ssl 10:04 0:00 /opt/bacula/bin/bacula -sd -c /opt/bacula/bin/bacula-sd.conf root 5439 0.0 0.1 3572 836 pts/2 + S 12:03 0:00 grep bacula Obviously the daemon bacula-dir is not running even after typing ./bacula restart or /etc/init.d/bacula-dir restart . Also I do not find also bacula's log file even using the command find. How can I process to resolv this problem? Please can someone help me? All aid would be an great importance for me. Thank you i[/i] +-- |This was sent by fkengn...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] problem with the installation of bacula-7.0.5 on debian 7.7.
Hello, You can find more information on your /var/log/messages (about the daemons startup) and the log files generated by bacula are defined on the messages resources (bacula-dir.conf), append directive: Messages { Name = Standard ... append = /pathtobaculaworkingdir/working/log = all, !skipped } Best regards, Ana On Wed, May 27, 2015 at 8:58 AM, florek bacula-fo...@backupcentral.com wrote: ello everyone, I installed bacula 7.0.5 on debian - 7.7.0 but the problem is that when I run the bconsole , I get: Connecting to Director debian : 9101 and nothing thereafter. With the researches I 've done so far, when I do: ps aux | grep bacula , I get this: root 2269 0.0 0.1 20392 908 ? Ssl 10:04 0:00 /opt/bacula/bin/bacula -fd -c /opt/bacula/bin/bacula-fd.conf root 2281 0.0 0.2 28904 1232 ? Ssl 10:04 0:00 /opt/bacula/bin/bacula -sd -c /opt/bacula/bin/bacula-sd.conf root 5439 0.0 0.1 3572 836 pts/2 + S 12:03 0:00 grep bacula Obviously the daemon bacula-dir is not running even after typing ./bacula restart or /etc/init.d/bacula-dir restart . Also I do not find also bacula's log file even using the command find. How can I process to resolv this problem? Please can someone help me? All aid would be an great importance for me. Thank you i[/i] +-- |This was sent by fkengn...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] version error for database bacula. wanted 14 got 0
Hello, This is because the Bacula´s database version used in some 5.X versions is 12. Since some 5.X versions to 7.0.5, the database version is 14. You just need to run update_mysql_tables script in your Bacula´s bin directory. Please, stop bacula daemons first. Best regards, Ana On Thu, May 21, 2015 at 10:54 AM, mthompson01 bacula-fo...@backupcentral.com wrote: Good Day All, My backup server HD died on Monday, so i decided to set up a new bacula server with the lastest version 7.0.5. I've completed my configuration however when I import my bacula.sql dump file from my old bacula server which was running 5.x I've been getting this error version error for database bacula . wanted 14 got 0. I've done some checking online and i've seen similar wanted 14, got 12, wanted 12, got 0 but no wanted 14, got 0 and all i've tried so far has lead me nowhere. Anyone seen this before, some assistance would be appreciated. +-- |This was sent by mthompso...@jpccu.com.jm via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Baculum not working on Ubuntu 14.04 LTS running Bacula 7.0.5
Marcin, Thank you for looking at the issue I was having and offering to help. I was missing the .htaccess in /var/www/baculum. It was actually in the directory where I originally unpacked it, but I guess when I copied it over it didn't copy. I appreciate your telling me about the binary package available on Launchpad.net. I may look at doing it that way at a later time. I like to do stuff the hard way first, I guess. I like to understand how it all works. Alex, thank you as well for answering my post. Didn't run the command since the only issue I had was missing the .htaccess file. That was the first thing I checked and that corrected it. Also, to answer your other question I just made a copy of the default 000-default.conf file in sites-available and modified it appropriately since I have no other pages being served on this server I have no other vhosts at this time and thus no other vhosts files or entries. Thanks again to both of you! Mike On Mon, Jun 1, 2015 at 12:17 AM, Marcin Haba ganius...@gmail.com wrote: Hello, Your web server configuration looks well. Could you tell me if you placed hidden file .htaccess from tar.gz archive to location: /var/www/baculum/ The hidden file consists mod_rewrite rules and I guess that during copying from tar.gz archive the hidden file has not been copied. If you are interested in Baculum binary package for your Ubuntu 14.04, here is unofficial PPA project on Launchpad.net: https://launchpad.net/~ganiuszka/+archive/ubuntu/baculum The binary packages contain almost latest Baculum snapshot from Bacula Git archive. From 7.0.5 version to current Git version there are a lot of new functionalities in Baculum. Best regards. Marcin Haba (gani) 2015-06-01 0:38 GMT+02:00 Mike Boyce niwtechnol...@gmail.com: I'm currently testing Bacula 7.0.5 before deploying it into a production environment. This is a fresh install of Ubuntu just to test setting up and running Bacula. The problem I have is that when I set up Baculum according to the instructions included with the file I get an error when pointing my browser at the web server: Not Found The requested URL /wizard/ was not found on this server. Apache/2.4.7 (Ubuntu) Server at 192.168.25.101 Port 80 I've googled this and read as much as I can find, but I have applied all the fixes and double and triple-checked my settings and the solutions that are offered don't apply to me b/c I've already applied the solutions. I set the document root to the directory that I have baculum in: /var/www/baculum. After unpacking it there I changed the ownership recursively the www-data:www-data on that directory. The other thing I've seen suggested to resolve this is to enable mod rewrite, but I've already enabled it. It's even in the instructions under the Debian specific part. Included is my apache config file. Any help that anyone can provide will be greatly appreciated. VirtualHost *:80 # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. #ServerName www.example.com ServerAdmin webmaster@localhost DocumentRoot /var/www/baculum ServerName Ubuntu14-04.boycenet.local Directory /var/www/baculum RewriteEngine On AllowOverride All AuthType Basic AuthName MyPrivateFile AuthUserFile /etc/apache2/passwords Require valid-user Order allow,deny Allow from all /Directory # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, e.g. #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined # For most configuration files from conf-available/, which are # enabled or disabled at a global level, it is possible to # include a line for only one particular virtual host. For example the # following line enables the CGI configuration for this host only # after it has been globally disabled with a2disconf. #Include conf-available/serve-cgi-bin.conf /VirtualHost Thanks! Mike Boyce -- ___ Bacula-users mailing list