Re: [Bacula-users] Starting from scratch

2010-07-12 Thread Laurent Chouinard

Alex,

Your bacula configuration might be using files for storage, instead of 
the database.


I'm not sure, but take a look in /var/lib/bacula

Laurent


On 2010-07-12 07:56, Alex Huth wrote:

Hello!

I would like to start from scratch for debugging. That are the steps
i have done:

1. Stop all services
2. Drop the tables
3. Drop the database
4. Delete the files in working and the volumes in storage
5. create database
6. make table
7. grant privileges
8. restart services

When  i connect with the bconsole and call the status, i can see all
jobs i have done so far. What is missing to start from scratch?

Greetings

Alex

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
   
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore windows path - traversal problem

2010-07-09 Thread Laurent Chouinard

On 2010-07-09 09:00, duxbuz wrote:

bump
   


Hi Duxbuz,

Mailing lists don't work like web forums. Posting bump doesn't bring 
the entire discussion thread back to the front for everyone to see. All 
of us here, members of this list, only received your post from today, 
saying bump. Those of us who didn't see your message previously have 
no idea what you're talking about.


I don't know how long ago you asked, so I can't tell if it'd be 
appropriate to repost or not, but if you did any more 
investigation/research/tests on the matter, perhaps you could add that 
to your original problem in hopes it triggers someone's attention and/or 
memory.


Laurent Chouinard
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Two tape drives

2010-07-09 Thread Laurent Chouinard




Prashant,

It almost sounds like a misspelling. I see that in your schedule, you
wrote LTO with a zero, like LT zero-two. But LTO drives have that name
for the acronym "Linear Tape Open", so if your storage config spells it
with the letterO, then that's a problem. Try copy-pasting the name to
be sure it's found.

Regards,
Laurent Chouinard


On 2010-07-09 09:02, Prashant Ramhit wrote:

  
Hi Laurent,
  
This is what it says when I restart bacula, after adding Storage=
LT02-Drive
  
  r...@backupserver:/etc/bacula# /etc/init.d/bacula-director
restart
* Stopping Bacula
Director...
[
OK ] 
* Starting Bacula
Director...
09-Jul
13:56 bacula-dir: ERROR TERMINATION at run_conf.c:380
Config error: Job type field: Storage in run record not found
 : line 10, col 45 of file /etc/bacula/schedules.conf
 Run = Differential mon-thu at 23:45 Storage = LT02-Drive
  
Config:
  
  Schedule {
 Name = "WeeklyOffsite"
 Run = Full sun at 3:00
 Run = Differential mon-thu at 23:45 Storage = LT02-Drive
}
  
>From that, I assume that the parameters for specifying another storage
should be elsewhere,
  
Regards,
Prashant
  
  
On 09/07/10 13:40, Laurent Chouinard wrote:
  

On
2010-07-09 06:31, Prashant Ramhit wrote:

  
Hi All,
I have an LTO4 and LTO2 tapes drive on bacula.
  
How can I specify a Job/specify to use the LTO4 for full backup on week
ends and then differential for LTO2 mon-fri.
  
As the following does not work

Schedule {
 Name = "WeeklyOffsite"
 Run = Full sun at 3:00 Storage = LT04-drive
 Run = Differential mon-thu at 23:45 Storage = LT02-drive
}
  
If you have the same setup could you please point me to the correct
documentation for this please.
  
Kind Regards,
Prashant Ramhit
  



Prashant,

What does the log say when it runs those jbos? 
Which is the two fail? The full on LTO4, or the Diff on LTO2?
Also, if you run the job manually with "run" command, and then set the
type to "Full" and storage to "LTO4", (and then the same for
Diff/LTO2), can these jobs work fine?

Regards,
Laurent Chouinard
  
  
  
  -- 
  
  Blue Barracuda
  

  
  Prashant Ramhit
 
  
  
  is the Systems Administrator
at  
  
  


  
  
  
  
  


  
  
  Blue Barracuda UK
t: +44 (0)20 7400 0950
Sweeps Building,
34 Leather Lane,
London,
EC1N 7SQ
 
  
  
 www.bluebarracuda.com 
  

  
  



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fwd: restore windows path - traversal problem

2010-07-09 Thread Laurent Chouinard
Where are you trying to go in the tree that is causing you problems? I 
just tested this on a windows backup: (edited for clarity)


cwd is: /

$ ls

c:/
j:/

$ cd c:

cwd is: c:/

$ cd Program Files

cwd is: c:/Program Files/

$ cd Bacula

cwd is: c:/Program Files/Bacula/

$ ls
LICENSE
Readme.txt
Uninstall.exe
bacula-fd.conf
bacula-fd.exe
[...]
working/
zlib1.dll
$

So what is your problem exactly?  If it's the CD command that returns an 
error, try using quotes like I did above. Also follow capitalization.


Otherwise paste the command you try, and the error you get.

Regards,
Laurent Chouinard



On 2010-07-09 09:27, John Drescher wrote:

Forwarding message for those who did not see the original on the mailing list..


-- Forwarded message --
From: duxbuzbacula-fo...@backupcentral.com
Date: Wed, Jul 7, 2010 at 10:04 AM
Subject: [Bacula-users]  restore windows path - traversal problem
To: bacula-users@lists.sourceforge.net



Hello

I am trying to restore a particular file from a backed up windows system.

When i run restore and i get dropped to $ prompt i can pwd c:\Program
Files\Bacula/

but i cannot traverse the directories with the 'cd' command.

I did read:

cd
The cd command changes the current directory to the argument
specified. It operates much like the Unix cd command. Wildcard
specifications are not permitted.
Note, on Windows systems, the various drives#40;c#58;, d#58;,
...#41; are treated like a directory within the file tree while in
the file selection mode. As a consequence, you must do a cd c#58; or
possibly in some cases a cd C#58;#40;note upper case#41; to get
down to the first directory.


This does not work though.

Anyone help?

Thanks.

+--
|This was sent by dux...@hotmail.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



   
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Two tape drives

2010-07-09 Thread Laurent Chouinard

Prashant,

Could you please paste the entire config you're using? It would appear 
that the Storage parameter can not be located in the job or job 
defaults or schedule, leaving bacula with no possible destination for 
one Run.


Regards,
Laurent Chouinard



On 2010-07-09 10:13, Prashant Ramhit wrote:

Hi Laurent,
Sorry, I've corrected the spelling mistakes, but there is still an 
issue, as error says *Config error: Job type field: Storage in run 
record not found*.

I think is it more of an invalid parameter in the schedule section.

I'll keep trying.

Regards,
Prashant


On 09/07/10 14:14, Laurent Chouinard wrote:

Prashant,

It almost sounds like a misspelling. I see that in your schedule, you 
wrote LTO with a zero, like LT zero-two. But LTO drives have that 
name for the acronym Linear Tape Open, so if your storage config 
spells it with the letterO, then that's a problem. Try copy-pasting 
the name to be sure it's found.


Regards,
Laurent Chouinard


On 2010-07-09 09:02, Prashant Ramhit wrote:

Hi Laurent,

This is what it says when I restart bacula, after adding Storage= 
LT02-Drive


r...@backupserver:/etc/bacula# /etc/init.d/bacula-director restart
 * Stopping Bacula 
Director...
[ OK ]
 * Starting Bacula 
Director...   
09-Jul 13:56 bacula-dir: ERROR TERMINATION at run_conf.c:380

Config error: Job type field: Storage in run record not found
: line 10, col 45 of file /etc/bacula/schedules.conf
  Run = Differential mon-thu at 23:45 Storage = LT02-Drive

Config:

Schedule {
  Name = WeeklyOffsite
  Run = Full sun at 3:00
  Run = Differential mon-thu at 23:45 Storage = LT02-Drive
}

From that, I assume that the parameters for specifying another 
storage should be elsewhere,


Regards,
Prashant


On 09/07/10 13:40, Laurent Chouinard wrote:

On 2010-07-09 06:31, Prashant Ramhit wrote:

Hi All,
I have an LTO4 and LTO2 tapes drive on bacula.

How can I specify a Job/specify to use the LTO4 for full backup on 
week ends  and then differential for LTO2 mon-fri.


As the following does not work

 Schedule {
  Name = WeeklyOffsite
  Run = Full sun at 3:00 Storage = LT04-drive
  Run = Differential mon-thu at 23:45 Storage = LT02-drive
}

If you have the same setup could you please point me to the 
correct documentation for this please.


Kind Regards,
Prashant Ramhit




Prashant,

What does the log say when it runs those jbos?
Which is the two fail? The full on LTO4, or the Diff on LTO2?
Also, if you run the job manually with run command, and then set 
the type to Full and storage to LTO4, (and then the same for 
Diff/LTO2), can these jobs work fine?


Regards,
Laurent Chouinard











--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first --http://p.sf.net/sfu/sprint-com-first


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
   









--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Retension (forward to end of tape, then rewind)

2010-07-08 Thread Laurent Chouinard
Hi,

I have been searching for this for a while, but all I could find relates 
to retention, as in, the period of time to keep records of 
files/volumes/medias in a system.

What I'm trying to achieve it retension, or the act of seeking a tape to 
the end, then rewinding it.

My question is two-fold:
a) I want to do a retension of all my tapes. mt -f /dev/st0 retension 
produces no output and immediately quits. It appears to do nothing.

b) I would like to have my Bacula system automatically start a job by 
first retensioning the tape, and then doing the backup. Or it could be 
at the end. Or I can schedule a monthly retension job, whatever. I just 
want to have some way of automating the process of retensioning my tapes.

My drive is a Seagate DAT72 internal, SCSI. I believe these are the same 
as DDS5 cartridges?

The host is Linux Debian Etch, on which runs both the director and the 
storage daemon.

Thanks


Laurent


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users