[Bacula-users] Bacula - Remotebackup - Internetconnection

2010-10-13 Thread Griev
Hey everybody,

first: sorry, my english is sad.

But I have a problem:

The Director is up to us - the client is at the customer (2 separate networks).
If the backup is running and the Internet connection is cut in between (24 or 
simply disconnect the connection breaks off only) does not recognize the Bacula.

The job is not canceled, but it runs until it times out at some point.

Is there a possibility, a timer or otherwise, that Bacula will continue to run 
correctly?

Information:
Director:
Linux Debian Lenny (5)
Bacula 2.2.4


Client:
Windows Server 2003 R2
Bacula 2.2.4


Bacula is set up correctly, because the connection works and can copy small 
files smoothly.





> german version
> 
> wir benutzen Bacula v.2.2.4.
> 
> Der Director liegt bei uns - der client liegt beim Kunden.(also 2 getrennte 
> Netze)
> 
> Unser Problem:
> Wenn die Sicherung läuft und die Internetverbindung zwischendurch gekappt 
> wird (24h disconnect oder einfach nur die Verbindung abbricht) erkennt das 
> Bacula nicht.
> 
> Der Job wird nicht abgebrochen, sondern er läuft bis es irgendwann zum 
> Timeout kommt.
> 
> Gibt es eine möglichkeit, über einen Timer oder sonst wie, dass Bacula 
> korrekt weiterlläuft?
> 
> Infos:
> Director:
> Linux Debian Lenny (5)
> Bacula 2.2.4
> 
> 
> Client:
> Windows Server 2003 R2
> Bacula 2.2.4
> 
> 
> Bacula ist korrekt eingerichtet, weil die Connection klappt und sich kleine 
> Dateien reibungslos kopieren lassen.
> 
> 
> Hat jemand eine Idee? 
> 


+--
|This was sent by christopher.il...@gg-net.de via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-13 Thread Jari Fredriksson
On 13.10.2010 18:21, Hugo Letemplier wrote:
> Hi,
> I have an important question that will help me validating some specs
> about bacula 5.0.2
> Imagine the following scenario:
> 1 - a full
> 2 - an incremental
> 3 - an incremental
> 4 - another incremental
> 
> if I delete the incremental of step 3, does it move the files that
> have been added during step "3" onto the incremental of step "4"
> 
> I have tried this scenario but my result is not clear. Can you tell me
> your experience ?
> 
> In other words: can I delete one Incremental without deleting more
> recents incrementals or if I delete the full does it upgrade the first
> incremental into full ?
> 

I *think* Bacula uses timestamps when doing incrementals. if you delete
one incremental, you lose the files modified/created for that day.

But if you delete the full, Bacula "upgrades" the next incremental to
Full, as it finds no suitable Full to do the incremental for.


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-13 Thread Phil Stracchino
On 10/13/10 11:21, Hugo Letemplier wrote:
> Hi,
> I have an important question that will help me validating some specs
> about bacula 5.0.2
> Imagine the following scenario:
> 1 - a full
> 2 - an incremental
> 3 - an incremental
> 4 - another incremental
> 
> if I delete the incremental of step 3, does it move the files that
> have been added during step "3" onto the incremental of step "4"
> 
> I have tried this scenario but my result is not clear. Can you tell me
> your experience ?
> 
> In other words: can I delete one Incremental without deleting more
> recents incrementals or if I delete the full does it upgrade the first
> incremental into full ?


Aaah.  The "other words" make more sense.  :)

You can delete any incremental job without affecting any other
incremental.  Doing so will lose the record of changes backed up in that
incremental, though, as an incremental records only changes since the
most recent backup of *any* level.  So in your scenario above, if you
delete incremental #3, then your next incremental #5 will back up only
files changed since incremental #4; it will *not* re-backup the changes
previously backed up as incremental #3.

(For this reason among others, it is generally recommended to make
periodic differential backups, which record all changes since the last
Full backup, to reduce the number of incrementals needed for a restore.
 As an example, I perform Full backups once a month, Differential once a
week, and Incremental every other night.)

If you delete a Full backup, it will not upgrade any *existing* backup.
 However, if you delete *the most recent* Full backup, which has current
Incrementals or Differentials based upon it, then the *next* Incremental
or Differential that you run will be upgraded to Full.


-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] What happen if I delete a single incremental between the full and another incremental

2010-10-13 Thread Hugo Letemplier
Hi,
I have an important question that will help me validating some specs
about bacula 5.0.2
Imagine the following scenario:
1 - a full
2 - an incremental
3 - an incremental
4 - another incremental

if I delete the incremental of step 3, does it move the files that
have been added during step "3" onto the incremental of step "4"

I have tried this scenario but my result is not clear. Can you tell me
your experience ?

In other words: can I delete one Incremental without deleting more
recents incrementals or if I delete the full does it upgrade the first
incremental into full ?

Thanks

Hugo L.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Modifying tape location

2010-10-13 Thread Norberto Meijome
On Fri, 03 Sep 2010 10:56:29 +1200
Richard Scobie  wrote:

> I have a tape I am trying to restore from on a local LTO drive.
> 
> It was created at a remote location, in a library which is no longer 
> attached to the SD there and the "update slots" command was not done 
> after this tape was removed, so the Director still sees 

Richard,
you can always do an 
update volume=blah inchanger=no slot=0 

This will set the needed volume options to what the overlooked update slots 
would have.

I also noticed a few times this 'stuck' situation... 

b

_
{Beto|Norberto|Numard} Meijome

"Why do you sit there looking like an envelope without any address on it?"
  Mark Twain

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem connecting to fd on client server

2010-10-13 Thread Damian Ge ; bicki
Albin Vega wrote:
> Hello!
> 
> I am trying to set up a backup-job on a win 2008 server over internet. I 
> have done this successfully on two other servers, but I am having 
> trouble with this one.  Here’s the bacula-dir.config file on the 
> clientserver (that is to be backed up). The fd service is running on 
> both backup-client/server.
> 
client/server firewall or dns problem

You didn't show Client information from server - bacula-fd.conf and 
DNS/hosts.
Did you try "telnet client_IP 9102" from server?


-- 
=
Damian

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem connecting to fd on client server

2010-10-13 Thread Albin Vega
Hello!

I am trying to set up a backup-job on a win 2008 server over internet. I
have done this successfully on two other servers, but I am having trouble
with this one.  Here’s the bacula-dir.config file on the clientserver (that
is to be backed up). The fd service is running on both backup-client/server.



#  For Bacula release 5.0.3 (08/05/10) -- Windows MinGW32
FileDaemon {# this is me
  Name = clientserver-fd
  FDport = 9102# where we listen for the director
  WorkingDirectory = "C:\\Program Files\\Bacula\\working"
  Pid Directory = "C:\\Program Files\\Bacula\\working"
# Plugin Directory = "C:\\Program Files\\Bacula\\plugins"

  Maximum Concurrent Jobs = 10
}
#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = backupserver.domain.no-fd
  Password = "backupserver-fd-password”
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#

Director {
  Name = client-mon
  Password = " backupserver-fd-password”
  Monitor = yes
}

# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = backupserver.domain.no-fd = all, !skipped, !restored
}
I have checked the FD name (of the backupserver) and password in the
clientserver bacula-dir.config file many times, and it seems to be
correct. I have restarted the service many times on both the backupserver
and the clientserver. I have also reinstalled bacula on the clientserver.
 I thought that it could be a problem with the forwarding in the firewall
but when I ran an estimate command on the client-job I got the following
message:



Failed to connect to Client.

You have messages.

*messages
13-Oct 13:08 backupserver.domain.no-dir JobId 0: Fatal error: Unable to
authenticate with File daemon at " client-ip-adress:9102". Possible causes:

Passwords or names not the same or
Maximum Concurrent Jobs exceeded on the FD or
FD networking messed up (restart daemon).
Please see
http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376for
help.

*

It looks as if the backupserver gets contact with the File Demon on the
client server but there is something going wrong with authentication. Also,
I can connect to the backupserver using bat and bconsole from the client
server. The only thing that doesn’t seem to work is to connect from the
backupserver to the clientservers file demon.

Any ideas on what could be wrong?

Best regards
Albin
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to recover wrong overwritten tape?

2010-10-13 Thread terryc

>> How can I scan the whole tape and recover old, non overwritten, jobs?
>>
>> Thanks for any suggestions,
> 
> Sorry Simone, but once you've partially overwritten the tape, you're
> pretty much out of luck with any out-of-the-box tools.  You'd have to
> write a specific program to scan the entire tape beyond the EOT mark to
> try to recover any data from it.

If bacula works the same as other back up programs I've dealt with in 
the past, they write a jb to tape, put EOT or ?, the write the next job 
and repeat.

So mount your tape no rewind, extract the first job,  step past the EOT, 
extract next job and repeat until physical EOT.

It has been a while since I've performed this, so I don't remember the 
exact *nix commands I used.

You will not recover the overwritten job.


> 
> 
> 


-- 
Terry Collins {:-)}
Bicycles, Appropriate Technology, Natural Environment, Welding

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Tuning for large (millions of files) backups?

2010-10-13 Thread Alan Brown
Alan Brown wrote:

> You are going to hit a big pain point with myisam with that many files 
> anyway (it breaks around 4 billion entries without tuning), but even 
> inno will grow large/slow and need a lot of my.cnf tuning

That should be 4Gb - about 50 million entries.




--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] How to recover wrong overwritten tape?

2010-10-13 Thread Phil Stracchino
On 10/13/10 06:15, Simone Martina wrote:
> Hi at all,
> this (sad) morning I've tried to append a job to a used volume (a tape):
> despite I've tried to update status, job retention and so on, Bacula
> marks that tape like purgeable and begin to write the new data on the
> beginning of the tape.
> When I see that situation, I've cancelled the jobs, but the damage was
> just done. Anyway, I've written only 45MB over 170GB of data.
> I've tried to use bscan and bls to read the tape, but only the last
> overwriting job is listed.
> 
> How can I scan the whole tape and recover old, non overwritten, jobs?
> 
> Thanks for any suggestions,

Sorry Simone, but once you've partially overwritten the tape, you're
pretty much out of luck with any out-of-the-box tools.  You'd have to
write a specific program to scan the entire tape beyond the EOT mark to
try to recover any data from it.



-- 
  Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355
  ala...@caerllewys.net   ala...@metrocast.net   p...@co.ordinate.org
 Renaissance Man, Unix ronin, Perl hacker, Free Stater
 It's not the years, it's the mileage.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] How to recover wrong overwritten tape?

2010-10-13 Thread Simone Martina
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi at all,
this (sad) morning I've tried to append a job to a used volume (a tape):
despite I've tried to update status, job retention and so on, Bacula
marks that tape like purgeable and begin to write the new data on the
beginning of the tape.
When I see that situation, I've cancelled the jobs, but the damage was
just done. Anyway, I've written only 45MB over 170GB of data.
I've tried to use bscan and bls to read the tape, but only the last
overwriting job is listed.

How can I scan the whole tape and recover old, non overwritten, jobs?

Thanks for any suggestions,

Simone
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMtYa1AAoJEC9yUzzw9wFDtwcIAJu4I38e8DvGSm8zzTP8bWBm
8a2stc5uS7+6qI3Z6bbA139JjcCRr9klU+cb1WuIIvfHtnqeeyDs11M3c26s9vEh
2AAqMD50aLxbgoO7JAzu7FnW4+DrnxOQ2SUvMk1VKcTGxDVcVEifJyuEmdwK45No
9zeBzP73x4D6pCW+UfRYsL+9CbJRBK4VMBiqbRJZ9/LQsGJoCnLuxIVKY5jZ1wxF
HyPIikDI4y+/9IvkY1Bdxje6Vojz1ddWfThKwwsLymTvIcRu7LW8Tajo3UaHjeoH
rmPg1ZN1MvfMVIvDjUpwukAO4Nn9hEhAGpP6Hpi6z8SJfzAvfLrSfBQQMOQL+QY=
=rQUN
-END PGP SIGNATURE-

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users