Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Michael Da Cova
On Tue, 2010-05-11 at 09:51 +1000, James Harper wrote:
 With full VSS support, VSS defines the files that make up the system  
 state backup - 

So are we saying with VSS support in bacula switched on you can backup
windows 2008 including the system state, and more importantly can you
restore the system state during a full restore.

anyone done this can confirm it works  

 it's a flag on the writer. Bacula handles junction  
 points perfectly.
 
 Sent from my iPhone
 
 On 11/05/2010, at 4:13, Kevin Keane subscript...@kkeane.com wrote:
 
  There is no such thing as system state backup any more in Windows  
  2008. It's always the whole C: drive. I'm not sure how well bacula  
  handles it in the end. There also is the issue that Windows 2008  
  relies heavily on junction points, which bacula doesn't handle well.
 
  I'm using Windows backup to an iSCSI drive, and then use bacula to  
  back up a snapshot of that iSCSI volume.
 
  -Original Message-
  From: Michael Da Cova [mailto:mdac...@equiinet.com]
  Sent: Monday, May 10, 2010 9:47 AM
  To: bacula-users@lists.sourceforge.net
  Subject: [Bacula-users] Windows 2008/2008r2 Server backup
 
  Hi
 
  anyone have any tips recommendation on how to backup and restore
  windows
  2008 system state, do you need to if using VSS
 
  Michael
 
 
 
  --- 
  --- 
  --- 
  -
 
  ___
  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 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 2008/2008r2 Server backup

2010-05-11 Thread Koldo Santisteban
I am doing a Windows 2008 backup with vss support enabled. The system state
is backed up using wbadmin utility and then saved to bacula.
Regarding the junction points, i have hundred of warnings each time i make a
backup with bacula, i don´t know how to avoid this and ,like Michael, i am
very interesting in how to solve it...

On Tue, May 11, 2010 at 8:11 AM, Michael Da Cova mdac...@equiinet.comwrote:

 On Tue, 2010-05-11 at 09:51 +1000, James Harper wrote:
  With full VSS support, VSS defines the files that make up the system
  state backup -

 So are we saying with VSS support in bacula switched on you can backup
 windows 2008 including the system state, and more importantly can you
 restore the system state during a full restore.

 anyone done this can confirm it works

  it's a flag on the writer. Bacula handles junction
  points perfectly.
 
  Sent from my iPhone
 
  On 11/05/2010, at 4:13, Kevin Keane subscript...@kkeane.com wrote:
 
   There is no such thing as system state backup any more in Windows
   2008. It's always the whole C: drive. I'm not sure how well bacula
   handles it in the end. There also is the issue that Windows 2008
   relies heavily on junction points, which bacula doesn't handle well.
  
   I'm using Windows backup to an iSCSI drive, and then use bacula to
   back up a snapshot of that iSCSI volume.
  
   -Original Message-
   From: Michael Da Cova [mailto:mdac...@equiinet.com]
   Sent: Monday, May 10, 2010 9:47 AM
   To: bacula-users@lists.sourceforge.net
   Subject: [Bacula-users] Windows 2008/2008r2 Server backup
  
   Hi
  
   anyone have any tips recommendation on how to backup and restore
   windows
   2008 system state, do you need to if using VSS
  
   Michael
  
  
  
   ---
   ---
   ---
   -
  
   ___
   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 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 mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Graham Keeling
On Tue, May 11, 2010 at 09:51:52AM +1000, James Harper wrote:
 With full VSS support, VSS defines the files that make up the system  
 state backup - it's a flag on the writer. Bacula handles junction  
 points perfectly.

So, to get a backup with Windows 2008 that includes the system state, you need
to set a flag on the writer.
Do you know how to set that flag?

 Sent from my iPhone
 
 On 11/05/2010, at 4:13, Kevin Keane subscript...@kkeane.com wrote:
 
  There is no such thing as system state backup any more in Windows  
  2008. It's always the whole C: drive. I'm not sure how well bacula  
  handles it in the end. There also is the issue that Windows 2008  
  relies heavily on junction points, which bacula doesn't handle well.
 
  I'm using Windows backup to an iSCSI drive, and then use bacula to  
  back up a snapshot of that iSCSI volume.
 
  -Original Message-
  From: Michael Da Cova [mailto:mdac...@equiinet.com]
  Sent: Monday, May 10, 2010 9:47 AM
  To: bacula-users@lists.sourceforge.net
  Subject: [Bacula-users] Windows 2008/2008r2 Server backup
 
  Hi
 
  anyone have any tips recommendation on how to backup and restore
  windows
  2008 system state, do you need to if using VSS
 
  Michael
 
 
 
  --- 
  --- 
  --- 
  -
 
  ___
  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 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 2008/2008r2 Server backup

2010-05-11 Thread Henrik Johansen
On 05/11/10 10:04 AM, Graham Keeling wrote:
 On Tue, May 11, 2010 at 09:51:52AM +1000, James Harper wrote:
 With full VSS support, VSS defines the files that make up the system
 state backup - it's a flag on the writer. Bacula handles junction
 points perfectly.

 So, to get a backup with Windows 2008 that includes the system state, you need
 to set a flag on the writer.
 Do you know how to set that flag?

wbadmin can do system state backups - you do not need to set any VSS 
flags for that :

wbadmin start systemstatebackup -backuptarget:C: -quiet

If you are storing your system state backup on C you'll need to apply 
the reg fix as pointed out in http://support.microsoft.com/kb/944530 first.

Simply put, Windows programs can register as 'VSS writers' and then get 
informed whenever a VSS snapshot is requested and act on that.


 Sent from my iPhone

 On 11/05/2010, at 4:13, Kevin Keanesubscript...@kkeane.com  wrote:

 There is no such thing as system state backup any more in Windows
 2008. It's always the whole C: drive. I'm not sure how well bacula
 handles it in the end. There also is the issue that Windows 2008
 relies heavily on junction points, which bacula doesn't handle well.

 I'm using Windows backup to an iSCSI drive, and then use bacula to
 back up a snapshot of that iSCSI volume.

 -Original Message-
 From: Michael Da Cova [mailto:mdac...@equiinet.com]
 Sent: Monday, May 10, 2010 9:47 AM
 To: bacula-users@lists.sourceforge.net
 Subject: [Bacula-users] Windows 2008/2008r2 Server backup

 Hi

 anyone have any tips recommendation on how to backup and restore
 windows
 2008 system state, do you need to if using VSS

 Michael


-- 
Med venlig hilsen / Best Regards

Henrik Johansen
hen...@scannet.dk
Tlf. 75 53 35 00

ScanNet Group
A/S ScanNet

--

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


Re: [Bacula-users] copy jobs and scratch pools

2010-05-11 Thread Norberto Meijome
2010/5/6 c.kesch...@internet-mit-iq.de

 Hi,
 I'm having a problem copying jobs. I labeled a new volume in the pool
 DailyScratch with the label command. Then I ran a job using the pool
 ThursdayOD. As expected, bacula took the volume from the Scratch Pool and
 moved it to the other pool. Backup ran without errors, list volumes shows
 that the volume is in the ThursdayOD pool.

 But now when I start the copyjob I just get an error:
 06-Mai 13:05 bacula-dir JobId 0: Fatal error: No Next Pool specification
 found in Pool DailyScratch.



Chris,
which copy job did you run? none is defined below



 It wouldn't make much sense to define the Next Pool in the Scratch Pool as
 that will be used by several pools. I would have expected bacula to use the
 Next Pool directive from the ThursdayOD configuration as that is where the
 volume is in. Is this a bug or am I missing something?

 Relevant configuration:

 JobDefs {
 Name = CopyDefault
 Type = Copy
 Messages = Standard
 Storage = usbchanger2
 Client = None
 FileSet = None
 Selection Type = PoolUncopiedJobs
 Maximum Concurrent Jobs = 10
 SpoolData = No
 Allow Duplicate Jobs = Yes
 Cancel Queued Duplicates = No
 Cancel Running Duplicates = No
 Priority = 11
 }

 Pool {
   Name = DailyScratch
   Pool Type = Backup
 }

 Pool {
 Name = Thursday
 Pool Type = Backup
 Storage = usbchanger1
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 5 days
 Maximum Volume Bytes = 4608M
 }

 Pool {
 Name = ThursdayOD
 Pool Type = Backup
 Storage = File
 Recycle = yes
 AutoPrune = yes
 Volume Retention = 12 hours
 Maximum Volume Bytes = 4608M
 ScratchPool = DailyScratch
 Recycle Pool = DailyScratch
 NextPool = Thursday
 }

 Chris




_
{Beto|Norberto|Numard} Meijome

I detest people who take short­cuts rather than do things right, because
they leave shit for the rest of us to clean up.
   PHK
--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Foo
On Tue, 11 May 2010 01:51:52 +0200, James Harper
james.har...@bendigoit.com.au wrote:

 With full VSS support, VSS defines the files that make up the system
 state backup - it's a flag on the writer. Bacula handles junction
 points perfectly.

Does this also go for W2K3 now, i.e. is this a feature of Bacula 5.x, or
of W2K8?

At least I haven't succeeded in backing up junction points properly under
W2K3 yet (e.g. .net dirs), they are backed up as physical files and on a
restore replace junction points (and therefore probably break stuff on an
update). My understanding so far was that it's best to manually reinstall
.net (and any other similar stuff) for this reason.

--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Michael Da Cova


|-Original Message-
|From: Henrik Johansen [mailto:hen...@scannet.dk]
|Sent: 11 May 2010 9:11 AM
|To: bacula-users@lists.sourceforge.net
|Subject: Re: [Bacula-users] Windows 2008/2008r2 Server backup
|
|On 05/11/10 10:04 AM, Graham Keeling wrote:
| On Tue, May 11, 2010 at 09:51:52AM +1000, James Harper wrote:
| With full VSS support, VSS defines the files that make up the system
| state backup - it's a flag on the writer. Bacula handles junction
| points perfectly.
|
| So, to get a backup with Windows 2008 that includes the system state, you
|need
| to set a flag on the writer.
| Do you know how to set that flag?
|
|wbadmin can do system state backups - you do not need to set any VSS
|flags for that :
|
|wbadmin start systemstatebackup -backuptarget:C: -quiet
|
|If you are storing your system state backup on C you'll need to apply
|the reg fix as pointed out in http://support.microsoft.com/kb/944530 first.
|
|Simply put, Windows programs can register as 'VSS writers' and then get
|informed whenever a VSS snapshot is requested and act on that.
[MDC] 
Thanks for the above very useful, just need to confirm that Bacula cannot do
a system state backup just using VSS
|
|
| Sent from my iPhone
|
| On 11/05/2010, at 4:13, Kevin Keanesubscript...@kkeane.com  wrote:
|
| There is no such thing as system state backup any more in Windows
| 2008. It's always the whole C: drive. I'm not sure how well bacula
| handles it in the end. There also is the issue that Windows 2008
| relies heavily on junction points, which bacula doesn't handle well.
|
| I'm using Windows backup to an iSCSI drive, and then use bacula to
| back up a snapshot of that iSCSI volume.
|
| -Original Message-
| From: Michael Da Cova [mailto:mdac...@equiinet.com]
| Sent: Monday, May 10, 2010 9:47 AM
| To: bacula-users@lists.sourceforge.net
| Subject: [Bacula-users] Windows 2008/2008r2 Server backup
|
| Hi
|
| anyone have any tips recommendation on how to backup and restore
| windows
| 2008 system state, do you need to if using VSS
|
| Michael
|
|
|--
|Med venlig hilsen / Best Regards
|
|Henrik Johansen
|hen...@scannet.dk
|Tlf. 75 53 35 00
|
|ScanNet Group
|A/S ScanNet
|
|---
|---
|
|___
|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 2008/2008r2 Server backup

2010-05-11 Thread James Harper
 Regarding the junction points, i have hundred of warnings each time i make a
 backup with bacula, i don´t know how to avoid this and ,like Michael, i am
 very interesting in how to solve it...
 

What are the warnings? Is it the one about 'different filesystem'?

James

--

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


[Bacula-users] Bacula slow, possibly network

2010-05-11 Thread martinofmoscow


Hi, we've come over from an Amanda backup system which had become a
nightmare to administer, and generally we're very happy with Bacula.

My concern thought is speed: Bacula is proving to be very slow, possibly in
relation - it seems - to its network utilisation. We're backing up over a
managed 100Mbps LAN, so not lightning-fast, but ought to be ok for 400Gb
overnight full weekly backup and typically 5Gb nightly differential.
Although the methodology of Bacula and Amanda are different, I'm fairly
certain Amanda was much, much faster at backing up over a network than could
deal with this quite well. I kicked off a [400Gb, full] bacup at 1am on
Saturday and it completed 11 hours later at mid-day.

Interestingly, I just noticed that the Bacula dir was able to reel off a
backup of the fd on localhost of about 750Mb in under 10 seconds, which is
why I'm looking towards the way Bacula uses the network as the possible
source of the problem. Conversely, a differential of 6Mb from a client on
the local LAN just took a few minutes to complete.

Another possibility is spooling. I've set up a spool directory on the
director/sd but have never seen it used. Relatedly, the tape drive during
backups is very stop/start, with a lot of pauses.

We're using an HP StorageWorks Ultrium 960 with LTO-3 tapes. The dir/sd is a
PowerEdge running Ubuntu 8.04 LTS and the supported Bacula 2.2.8. The
clients are running Ubuntu LTS and Redhat EL5 across a 100Mbps LAN. I am not
using TLS encryption for these servers, although I will be using it soon for
backing up two more servers across the internet.

Any thoughts would be gratefully received.

Martin.

-- 
View this message in context: 
http://old.nabble.com/Bacula-slow%2C-possibly-network-tp28521328p28521328.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Koldo Santisteban
Hello
I use this little script on weekly basis before bacula backup

wbadmin delete systemstatebackup -backupTarget:e: -keepVersions:0 -quiet
wbadmin start systemstatebackup -backupTarget:e: -quiet

Wbadmin saves several system states, and in my case with the last one is
engouh (Bacula store several copies)

Regarding the error/warning on junction points. Bacula tries to backup
folders that not fisically exists.

In the Job log i can see error/warnings like this (with VSS enabled):

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/AppData/Local/Temporary Internet Files: ERR=Access is
denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Application Data: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Cookies: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Documents/My Music: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Documents/My Pictures: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Documents/My Videos: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Local Settings: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/My Documents: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/NetHood: ERR=Access is denied.

servername JobId 643:  Cannot open c:/Documents and
Settings/username/NTUSER.DAT: ERR=A required privilege is not held by the
client.
.
servername JobId 643:  Cannot open c:/Documents and
Settings/username/ntuser.dat.LOG1: ERR=A required privilege is not held by
the client.
.
servername JobId 643:  Cannot open c:/Documents and
Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TM.blf:
ERR=A required privilege is not held by the client.
.
servername JobId 643:  Cannot open c:/Documents and
Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TMContainer0001.regtrans-ms:
ERR=A required privilege is not held by the client.
.
servername JobId 643:  Could not open directory c:/Documents and
Settings/username/PrintHood: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Recent: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/SendTo: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Start Menu: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Templates: ERR=Access is denied.


I have checked that c:\users is saved correctly (is the correct folder
name),then i think that is a bug in bacula (is noisy, because job finish
status is no ok).
I have no time to make a full restore and i don´t know if with a Bacula
backup and windows System State is possible on windows 2008. I am very
grateful if someone that test it post his conclusions.
Regards

On Tue, May 11, 2010 at 12:15 PM, James Harper 
james.har...@bendigoit.com.au wrote:

  Regarding the junction points, i have hundred of warnings each time i
 make a
  backup with bacula, i don´t know how to avoid this and ,like Michael, i
 am
  very interesting in how to solve it...
 

 What are the warnings? Is it the one about 'different filesystem'?

 James

--

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


Re: [Bacula-users] Bacula slow, possibly network

2010-05-11 Thread Thomas Mueller
Am Tue, 11 May 2010 03:47:05 -0700 schrieb martinofmoscow:

 Hi, we've come over from an Amanda backup system which had become a
 nightmare to administer, and generally we're very happy with Bacula.
 
 My concern thought is speed: Bacula is proving to be very slow, possibly
 in relation - it seems - to its network utilisation. We're backing up
 over a managed 100Mbps LAN, so not lightning-fast, but ought to be ok
 for 400Gb overnight full weekly backup and typically 5Gb nightly
 differential. Although the methodology of Bacula and Amanda are
 different, I'm fairly certain Amanda was much, much faster at backing up
 over a network than could deal with this quite well. I kicked off a
 [400Gb, full] bacup at 1am on Saturday and it completed 11 hours later
 at mid-day.
 
 Interestingly, I just noticed that the Bacula dir was able to reel off a
 backup of the fd on localhost of about 750Mb in under 10 seconds, which
 is why I'm looking towards the way Bacula uses the network as the
 possible source of the problem. Conversely, a differential of 6Mb from a
 client on the local LAN just took a few minutes to complete.
 
 Another possibility is spooling. I've set up a spool directory on the
 director/sd but have never seen it used. Relatedly, the tape drive
 during backups is very stop/start, with a lot of pauses.
 
 We're using an HP StorageWorks Ultrium 960 with LTO-3 tapes. The dir/sd
 is a PowerEdge running Ubuntu 8.04 LTS and the supported Bacula 2.2.8.
 The clients are running Ubuntu LTS and Redhat EL5 across a 100Mbps LAN.
 I am not using TLS encryption for these servers, although I will be
 using it soon for backing up two more servers across the internet.
 


did you read:
http://www.bacula.org/en/dev-manual/Data_Spooling.html  and did you 
enable the SpoolData in the Job  definition?

the tape is likely faster than 100mbps resulting in starting/stoping alot 
(== slow)  if data-spooling is not configured correctly.


--

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


Re: [Bacula-users] Bacula slow, possibly network

2010-05-11 Thread Gavin McCullagh
Hi,

On Tue, 11 May 2010, martinofmoscow wrote:

 I kicked off a [400Gb, full] bacup at 1am on Saturday and it completed 11
 hours later at mid-day.

At the risk of getting the sums wrong and looking silly:

  400GB in 11 hours 
~  36GB per hour
~ 600MB per minute
~  10MB per second
~  82Mbit/sec

There's some rough approximation there but it seems like you're not far
from saturating that 100Mb link for the full 11 hours.

Your bacula reports should include a transfer speed.  What speed is
reported (it's usually in Mbyte/sec)?  Do you have a record of how long
Amanda took?

 Interestingly, I just noticed that the Bacula dir was able to reel off a
 backup of the fd on localhost of about 750Mb in under 10 seconds, 

That's about 8MB per second which is a little slower than what you see
above.  The fd might not be able to write the data as quickly.

 Conversely, a differential of 6Mb from a client on the local LAN just
 took a few minutes to complete.

That's slow in terms of network bitrate, but with a differential or
incremental backup, the bottleneck is usually in the time to find what
files need to be transferred, not in the time to transfer the files.

 Another possibility is spooling. I've set up a spool directory on the
 director/sd but have never seen it used. Relatedly, the tape drive during
 backups is very stop/start, with a lot of pauses.

I'd say without an upgrade to GigE, you're not likely to massively improve
the rate you have.  It's unclear at the moment if the bottleneck is the
network or 

Gavin


--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Michael Da Cova
Hi all 

 

Sorry for the top post, and thanks for replying so far but I just need a
simple question answered if you don't mind 

 

Does Bacula with VSS support on backup windows 2008 system state

 

Michael  

 

  _  

From: Koldo Santisteban [mailto:ksantiste...@gmail.com] 
Sent: 11 May 2010 11:50 AM
To: James Harper
Cc: mdac...@equiinet.com; bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Windows 2008/2008r2 Server backup

 

Hello
I use this little script on weekly basis before bacula backup

wbadmin delete systemstatebackup -backupTarget:e: -keepVersions:0 -quiet
wbadmin start systemstatebackup -backupTarget:e: -quiet

Wbadmin saves several system states, and in my case with the last one is
engouh (Bacula store several copies)

Regarding the error/warning on junction points. Bacula tries to backup
folders that not fisically exists.

In the Job log i can see error/warnings like this (with VSS enabled):

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/AppData/Local/Temporary Internet Files: ERR=Access is
denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Application Data: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Cookies: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Documents/My Music: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Documents/My Pictures: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Documents/My Videos: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Local Settings: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/My Documents: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/NetHood: ERR=Access is denied.

servername JobId 643:  Cannot open c:/Documents and
Settings/username/NTUSER.DAT: ERR=A required privilege is not held by the
client.
.
servername JobId 643:  Cannot open c:/Documents and
Settings/username/ntuser.dat.LOG1: ERR=A required privilege is not held by
the client.
.
servername JobId 643:  Cannot open c:/Documents and
Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TM.blf:
ERR=A required privilege is not held by the client.
.
servername JobId 643:  Cannot open c:/Documents and
Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TMContain
er0001.regtrans-ms: ERR=A required privilege is not held by
the client.
.
servername JobId 643:  Could not open directory c:/Documents and
Settings/username/PrintHood: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Recent: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/SendTo: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Start Menu: ERR=Access is denied.

servername JobId 643:  Could not open directory c:/Documents and
Settings/username/Templates: ERR=Access is denied.


I have checked that c:\users is saved correctly (is the correct folder
name),then i think that is a bug in bacula (is noisy, because job finish
status is no ok).
I have no time to make a full restore and i don´t know if with a Bacula
backup and windows System State is possible on windows 2008. I am very
grateful if someone that test it post his conclusions.
Regards

On Tue, May 11, 2010 at 12:15 PM, James Harper
james.har...@bendigoit.com.au mailto:james.har...@bendigoit.com.au 
wrote:

 Regarding the junction points, i have hundred of warnings each time i make
a
 backup with bacula, i don´t know how to avoid this and ,like Michael, i am
 very interesting in how to solve it...


What are the warnings? Is it the one about 'different filesystem'?

James

 

--

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


Re: [Bacula-users] Bacula slow, possibly network

2010-05-11 Thread martinofmoscow

Thanks Gavin, that's very defly surmised! I guess we were misunderstanding
what Amanda was/wasn't doing previously.


Gavin McCullagh-2 wrote:
 
 Hi,
 
 On Tue, 11 May 2010, martinofmoscow wrote:
 
 I kicked off a [400Gb, full] bacup at 1am on Saturday and it completed 11
 hours later at mid-day.
 
 At the risk of getting the sums wrong and looking silly:
 
   400GB in 11 hours 
 ~  36GB per hour
 ~ 600MB per minute
 ~  10MB per second
 ~  82Mbit/sec
 
 There's some rough approximation there but it seems like you're not far
 from saturating that 100Mb link for the full 11 hours.
 
 Your bacula reports should include a transfer speed.  What speed is
 reported (it's usually in Mbyte/sec)?  Do you have a record of how long
 Amanda took?
 
 

Just have, exactly the same, with the significant difference that Amanda was
performing compression on the client. I'm amazed that this is something I'd
overlooked (and possible overestimated the performance of our network.)

Anyone have any experience with using compression on the client with Bacula?



Gavin McCullagh-2 wrote:
 
 
 Interestingly, I just noticed that the Bacula dir was able to reel off a
 backup of the fd on localhost of about 750Mb in under 10 seconds, 
 
 That's about 8MB per second which is a little slower than what you see
 above.  The fd might not be able to write the data as quickly.
 
 

Although I'm not sure I agree with this! More like 80Mb per second. More
like what I'd expect.

Anyway, very well made point, perhaps I'll push for a new Gig switch between
servers!


Many thanks.


-- 
View this message in context: 
http://old.nabble.com/Bacula-slow%2C-possibly-network-tp28521328p28523164.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Koldo Santisteban
No,
As you can see in my last mail, you need to run scripts before bacula
backup. In Windows 2003 too.

On Tue, May 11, 2010 at 1:33 PM, Michael Da Cova mdac...@equiinet.comwrote:

  Hi all



 Sorry for the top post, and thanks for replying so far but I just need a
 simple question answered if you don’t mind



 Does Bacula with VSS support on backup windows 2008 system state



 Michael


   --

 *From:* Koldo Santisteban [mailto:ksantiste...@gmail.com]
 *Sent:* 11 May 2010 11:50 AM
 *To:* James Harper
 *Cc:* mdac...@equiinet.com; bacula-users@lists.sourceforge.net

 *Subject:* Re: [Bacula-users] Windows 2008/2008r2 Server backup



 Hello

 I use this little script on weekly basis before bacula backup

 wbadmin delete systemstatebackup -backupTarget:e: -keepVersions:0 -quiet
 wbadmin start systemstatebackup -backupTarget:e: -quiet

 Wbadmin saves several system states, and in my case with the last one is
 engouh (Bacula store several copies)

 Regarding the error/warning on junction points. Bacula tries to backup
 folders that not fisically exists.

 In the Job log i can see error/warnings like this (with VSS enabled):

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/AppData/Local/Temporary Internet Files: ERR=Access is
 denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Application Data: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Cookies: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Documents/My Music: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Documents/My Pictures: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Documents/My Videos: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Local Settings: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/My Documents: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/NetHood: ERR=Access is denied.

 servername JobId 643:  Cannot open c:/Documents and
 Settings/username/NTUSER.DAT: ERR=A required privilege is not held by the
 client.
 .
 servername JobId 643:  Cannot open c:/Documents and
 Settings/username/ntuser.dat.LOG1: ERR=A required privilege is not held by
 the client.
 .
 servername JobId 643:  Cannot open c:/Documents and
 Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TM.blf:
 ERR=A required privilege is not held by the client.
 .
 servername JobId 643:  Cannot open c:/Documents and
 Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TMContainer0001.regtrans-ms:
 ERR=A required privilege is not held by the client.
 .
 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/PrintHood: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Recent: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/SendTo: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Start Menu: ERR=Access is denied.

 servername JobId 643:  Could not open directory c:/Documents and
 Settings/username/Templates: ERR=Access is denied.


 I have checked that c:\users is saved correctly (is the correct folder
 name),then i think that is a bug in bacula (is noisy, because job finish
 status is no ok).
 I have no time to make a full restore and i don´t know if with a Bacula
 backup and windows System State is possible on windows 2008. I am very
 grateful if someone that test it post his conclusions.
 Regards

 On Tue, May 11, 2010 at 12:15 PM, James Harper 
 james.har...@bendigoit.com.au wrote:

  Regarding the junction points, i have hundred of warnings each time i
 make a
  backup with bacula, i don´t know how to avoid this and ,like Michael, i
 am
  very interesting in how to solve it...
 

 What are the warnings? Is it the one about 'different filesystem'?

 James



--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Martin Simmons
 On Tue, 11 May 2010 11:15:28 +0200, Foo  said:
 
 On Mon, 10 May 2010 19:51:33 +0200, Kevin Keane subscript...@kkeane.com  
 wrote:
 
  There is no such thing as system state backup any more in Windows  
  2008. It's always the whole C: drive. I'm not sure how well bacula  
  handles it in the end. There also is the issue that Windows 2008 relies  
  heavily on junction points, which bacula doesn't handle well.
 
 My experience so far mirrors yours but others are apparently disagreeing.  
 I'm getting confused :)
 
 wbadmin GUI has options for selecting 'system state' and unselecting drive  
 letters, except it didn't work for me (canceled after it had started  
 including 6+ files). This seems to agree with you on including  
 everything, but I don't understand the point of system state then, or of  
 being able to unselect C:.
 
  I'm using Windows backup to an iSCSI drive, and then use bacula to back  
  up a snapshot of that iSCSI volume.
 
 Is the result of that a monolothic blob like W2K3's ntbackup .bkf or  
 single files? If it's a monolithic blob, Bacula can't do incrementals  
 anymore. If it's single files, you would have to keep them around for  
 incrementals and basically waste twice as much space everywhere, not to  
 mention whatever problems junctions points becoming files presents.  
 Whatever it may be, it just seems pointless.

You might want to consider having two backups, for different purposes.  Use a
Windows full backup for disaster recovery and Full+Incremental Bacula backups
for per-file recovery.

__Martin

--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Graham Keeling
On Tue, May 11, 2010 at 01:58:07PM +0200, Koldo Santisteban wrote:
 No,
 As you can see in my last mail, you need to run scripts before bacula
 backup. In Windows 2003 too.

So what is the flag that James Harper was talking about?

With full VSS support, VSS defines the files that make up the system
state backup - it's a flag on the writer.


 On Tue, May 11, 2010 at 1:33 PM, Michael Da Cova mdac...@equiinet.comwrote:
 
   Hi all
 
 
 
  Sorry for the top post, and thanks for replying so far but I just need a
  simple question answered if you don’t mind
 
 
 
  Does Bacula with VSS support on backup windows 2008 system state
 
 
 
  Michael
 
 
--
 
  *From:* Koldo Santisteban [mailto:ksantiste...@gmail.com]
  *Sent:* 11 May 2010 11:50 AM
  *To:* James Harper
  *Cc:* mdac...@equiinet.com; bacula-users@lists.sourceforge.net
 
  *Subject:* Re: [Bacula-users] Windows 2008/2008r2 Server backup
 
 
 
  Hello
 
  I use this little script on weekly basis before bacula backup
 
  wbadmin delete systemstatebackup -backupTarget:e: -keepVersions:0 -quiet
  wbadmin start systemstatebackup -backupTarget:e: -quiet
 
  Wbadmin saves several system states, and in my case with the last one is
  engouh (Bacula store several copies)
 
  Regarding the error/warning on junction points. Bacula tries to backup
  folders that not fisically exists.
 
  In the Job log i can see error/warnings like this (with VSS enabled):
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/AppData/Local/Temporary Internet Files: ERR=Access is
  denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Application Data: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Cookies: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Documents/My Music: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Documents/My Pictures: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Documents/My Videos: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Local Settings: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/My Documents: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/NetHood: ERR=Access is denied.
 
  servername JobId 643:  Cannot open c:/Documents and
  Settings/username/NTUSER.DAT: ERR=A required privilege is not held by the
  client.
  .
  servername JobId 643:  Cannot open c:/Documents and
  Settings/username/ntuser.dat.LOG1: ERR=A required privilege is not held by
  the client.
  .
  servername JobId 643:  Cannot open c:/Documents and
  Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TM.blf:
  ERR=A required privilege is not held by the client.
  .
  servername JobId 643:  Cannot open c:/Documents and
  Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TMContainer0001.regtrans-ms:
  ERR=A required privilege is not held by the client.
  .
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/PrintHood: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Recent: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/SendTo: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Start Menu: ERR=Access is denied.
 
  servername JobId 643:  Could not open directory c:/Documents and
  Settings/username/Templates: ERR=Access is denied.
 
 
  I have checked that c:\users is saved correctly (is the correct folder
  name),then i think that is a bug in bacula (is noisy, because job finish
  status is no ok).
  I have no time to make a full restore and i don´t know if with a Bacula
  backup and windows System State is possible on windows 2008. I am very
  grateful if someone that test it post his conclusions.
  Regards
 
  On Tue, May 11, 2010 at 12:15 PM, James Harper 
  james.har...@bendigoit.com.au wrote:
 
   Regarding the junction points, i have hundred of warnings each time i
  make a
   backup with bacula, i don´t know how to avoid this and ,like Michael, i
  am
   very interesting in how to solve it...
  
 
  What are the warnings? Is it the one about 'different filesystem'?
 
  James
 
 
 

 --
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 

Re: [Bacula-users] [Bulk] Re: Windows 2008/2008r2 Server backup

2010-05-11 Thread Foo
On Tue, 11 May 2010 10:11:17 +0200, Henrik Johansen hen...@scannet.dk  
wrote:

 If you are storing your system state backup on C you'll need to apply
 the reg fix as pointed out in http://support.microsoft.com/kb/944530  
 first.

Thanks for the fix, but even with that:

wbadmin START BACKUP -backupTarget:D: -systemState -exclude:C:,D:  
-include:d:\temp.txt
..
The backup storage location is invalid. You cannot use a volume that is  
included in the backup as a storage location.

(I was trying to work around not being able to exclude the C: and D:  
volumes, temp.txt is a dummy file)

If I just use:

wbadmin START SYSTEMSTATEBACKUP -backupTarget:D:
..
This will back up the system state from volume(s) System Reserved (100.00  
MB),Local Disk(C:),Local Disk(D:) to D:.

And this results in 6+ GB of data in 2 small and 1 large .vhd file.  
Astonishingly, the logfile does not actually contain any registry hive  
that I can see (e.g. ntuser.dat files).

Apparently the default systembackup job includes *all* local volumes and  
*excludes* what it's supposed to backup. #...@$# Microsoft...

Does anyone know how to fix this mess? Can you simply forget about wbadmin  
and have Bacula-fd back up live registry hives (because it should be VSS  
aware right?) - and restore them when needed?

--

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


Re: [Bacula-users] Bacula slow, possibly network

2010-05-11 Thread Gavin McCullagh
On Tue, 11 May 2010, martinofmoscow wrote:

 Anyone have any experience with using compression on the client with
 Bacula?

Yeah, we use it almost everywhere.  The only exception is a video store
where the files aren't terribly compressible.  As you might imagine, it
uses considerable CPU cycles on the client but it also reduces the
bandwidth required.  Assuming the CPU can keep up, it may well relieve the
network bottleneck.

 Gavin McCullagh-2 wrote:
  
  Interestingly, I just noticed that the Bacula dir was able to reel off a
  backup of the fd on localhost of about 750Mb in under 10 seconds, 
  
  That's about 8MB per second which is a little slower than what you see
  above.  The fd might not be able to write the data as quickly.
 
 Although I'm not sure I agree with this! More like 80Mb per second. More
 like what I'd expect.

Ah, sorry yes.  I was confusing myself between Mb (usually Megabit) and MB
(usually Megabyte).  I see what you mean now, the above is 75MB/sec to the
localhost.

Gavin


--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Koldo Santisteban
Huuum
I want to hear about this option too. On bacula manual i can´t find any info
regarding it...
I think that James refer to

Enable VSS = yes

But this option allows a hot copy on windows...


On Tue, May 11, 2010 at 2:50 PM, Graham Keeling gra...@equiinet.com wrote:

 On Tue, May 11, 2010 at 01:58:07PM +0200, Koldo Santisteban wrote:
  No,
  As you can see in my last mail, you need to run scripts before bacula
  backup. In Windows 2003 too.

 So what is the flag that James Harper was talking about?

 With full VSS support, VSS defines the files that make up the system
 state backup - it's a flag on the writer.


  On Tue, May 11, 2010 at 1:33 PM, Michael Da Cova mdac...@equiinet.com
 wrote:
 
Hi all
  
  
  
   Sorry for the top post, and thanks for replying so far but I just need
 a
   simple question answered if you don’t mind
  
  
  
   Does Bacula with VSS support on backup windows 2008 system state
  
  
  
   Michael
  
  
 --
  
   *From:* Koldo Santisteban [mailto:ksantiste...@gmail.com]
   *Sent:* 11 May 2010 11:50 AM
   *To:* James Harper
   *Cc:* mdac...@equiinet.com; bacula-users@lists.sourceforge.net
  
   *Subject:* Re: [Bacula-users] Windows 2008/2008r2 Server backup
  
  
  
   Hello
  
   I use this little script on weekly basis before bacula backup
  
   wbadmin delete systemstatebackup -backupTarget:e: -keepVersions:0
 -quiet
   wbadmin start systemstatebackup -backupTarget:e: -quiet
  
   Wbadmin saves several system states, and in my case with the last one
 is
   engouh (Bacula store several copies)
  
   Regarding the error/warning on junction points. Bacula tries to backup
   folders that not fisically exists.
  
   In the Job log i can see error/warnings like this (with VSS enabled):
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/AppData/Local/Temporary Internet Files: ERR=Access
 is
   denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Application Data: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Cookies: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Documents/My Music: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Documents/My Pictures: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Documents/My Videos: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Local Settings: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/My Documents: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/NetHood: ERR=Access is denied.
  
   servername JobId 643:  Cannot open c:/Documents and
   Settings/username/NTUSER.DAT: ERR=A required privilege is not held by
 the
   client.
   .
   servername JobId 643:  Cannot open c:/Documents and
   Settings/username/ntuser.dat.LOG1: ERR=A required privilege is not
 held by
   the client.
   .
   servername JobId 643:  Cannot open c:/Documents and
  
 Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TM.blf:
   ERR=A required privilege is not held by the client.
   .
   servername JobId 643:  Cannot open c:/Documents and
  
 Settings/username/NTUSER.DAT{7d5ec63a-c5bc-11dc-a02b-0019bbe6a65a}.TMContainer0001.regtrans-ms:
   ERR=A required privilege is not held by the client.
   .
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/PrintHood: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Recent: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/SendTo: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Start Menu: ERR=Access is denied.
  
   servername JobId 643:  Could not open directory c:/Documents and
   Settings/username/Templates: ERR=Access is denied.
  
  
   I have checked that c:\users is saved correctly (is the correct folder
   name),then i think that is a bug in bacula (is noisy, because job
 finish
   status is no ok).
   I have no time to make a full restore and i don´t know if with a Bacula
   backup and windows System State is possible on windows 2008. I am very
   grateful if someone that test it post his conclusions.
   Regards
  
   On Tue, May 11, 2010 at 12:15 PM, James Harper 
   james.har...@bendigoit.com.au wrote:
  
Regarding the junction points, i have hundred of warnings each time i
   make a
backup with 

Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread James Harper
 
 On Tue, May 11, 2010 at 01:58:07PM +0200, Koldo Santisteban wrote:
  No,
  As you can see in my last mail, you need to run scripts before bacula
  backup. In Windows 2003 too.
 
 So what is the flag that James Harper was talking about?
 
 With full VSS support, VSS defines the files that make up the system
 state backup - it's a flag on the writer.
 

That was in regard to VSS, not bacula. Someone stated that the VSS API could 
not be used to perform a system state backup. Each VSS writer has a flag on it 
that says whether it forms part of the system state.

James
--

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


Re: [Bacula-users] [Bulk] Re: Windows 2008/2008r2 Server backup

2010-05-11 Thread Phil Stracchino
On 05/11/10 08:19, Foo wrote:
 If I just use:
 
 wbadmin START SYSTEMSTATEBACKUP -backupTarget:D:
 ..
 This will back up the system state from volume(s) System Reserved (100.00  
 MB),Local Disk(C:),Local Disk(D:) to D:.
 
 And this results in 6+ GB of data in 2 small and 1 large .vhd file.  
 Astonishingly, the logfile does not actually contain any registry hive  
 that I can see (e.g. ntuser.dat files).
 
 Apparently the default systembackup job includes *all* local volumes and  
 *excludes* what it's supposed to backup. #...@$# Microsoft...

Hey, if this stuff made any logical sense, Microsoft wouldn't be able to
sell MSCE training.


-- 
  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.

--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Foo
On Tue, 11 May 2010 14:30:09 +0200, Martin Simmons mar...@lispworks.com  
wrote:

 You might want to consider having two backups, for different purposes.   
 Use a Windows full backup for disaster recovery and Full+Incremental  
 Bacula backups for per-file recovery.

We already have ADS for disaster recovery for W2K3, if it also supports  
W2K8 it would be a better idea. Or just plain dd as far as I'm concerned :)

The point is to integrate this into the regular Bacula framework and  
schedules, so I either need something like ntbackup which extends Bacula  
in just the right way or something that can completely replace it.

If it's just not possible for W2K8 maybe a different backup product is a  
better solution.

--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Koldo Santisteban
Yes, that´s true. But it makes very complicate to maintain backups with
Windows 2008 and Bacula. Wih windows 2003 a system state backup and a bacula
backup a full restore was possible.

Foo, could you explain wich product is ADS??  is open source?

On Tue, May 11, 2010 at 2:30 PM, Martin Simmons mar...@lispworks.comwrote:

  On Tue, 11 May 2010 11:15:28 +0200, Foo  said:
 
  On Mon, 10 May 2010 19:51:33 +0200, Kevin Keane subscript...@kkeane.com
 
  wrote:
 
   There is no such thing as system state backup any more in Windows
   2008. It's always the whole C: drive. I'm not sure how well bacula
   handles it in the end. There also is the issue that Windows 2008 relies
   heavily on junction points, which bacula doesn't handle well.
 
  My experience so far mirrors yours but others are apparently disagreeing.
  I'm getting confused :)
 
  wbadmin GUI has options for selecting 'system state' and unselecting
 drive
  letters, except it didn't work for me (canceled after it had started
  including 6+ files). This seems to agree with you on including
  everything, but I don't understand the point of system state then, or of
  being able to unselect C:.
 
   I'm using Windows backup to an iSCSI drive, and then use bacula to back
   up a snapshot of that iSCSI volume.
 
  Is the result of that a monolothic blob like W2K3's ntbackup .bkf or
  single files? If it's a monolithic blob, Bacula can't do incrementals
  anymore. If it's single files, you would have to keep them around for
  incrementals and basically waste twice as much space everywhere, not to
  mention whatever problems junctions points becoming files presents.
  Whatever it may be, it just seems pointless.

 You might want to consider having two backups, for different purposes.  Use
 a
 Windows full backup for disaster recovery and Full+Incremental Bacula
 backups
 for per-file recovery.

 __Martin


 --

 ___
 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] volume/file size and speed

2010-05-11 Thread John Drescher
On Tue, May 11, 2010 at 10:45 AM, Joseph Spenner joseph85...@yahoo.com wrote:
 I'm currently set up with a File based backup system (no tapes).  Initially I 
 wanted to make 1TB files, but learned (and read) that recovery of a backup is 
 very slow with large files.  So, I reconfigured it to create 1GB files.

Also recycling will not work as well with only a few volumes since it
would have to recycle the entire volume. I would use larger volumes
than 1GB though. 5 to 10GB is what I generally use.


Sorry do not know the answer to the first two.

 3) If I use bconsole I can specify a single file to recover and it is VERY 
 fast.  But there doesn't seem to be a way to specify an entire directory.  Or 
 am I not looking in the right place?


You run restore and mark the folder you want to restore.

John

--

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


[Bacula-users] 5.0.2 on Debian Lenny: DIR, FD, SD all on the same host, TCP keepalive enabled, nevertheless Connection reset by peer error

2010-05-11 Thread Holger Rauch
Hi,

I'm running Bacula 5.0.2 in conjunction with PostgreSQL 8.4.3 (both
compiled from the official sources) on a Debian Lenny system. The
system runs the director, storage daemon and file daemon. The actual
storage media are barcode labeled LTO3 tapes contained in a HP Storage
Works 1/8 G2 autoloader equipped with an HP Ultrium 920 drive.

I've already followed the instructions in

http://tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/

and the corresponding FAQ entry

http://wiki.bacula.org/doku.php?id=faq#my_backup_starts_but_dies_after_a_while_with_connection_reset_by_peer_error
   
since I came accross this thread, which had been started before I subscribed to 
the Bacula users mailing list:

http://adsm.org/lists/html/Bacula-users/2010-04/msg00172.html

I decided to compile the libkeeplive from Source Forge and use the
LD_PRELOAD mechanism in order to make sure libkeeplive.so is always
loaded. Furthermore I changed the sysctl and Heartbeat Interval
settings as described in the referenced FAQ entry.

Disabling accurate backups is not a solution for me since I want
deleted files to be taken into account and I have to run quite a few
long running shell scripts for gathering data via SCP from other hosts
before the actual backup (writing to tape via SD) starts. So, a
workaround for the TCP keepalive problem is absolutely necessary for me.

A status inquiry on the client from within bconsole works without a
problem, but even with TCP keepalive enabled my backup stops after a very short 
period of time, as the
log from the Bacula director shows:

===

1-Mai 16:33 nathan-sd JobId 13: Job write elapsed time = 00:00:36,
Transfer rate = 20.30 M Bytes/second
11-Mai 16:34 nathan-fd JobId 13: Fatal error: backup.c:1019 Network
send error to SD. ERR=Connection reset by peer
11-Mai 16:34 nathan-dir JobId 13: Error: Bacula nathan-dir 5.0.2
(28Apr10): 11-Mai-2010 16:34:27
  Build OS:   x86_64-unknown-linux-gnu debian 5.0.4
  JobId:  13
  Job:nathan_backup.2010-05-11_16.32.43_03
  Backup Level:   Full (upgraded from Incremental)
  Client: nathan 5.0.2 (28Apr10) 
x86_64-unknown-linux-gnu,debian,5.0.4
  FileSet:nathan fileset 2010-05-10 23:05:00
  Pool:   WeeklyBackups (From Job FullPool override)
  Catalog:MyCatalog (From Client resource)
  Storage:nathan-sd (From Pool resource)
  Scheduled time: 11-Mai-2010 16:32:41
  Start time: 11-Mai-2010 16:32:45
  End time:   11-Mai-2010 16:34:27
  Elapsed time:   1 min 42 secs
  Priority:   10
  FD Files Written:   4,072
  SD Files Written:   4,059
  FD Bytes Written:   734,948,632 (734.9 MB)
  SD Bytes Written:   731,138,860 (731.1 MB)
  Rate:   7205.4 KB/s
  Software Compression:   None
  VSS:no
  Encryption: no
  Accurate:   yes
  Volume name(s): 
  Volume Session Id:  1
  Volume Session Time:1273588341
  Last Volume Bytes:  2,194,827,264 (2.194 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***

===

Any help will be greatly appreciated.

Thanks in advance  kind regards,

Holger


signature.asc
Description: Digital signature
--

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


Re: [Bacula-users] Windows 7 Client Backup

2010-05-11 Thread McCann, Brian
FWIW, I'm just getting back to this...and that command doesn't work on Windows 
7.  Systemstatebackup is only available on Windows Server 2008.

Thanks though,
--Brian

From: Koldo Santisteban [mailto:ksantiste...@gmail.com]
Sent: Tuesday, March 09, 2010 2:34 AM
To: Phil Stracchino
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Windows 7 Client Backup

Ntbackup does not exist on Windows Vista/2008 and 7...
Try using this command Wbadmin start systemstatebackup -backuptarget: PATH

ntbackup is changed with wbadmin, information regarding this command on 
http://technet.microsoft.com/en-us/library/cc770340%28WS.10%29.aspx

I hope this can help you
Regards!!
On Mon, Mar 8, 2010 at 11:13 PM, Phil Stracchino 
ala...@metrocast.netmailto:ala...@metrocast.net wrote:
On 03/08/10 16:55, Thomas Mueller wrote:
 Am Mon, 08 Mar 2010 10:06:24 -0500 schrieb Phil Stracchino:
 On 03/08/10 09:26, McCann, Brian wrote:
 Hi All.  I'm having a hard time finding a solution to this...but I'm
 sure there is one.  When all my desktops were on Windows XP, I used the
 Client Run Before Job command to run ntbackup to make a system state
 backup to grab the registry and all those other goodies.  For the life
 of me, I can't find the equivalent tool on Windows 7.  Has anyone
 figured this out yet?

 It's my understanding that this is no longer necessary if using VSS. Can
 anyone confirm?

 IMHO the system state backup is still needed for a complete recovery.VSS
 itself is just a snapshot method to get a consistent state of files.
Surely by now there has to be some better way to JUST dump and restore
the registry.  This problem has existed ever since ... was it Windows
3.x or Windows 95?


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

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.netmailto: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] volume/file size and speed

2010-05-11 Thread Joseph Spenner
--- On Tue, 5/11/10, John Drescher dresche...@gmail.com wrote:

 
  3) If I use bconsole I can specify a single file to
 recover and it is VERY fast.  But there doesn't seem to be
 a way to specify an entire directory.  Or am I not looking
 in the right place?
 
 
 You run restore and mark the folder you want to restore.
 
 John
 

Right, but in order to do this, I first must let bat (I think?) load the WHOLE 
index before I get a list of what is possible to select.  This is what appears 
to take hours.  Or is this possible faster in bconsole?



  

--

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


Re: [Bacula-users] Verify Job Error

2010-05-11 Thread Martin Simmons
 On Mon, 10 May 2010 13:05:49 -0400, ikkysleepy  said:
 
 I am having some problem with the verify Job. The job always fails when
 scheduled but if I run the job manually then it works fine. 
 ...
 For some reason the Verify Level is being set to Incremental. Do I need to
 specify Verify  Level = Volume To Catalog ? Is this a bug in 5.0.1?

Do you have Incremental in the schedule definition?  You probably need a
separate schedule for the verify jobs with no Level specified.

__Martin

--

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


Re: [Bacula-users] volume/file size and speed

2010-05-11 Thread John Drescher
 Right, but in order to do this, I first must let bat (I think?) load the 
 WHOLE index before I get a list of what is possible to select.  This is what 
 appears to take hours.  Or is this possible faster in bconsole?


I do not really use bat, nor have I restored anything from any version
of bacula  2.4, however in 2.4 the indexing takes few minutes for a
few hundred thousand files on my 5 year old database server with a 28
GB postgres catalog.

John

--

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


Re: [Bacula-users] volume/file size and speed

2010-05-11 Thread Joseph Spenner
--- On Tue, 5/11/10, John Drescher dresche...@gmail.com wrote:


 I first must let bat (I think?) load the WHOLE index before
 I get a list of what is possible to select.  This is what
 appears to take hours.  Or is this possible faster in
 bconsole?
 
 
 I do not really use bat, nor have I restored anything from
 any version
 of bacula  2.4, however in 2.4 the indexing takes few
 minutes for a
 few hundred thousand files on my 5 year old database server
 with a 28
 GB postgres catalog.
 
 John
 

Ok, I just used bconsole and recovered a directory in little time at all.  So, 
bat is the problem.  I can use bconsole instead.  I might try to go back to 
using 1TB files and see how it performs as well.
Thanks for the tip!



  

--

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


Re: [Bacula-users] 5.0.2 on Debian Lenny: DIR, FD, SD all on the same host, TCP keepalive enabled, nevertheless Connection reset by peer error

2010-05-11 Thread José Queiroz
2010/5/11 Holger Rauch holger.ra...@empic.de

 Hi,

 I'm running Bacula 5.0.2 in conjunction with PostgreSQL 8.4.3 (both
 compiled from the official sources) on a Debian Lenny system. The
 system runs the director, storage daemon and file daemon. The actual
 storage media are barcode labeled LTO3 tapes contained in a HP Storage
 Works 1/8 G2 autoloader equipped with an HP Ultrium 920 drive.

 I've already followed the instructions in

 http://tldp.org/HOWTO/html_single/TCP-Keepalive-HOWTO/

 and the corresponding FAQ entry

 http://wiki.bacula.org/doku.php?id=faq#my_backup_starts_but_dies_after_a_while_with_connection_reset_by_peer_error

 since I came accross this thread, which had been started before I subscribed 
 to the Bacula users mailing list:

 http://adsm.org/lists/html/Bacula-users/2010-04/msg00172.html

 I decided to compile the libkeeplive from Source Forge and use the
 LD_PRELOAD mechanism in order to make sure libkeeplive.so is always
 loaded. Furthermore I changed the sysctl and Heartbeat Interval
 settings as described in the referenced FAQ entry.

 Disabling accurate backups is not a solution for me since I want
 deleted files to be taken into account and I have to run quite a few
 long running shell scripts for gathering data via SCP from other hosts
 before the actual backup (writing to tape via SD) starts. So, a
 workaround for the TCP keepalive problem is absolutely necessary for me.

 A status inquiry on the client from within bconsole works without a
 problem, but even with TCP keepalive enabled my backup stops after a very 
 short period of time, as the
 log from the Bacula director shows:

 ===

 1-Mai 16:33 nathan-sd JobId 13: Job write elapsed time = 00:00:36,
 Transfer rate = 20.30 M Bytes/second
 11-Mai 16:34 nathan-fd JobId 13: Fatal error: backup.c:1019 Network
 send error to SD. ERR=Connection reset by peer
 11-Mai 16:34 nathan-dir JobId 13: Error: Bacula nathan-dir 5.0.2
 (28Apr10): 11-Mai-2010 16:34:27
  Build OS:               x86_64-unknown-linux-gnu debian 5.0.4
  JobId:                  13
  Job:                    nathan_backup.2010-05-11_16.32.43_03
  Backup Level:           Full (upgraded from Incremental)
  Client:                 nathan 5.0.2 (28Apr10) 
 x86_64-unknown-linux-gnu,debian,5.0.4
  FileSet:                nathan fileset 2010-05-10 23:05:00
  Pool:                   WeeklyBackups (From Job FullPool override)
  Catalog:                MyCatalog (From Client resource)
  Storage:                nathan-sd (From Pool resource)
  Scheduled time:         11-Mai-2010 16:32:41
  Start time:             11-Mai-2010 16:32:45
  End time:               11-Mai-2010 16:34:27
  Elapsed time:           1 min 42 secs
  Priority:               10
  FD Files Written:       4,072
  SD Files Written:       4,059
  FD Bytes Written:       734,948,632 (734.9 MB)
  SD Bytes Written:       731,138,860 (731.1 MB)
  Rate:                   7205.4 KB/s
  Software Compression:   None
  VSS:                    no
  Encryption:             no
  Accurate:               yes
  Volume name(s):
  Volume Session Id:      1
  Volume Session Time:    1273588341
  Last Volume Bytes:      2,194,827,264 (2.194 GB)
  Non-fatal FD errors:    0
  SD Errors:              0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Backup Error ***

 ===

 Any help will be greatly appreciated.

 Thanks in advance  kind regards,

    Holger


If your machine does have a firewall, remember to allow traffic on the
loopback interface.

--

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


Re: [Bacula-users] volume/file size and speed

2010-05-11 Thread Richard Scobie
Joseph Spenner wrote:

 Ok, I just used bconsole and recovered a directory in little time at all.  
 So, bat is the problem.  I can use bconsole instead.  I might try to go back 
 to using 1TB files and see how it performs as well.
 Thanks for the tip!

I can confirm this and will post more fully in a new thread.

Regards,

Richard

--

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


Re: [Bacula-users] Building BAT bombs

2010-05-11 Thread Jonathan M . Prigot
 If downloaded means that you installed the rpm, then that is surprising.
 
 Does /usr/include/QtGui/QAction exist now?
 
 Which version of Qt is this?
 
 __Martin
 
 --
 

I downloaded/installed qt-devel-3.3.3-16.el4.x86_64. I did not see the include
directory. By the way, I am building BAT fro the source RPM if that makes a
difference.
===
Jon



--

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


[Bacula-users] Questions about using bacula with a d2d device

2010-05-11 Thread Sean Carolan
We have an HP d2d4112 system that presents a virtual tape changer to
our host that is running Bacula.  The virtual tapes from the d2d can
be copied onto physical ones via an attached LTO-1840 tape drive.  My
questions in this case would be:

1.  Suppose I have to pull an older physical tape from storage and do
a restore from it.  Assume that bacula has already recycled the
virtual tape that this physical tape was copied from.  If I copy the
physical tape back onto a different virtual slot, will Bacula be able
to read the label and do a restore from it?

2.  Is there a way to have Bacula always start full backups on a new
volume, instead of appending?  I want the incremental jobs to append
to this volume after the full backup job is done.  Basically I'm
trying to avoid splitting a full backup across two tapes, while
keeping the incremental backup files together with the full backup.

thanks

Sean

--

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


[Bacula-users] Database version problems caused Ubuntu 10.04 upgrade to abort

2010-05-11 Thread David Edwards
Hi. I ran the Ubuntu 10.04 upgrade the other day (from 9.10) and it fell over 
at the bacula update stage. It was complaining about the database.

I can see now that I have the 5.0.1 binaries laid down. Prior to the upgrade 
attempt I was running 2.4.4.

The error messages in /var/log/bacula/log are:

08-May 13:24 bacula-dir JobId 0: Fatal error: Version error for database 
bacula. Wanted 12, got 10
08-May 13:24 bacula-dir JobId 0: Fatal error: Could not open Catalogue 
MyCatalog, database bacula
08-May 13:24 bacula-dir JobId 0: Fatal error: Version error for database 
bacula. Wanted 12, got 10
08-May 13:24 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
08-May 13:27 bacula-dir JobId 0: Fatal error: Version error for database 
bacula. Wanted 12, got 10
08-May 13:27 bacula-dir JobId 0: Fatal error: Could not open Catalogue 
MyCatalog, database bacula
08-May 13:27 bacula-dir JobId 0: Fatal error: Version error for database 
bacula. Wanted 12, got 10
08-May 13:27 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf

So I'm guessing the DB upgrade hasn't worked. 

I've downloaded the 3.0.3 and 5.0.1 gzip files and extracted the updatedb 
directories. I can see lots of scripts to update the DB. My questions are
1. Do I need to update the DB from v10 to v11 before updating to v12?
2. I can see in the 5.0.1 download there's a update_mysql_tables_10_to_11.in 
that's not executable. Is there a special procedure to run this set of commands?
3. There's no v11 to v12 script, but the README says to run the 
update_bacula_tables script. However that's not on my system. How do I get/run 
this script to get my DB to v12?

Thanks.--

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


Re: [Bacula-users] Feature idea feeler - bconsole include / grep

2010-05-11 Thread Frank Sweetser
On 5/10/2010 7:39 PM, mark.berg...@uphs.upenn.edu wrote:


 In the message dated: Mon, 10 May 2010 13:26:51 +1000,
 The pithy ruminations from Norberto Meijome on
 Re: [Bacula-users] Feature idea feeler - bconsole include / grep  were:

 =
 =  (and to the list.. Apologies Gavin for private reply...)
 =
 =  On 7 May 2010 19:19, Gavin McCullaghgavin.mccull...@gcd.ie  wrote:
 =
 =On Thu, 06 May 2010, Steve Polyack wrote:
 =  

   [SNIP!]

 =  bconsole session.  However, perhaps a solution would be to have 
 bconsol=
 =  e
 =  parse the pipe character and feed output into the command that 
 follows
 =  which could be any arbitrary *nix command (as opposed to
 =  writing/including our own version of grep).
 =  

 I think that's a great suggestion, and the cleanest way to do this. I'd add 
 one
 thing, which is to have bconsole detect  in a command as well. The logic
 would be (in bad pseudo-code):

While this is definitely a neat feature, my biggest concern is that this would 
be a gigantic privilege escalation hole.  By allowing bconsole to execute any 
arbitrary command, it becomes impossible for the general system administrator 
to restrict the backup operator to bconsole access only via sudo.

At a minimum, I'd hope to either see this feature implemented in such a way as 
to drop privs to the original user after reading any config files, and also 
require a config option to explicitly enable it.

-- 
Frank Sweetser fs at wpi.edu  |  For every problem, there is a solution that
WPI Senior Network Engineer   |  is simple, elegant, and wrong. - HL Mencken
 GPG fingerprint = 6174 1257 129E 0D21 D8D4  E8A3 8E39 29E3 E2E8 8CEC

--

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


Re: [Bacula-users] Database version problems caused Ubuntu 10.04 upgrade to abort

2010-05-11 Thread Phil Stracchino
On 05/11/10 18:15, David Edwards wrote:
 So I'm guessing the DB upgrade hasn't worked.
  
 I've downloaded the 3.0.3 and 5.0.1 gzip files and extracted the
 updatedb directories. I can see lots of scripts to update the DB. My
 questions are
 1. Do I need to update the DB from v10 to v11 before updating to v12?

Yes.

 2. I can see in the 5.0.1 download there's a
 update_mysql_tables_10_to_11.in that's not executable. Is there a
 special procedure to run this set of commands?

That's an unconfigured script source file.  It's not usable as-is.

 3. There's no v11 to v12 script, but the README says to run the
 update_bacula_tables script. However that's not on my system. How do I
 get/run this script to get my DB to v12?

Well, it sounds like the Bacula package in Ubuntu 10.04 isn't built
correctly.  What you could do is configure the source appropriately,
then do a make in just the subdirectory containing the scripts to make
the update scripts you need.


-- 
  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.

--

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


[Bacula-users] Restores via bat version browser very slow.

2010-05-11 Thread Richard Scobie
I installed 3.0.3 a month or so prior to 5.0.0 being released, with a 
view to using bat for restores, as it made life much easier for 
commandline-phobes, and it performed very well.

It was then updated to 5.0.1 and restores of anything more than a 
handfull of files became unusably slow. I noted all the discussion from 
others seeing similar effects which largely seemed to be caused by extra 
mysql indexes having been added - something I had not done. Incorrect 
mysql tuning was also blamed.

I then saw a comment by someone who said that it was slow in bat but OK 
using bconsole and I have just completed the following tests:

The director is on the same machine as the mysql database - a default, 
untuned Fedora 11 mysql 5.1.37.

Using bat from a Gb connected machine to restore a tree containing 
72,684 files, the progress bar on the GUI takes two minutes to complete 
Stage 1 -Processing Checked Directories.

Stage 2 - Filling Database Table takes about 80 minutes.

During this mysql resource usage on the database machine is less than 1% 
CPU and RAM and bat resource usage is moderate.

Switching to bconsole on the Gb connected machine and restoring the same 
job, it takes about 1 second at the Building directory tree stage and 
0.5 second at the 72,684 files marked stage.

While I did not spend a lot of time on 3.0.3, I am quitre sure this 
problem was not apparent then.

Regards,

Richard

--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Kevin Keane
 -Original Message-
  I'm using Windows backup to an iSCSI drive, and then use bacula to
  back up a snapshot of that iSCSI volume.
 
 Is the result of that a monolothic blob like W2K3's ntbackup .bkf or single
 files? If it's a monolithic blob, Bacula can't do incrementals anymore. If 
 it's
 single files, you would have to keep them around for incrementals and
 basically waste twice as much space everywhere, not to mention whatever
 problems junctions points becoming files presents.
 Whatever it may be, it just seems pointless.

The result consists of a few files and directories. The actual backup is done 
into a .VHD file (i.e., the same file Microsoft uses for virtual machines). It 
is indeed a monolithic blob.

Based on that, I'm assuming that the various backups are simply snapshots of 
this virtual hard disk.

You are right about the no incrementals.


--

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


Re: [Bacula-users] Windows 2008/2008r2 Server backup

2010-05-11 Thread Kevin Keane


 -Original Message-
 From: Henrik Johansen [mailto:hen...@scannet.dk]
 Sent: Tuesday, May 11, 2010 1:11 AM
 To: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Windows 2008/2008r2 Server backup
 
 On 05/11/10 10:04 AM, Graham Keeling wrote:
  On Tue, May 11, 2010 at 09:51:52AM +1000, James Harper wrote:
  With full VSS support, VSS defines the files that make up the system
  state backup - it's a flag on the writer. Bacula handles junction
  points perfectly.
 
  So, to get a backup with Windows 2008 that includes the system state,
  you need to set a flag on the writer.
  Do you know how to set that flag?
 
 wbadmin can do system state backups - you do not need to set any VSS flags
 for that :
 
 wbadmin start systemstatebackup -backuptarget:C: -quiet
 
 If you are storing your system state backup on C you'll need to apply the reg
 fix as pointed out in http://support.microsoft.com/kb/944530 first.
 
 Simply put, Windows programs can register as 'VSS writers' and then get
 informed whenever a VSS snapshot is requested and act on that.

The system state in Windows 2008 is really the whole C: drive plus a little 
extra information (I assume, boot sectors or the like).

So when you do this system state backup, you are basically backing up drive C: 
to itself. That is why it is disabled by default.

Secondly, backing up to a drive letter or a network share is really not a good 
idea. EVERY backup will be a full backup. When you let Windows use a dedicated 
backup hard disk, Windows Backup will only back up changes after the first full 
backup. IOW, every backup except the first is incremental.

That is why the schedule backup does not support backing up to directories.


--

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


Re: [Bacula-users] Windows 7 Client Backup

2010-05-11 Thread Koldo Santisteban
Yes, only on Vista/2008... On Windows 7 i think that the unique solution is
to use Backup and Restore option on control panel, and schedule a backup
of system image...and then save to bacula...That is not very useful. Perhaps
the better way is create a system repair disc and only use bacula to save
user files...
Regards

On Tue, May 11, 2010 at 5:42 PM, McCann, Brian bmcc...@andmore.com wrote:

  FWIW, I’m just getting back to this…and that command doesn’t work on
 Windows 7.  “Systemstatebackup” is only available on Windows Server 2008.



 Thanks though,

 --Brian



 *From:* Koldo Santisteban [mailto:ksantiste...@gmail.com]
 *Sent:* Tuesday, March 09, 2010 2:34 AM
 *To:* Phil Stracchino
 *Cc:* bacula-users@lists.sourceforge.net
 *Subject:* Re: [Bacula-users] Windows 7 Client Backup



 Ntbackup does not exist on Windows Vista/2008 and 7...
 Try using this command *Wbadmin start systemstatebackup -backuptarget:
 PATH*

 ntbackup is changed with wbadmin, information regarding this command on
 http://technet.microsoft.com/en-us/library/cc770340%28WS.10%29.aspx

 I hope this can help you
 Regards!!

 On Mon, Mar 8, 2010 at 11:13 PM, Phil Stracchino ala...@metrocast.net
 wrote:

 On 03/08/10 16:55, Thomas Mueller wrote:
  Am Mon, 08 Mar 2010 10:06:24 -0500 schrieb Phil Stracchino:
  On 03/08/10 09:26, McCann, Brian wrote:
  Hi All.  I'm having a hard time finding a solution to this...but I'm
  sure there is one.  When all my desktops were on Windows XP, I used the
  Client Run Before Job command to run ntbackup to make a system state
  backup to grab the registry and all those other goodies.  For the life
  of me, I can't find the equivalent tool on Windows 7.  Has anyone
  figured this out yet?
 
  It's my understanding that this is no longer necessary if using VSS. Can
  anyone confirm?
 
  IMHO the system state backup is still needed for a complete recovery.VSS
  itself is just a snapshot method to get a consistent state of files.

 Surely by now there has to be some better way to JUST dump and restore
 the registry.  This problem has existed ever since ... was it Windows
 3.x or Windows 95?



 --
  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.


 --

 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 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