Re: [Bacula-users] restore issue between different linux distributions

2017-01-30 Thread Mike Fröhner
Hm - wrong keyboard combination send the mail before finished it:

Error message is at the bottom:

On 01/30/2017 04:41 PM, Mike Fröhner wrote:
> Hello good people,
>
> I always thought my 8 years of extensive usage of bacula makes me a
> master of it, but I have failed :-p.
>
> Currently, I am checking a foreign bacula setup for disaster restore
> capabilities and I am running into a restore issue when I am trying to
> restore data via bextract.
>
> The setup is quite easy. There is one director: host-a (CentOS 6.5) and
> two storages: store-a (sunOS) and store-b (Ubuntu 14.04). The store-b is
> used for having a kind of an "off-site disaster backup" throught 'copy
> jobs'.
>
> The volumes from the bacula-sd on store-a are restorable without any
> issues throught the director or bextract on any linux distribution. But
> the volumes from the bacula-sd on store-b are only bextrable on Ubuntu
> 14.04. If I try to bextract the files on a CentOS it fails with:
>

30-Jan 16:41 bls JobId 0: Error: block_util.c:352 Volume data error at 0:0!
Block checksum mismatch in block=0 len=198: calc=a7123db blk=0
30-Jan 16:41 bls JobId 0: Warning: acquire.c:276 Read acquire: Requested 
Volume "Offsite-0413" on file device "io-Dev1" 
(/mnt/tank/bacula-storage) is not a Bacula labeled Volume, because: 
ERR=block_util.c:352 Volume data error at 0:0!
Block checksum mismatch in block=0 len=198: calc=a7123db blk=0

Any ideas for that?

greetings
Mike;

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-06-06 Thread Tilman Schmidt
Am 30.04.2012 13:40, schrieb Milos Zupancic:
 We have the same problem with restoring to Windows 2008 servers using
 5.2.6 client.
 
 On Thu, Apr 26, 2012 at 12:53 PM, Geert Stappers
 geert.stapp...@vanadgroup.com mailto:geert.stapp...@vanadgroup.com
 wrote:
 
 Op 20120425 om 16:01 schreef Christopher Hylarides:
  On 12-04-21 2:27 PM, Marco Carcano wrote:
  
   I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
   Server (Physical). I have also installed the Windows client on a 2003
   SBS (virtualized with KVM on another machine)
  
  We had this exact same issue restoring on Windows with 5.2.6 as well
  (backups worked fine).  Downgrading to 5.0.3 for the windows client
  fixed it (my research showed a known bug that will hopefully be in the
  next release).

We have the same issue here.
Bacula 5.2.6 on Windows Server 2003 SP2 32 bit.
Running bacula-fd with the -d 100 option as recommended on
http://bacula.org/5.0.x-manuals/en/main/main/Windows_Version_Bacula.html#SECTION00384
produced nothing, but with bconsole trace on I got the
following bacula-fd.trace file:

bacula-fd: /home/kern/bacula/k/bacula/src/filed/filed_conf.c:452-0
Inserting director res: galadriel-mon
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/jcr.c:140-0
read_last_jobs seek to 192
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/jcr.c:147-0 Read
num_items=0
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/filed.c:276-0 filed:
listening on port 9102
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/bnet_server.c:95-0
Addresses host[ipv4:0.0.0.0:9102]
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/bnet.c:708-0 who=client
host=10.0.0.14 port=36387
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:272-0 dird:
Hello Director backup-dir calling
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:288-0 Executing
Hello command.
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/cram-md5.c:72-0 send:
auth cram-md5 32149.1338985187@galadriel-fd ssl=0
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/cram-md5.c:131-0
cram-get received: auth cram-md5 1528348536.1338985187@backup-dir ssl=0
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/cram-md5.c:150-0
sending resp to challenge: U70Lc/pmZ+V6RT+HR+tL2C
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:272-0 dird:
JobId=2569 Job=RestoreFiles.2012-06-06_14.19.45_12 SDid=5
SDtime=1338979655 Authorization=FGOD-PKPP-HMJO-GMAP-GBLG-HMOI-FEHM-FOLJ
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:288-0 Executing
JobId= command.
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:1733-0 set sd
auth key
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:272-0 dird:
storage address=backup.phnxsoft.com port=9103 ssl=0
Authorization=FGOD-PKPP-HMJO-GMAP-GBLG-HMOI-FEHM-FOLJ
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:288-0 Executing
storage  command.
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:1749-0
StorageCmd: storage address=backup.phnxsoft.com port=9103 ssl=0
Authorization=FGOD-PKPP-HMJO-GMAP-GBLG-HMOI-FEHM-FOLJ
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:1727-0 set
multi_restore=true
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:1733-0 set sd
auth key
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/bsock.c:216-0 Current
host[ipv4:10.0.0.14:9103] All host[ipv4:10.0.0.14:9103]
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/bsock.c:152-0
who=Storage daemon host=backup.phnxsoft.com port=9103
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/cram-md5.c:131-0
cram-get received: auth cram-md5 1886522846.1338985187@bacula-sd ssl=0
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/cram-md5.c:150-0
sending resp to challenge: mw+wiRFs76+Pv/1o34/V7D
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/cram-md5.c:79-0 send:
auth cram-md5 9353.1338985187@galadriel-fd ssl=0
galadriel-fd: /home/kern/bacula/k/bacula/src/lib/cram-md5.c:98-0
Authenticate OK hn4YJQcEmR/Lo/4Kz+NGzD
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:272-0 dird:
restoreobject JobId=1627 342,342,1334102760,25,0,1153424,job
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:288-0 Executing
restoreobject command.
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:702-0 Enter
restoreobject_cmd: restoreobject JobId=1627
342,342,1334102760,25,0,1153424,job
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:732-0 Recv
object: JobId=1627 objlen=342 full_len=342 objinx=1334102760 objtype=25
FI=1153424 plugin_name=job
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:737-0 Recv
Oname object: len=16 Oname=job_metadata.xml
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:764-0 Recv
Object: len=342 Object=
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:767-0 got job
metadata
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:785-0 Send:
2000 OK ObjectRestored
galadriel-fd: /home/kern/bacula/k/bacula/src/filed/job.c:272-0 dird:
restoreobject 

Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-05-01 Thread Marco Carcano

I confirm that the downgrade of the client worked for me too

many thanks Christopher



Hi all

We have the same problem with restoring to Windows 2008 servers  
using 5.2.6 client.

I'll also try this workaround to see if it will solve the problem.


Kind regards,
Milos

On Thu, Apr 26, 2012 at 12:53 PM, Geert Stappers geert.stapp...@vanadgroup.com 
 wrote:

Op 20120425 om 16:01 schreef Christopher Hylarides:
 On 12-04-21 2:27 PM, Marco Carcano wrote:
 
  I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
  Server (Physical). I have also installed the Windows client on a  
2003

  SBS (virtualized with KVM on another machine)
 
 We had this exact same issue restoring on Windows with 5.2.6 as well
 (backups worked fine).  Downgrading to 5.0.3 for the windows client
 fixed it (my research showed a known bug that will hopefully be in  
the

 next release).

Thanks for sharing the workaround, being downgrade the MS Windows  
client


I wonder where is the known bug documented


Geert Stappers

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.  
Discussions
will include endpoint security, mobile security and the latest in  
malware

threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond.  
Discussions
will include endpoint security, mobile security and the latest in  
malware

threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-04-30 Thread Milos Zupancic
Hi all

We have the same problem with restoring to Windows 2008 servers using 5.2.6
client.
I'll also try this workaround to see if it will solve the problem.


Kind regards,
Milos

On Thu, Apr 26, 2012 at 12:53 PM, Geert Stappers 
geert.stapp...@vanadgroup.com wrote:

 Op 20120425 om 16:01 schreef Christopher Hylarides:
  On 12-04-21 2:27 PM, Marco Carcano wrote:
  
   I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
   Server (Physical). I have also installed the Windows client on a 2003
   SBS (virtualized with KVM on another machine)
  
  We had this exact same issue restoring on Windows with 5.2.6 as well
  (backups worked fine).  Downgrading to 5.0.3 for the windows client
  fixed it (my research showed a known bug that will hopefully be in the
  next release).

 Thanks for sharing the workaround, being downgrade the MS Windows client

 I wonder where is the known bug documented


 Geert Stappers


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-04-26 Thread Geert Stappers
Op 20120425 om 16:01 schreef Christopher Hylarides:
 On 12-04-21 2:27 PM, Marco Carcano wrote:
 
  I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
  Server (Physical). I have also installed the Windows client on a 2003
  SBS (virtualized with KVM on another machine)
 
 We had this exact same issue restoring on Windows with 5.2.6 as well
 (backups worked fine).  Downgrading to 5.0.3 for the windows client
 fixed it (my research showed a known bug that will hopefully be in the
 next release).

Thanks for sharing the workaround, being downgrade the MS Windows client

I wonder where is the known bug documented


Geert Stappers

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-04-25 Thread Christopher Hylarides
We had this exact same issue restoring on Windows with 5.2.6 as well 
(backups worked fine).  Downgrading to 5.0.3 for the windows client 
fixed it (my research showed a known bug that will hopefully be in the 
next release).

Christopher Hylarides
Systems Administrator
OANDA Corporation
+1.416.593.6767x327
http://www.oanda.com/

On 12-04-21 2:27 PM, Marco Carcano wrote:
 Dear list

 I hope that someone outthere want to help me

 I'm a totally newbie with bacula, so I hope you will forgive me if I
 may have misunderstood something

 I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
 Server (Physical). I have also installed the Windows client on a 2003
 SBS (virtualized with KVM on another machine)

 I did a test backup:

 21-apr 20:03 bacula-dir JobId 1: No prior Full backup Job record found.
 21-apr 20:03 bacula-dir JobId 1: No prior or suitable Full backup
 found in catalog. Doing FULL backup.
 21-apr 20:03 bacula-dir JobId 1: Start Backup JobId 1, Job=Alu01Weekly.
 2012-04-21_20.03.35_08
 21-apr 20:03 bacula-dir JobId 1: Using Device BacuDev01
 21-apr 20:03 bacula-sd JobId 1: Wrote label to prelabeled Volume
 Volume01 on device BacuDev01 (/mnt/backup/bacudev01)
 21-apr 20:03 alu01-fd JobId 1: Generate VSS snapshots. Driver=Win32
 VSS, Drive(s)=C
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): System
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): FSRM
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 SqlServerWriter, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Dhcp Jet
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 MSDEWriter, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Event Log
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): WINS Jet
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Registry
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): NTDS,
 State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): BITS
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): IIS
 Metabase Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): COM+
 REGDB Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 Certificate Authority, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): FRS
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): WMI
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 bacula-sd JobId 1: Job write elapsed time = 00:00:12,
 Transfer rate = 1.933 M Bytes/second
 21-apr 20:03 bacula-dir JobId 1: Bacula bacula-dir 5.2.6 (21Feb12):
 Build OS:   i686-redhat-linux-gnu redhat
 JobId:  1
 Job:Alu01Weekly.2012-04-21_20.03.35_08
 Backup Level:   Full (upgraded from Incremental)
 Client: alu01-fd 5.2.6 (21Feb12) Microsoft
 Windows Home ServerStandard Edition Service Pack 2 (build 3790),Cross-
 compile,Win32
 FileSet:Alu01File 2012-04-21 20:03:35
 Pool:   BacuPool01 (From Job resource)
 Catalog:MyCatalog (From Client resource)
 Storage:BacuDev01 (From Job resource)
 Scheduled time: 21-apr-2012 20:03:24
 Start time: 21-apr-2012 20:03:38
 End time:   21-apr-2012 20:03:50
 Elapsed time:   12 secs
 Priority:   10
 FD Files Written:   13
 SD Files Written:   13
 FD Bytes Written:   23,196,085 (23.19 MB)
 SD Bytes Written:   23,198,377 (23.19 MB)
 Rate:   1933.0 KB/s
 Software Compression:   None
 VSS:yes
 Encryption: no
 Accurate:   no
 Volume name(s): Volume01
 Volume Session Id:  1
 Volume Session Time:1335031054
 Last Volume Bytes:  23,216,537 (23.21 MB)
 Non-fatal FD errors:0
 SD Errors:  0
 FD termination status:  OK
 SD termination status:  OK
 Termination:Backup OK

 21-apr 20:03 bacula-dir JobId 1: Begin pruning Jobs older than 6
 months .
 21-apr 20:03 bacula-dir JobId 1: No Jobs found to prune.
 21-apr 20:03 bacula-dir JobId 1: Begin pruning Files.
 21-apr 20:03 bacula-dir JobId 1: No Files found to prune.
 21-apr 20:03 bacula-dir JobId 1: End auto prune.

 So I also tried to restore

 Run Restore job
 JobName: RestoreFiles
 Bootstrap:   /var/spool/bacula/bacula-dir.restore.1.bsr
 Where:
 Replace: always
 FileSet:   

Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-04-25 Thread Marco Carcano
Dear Bruno

I have 2 servers: alu01, (Windows 2003 SBS) and alu02 (Linux)

the second mail I wrote was just to show that my server setup was  
right, as I was able to backup and recovery on alu02 (the linux  
server), and I was able to backup from alu01 (the Windows server) too,  
but that I was not able to recovery on alu01 (the Windows server)

I think that Christopher is right, so I'll try to install The 5.0.3  
Windows version of bacula client

thanks

Marco Carcano





Il giorno 24/apr/12, alle ore 18:24, Bruno Friedmann ha scritto:

 You try to restore on alu02-fd when the windows client is called
 alu01-fd

 :D


 On Sunday 22 April 2012 15.48:10 Marco Carcano wrote:
 by the way, I have another Linux server, and if I try to restore on  
 it
 it works like a charm and I got the files restored

 anyone that wants to help this poor newbie?

 the following is what I got when I try to restore the other linux
 server (the working one)


 Run Restore job
 JobName: RestoreFiles
 Bootstrap:   /var/spool/bacula/bacula-dir.restore.2.bsr
 Where:   /tmp/foo
 Replace: always
 FileSet: Full Set
 Backup Client:   alu02-fd
 Restore Client:  alu02-fd
 Storage: BacuDev01
 When:2012-04-22 15:42:26
 Catalog: MyCatalog
 Priority:10
 Plugin Options:  *None*
 OK to run? (yes/mod/no): y


 22-apr 15:42 bacula-dir JobId 9: Start Restore Job RestoreFiles.
 2012-04-22_15.42.39_26
 22-apr 15:42 bacula-dir JobId 9: Using Device BacuDev01
 22-apr 15:42 bacula-sd JobId 9: Ready to read from volume Volume01
 on device BacuDev01 (/mnt/backup/bacudev01).
 22-apr 15:42 bacula-sd JobId 9: Forward spacing Volume Volume01 to
 file:block 0:65600921.
 22-apr 15:42 bacula-dir JobId 9: Bacula bacula-dir 5.2.6 (21Feb12):
   Build OS:   i686-redhat-linux-gnu redhat
   JobId:  9
   Job:RestoreFiles.2012-04-22_15.42.39_26
   Restore Client: alu02-fd
   Start time: 22-apr-2012 15:42:41
   End time:   22-apr-2012 15:42:41
   Files Expected: 1
   Files Restored: 1
   Bytes Restored: 399
   Rate:   0.0 KB/s
   FD Errors:  0
   FD termination status:  OK
   SD termination status:  OK
   Termination:Restore OK

 22-apr 15:42 bacula-dir JobId 9: Begin pruning Jobs older than 6
 months .
 22-apr 15:42 bacula-dir JobId 9: No Jobs found to prune.
 22-apr 15:42 bacula-dir JobId 9: Begin pruning Files.
 22-apr 15:42 bacula-dir JobId 9: No Files found to prune.
 22-apr 15:42 bacula-dir JobId 9: End auto prune.

 Il giorno 21/apr/12, alle ore 20:27, Marco Carcano ha scritto:

 Dear list

 I hope that someone outthere want to help me

 I'm a totally newbie with bacula, so I hope you will forgive me if I
 may have misunderstood something

 I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
 Server (Physical). I have also installed the Windows client on a  
 2003
 SBS (virtualized with KVM on another machine)

 I did a test backup:

 21-apr 20:03 bacula-dir JobId 1: No prior Full backup Job record
 found.
 21-apr 20:03 bacula-dir JobId 1: No prior or suitable Full backup
 found in catalog. Doing FULL backup.
 21-apr 20:03 bacula-dir JobId 1: Start Backup JobId 1,
 Job=Alu01Weekly.
 2012-04-21_20.03.35_08
 21-apr 20:03 bacula-dir JobId 1: Using Device BacuDev01
 21-apr 20:03 bacula-sd JobId 1: Wrote label to prelabeled Volume
 Volume01 on device BacuDev01 (/mnt/backup/bacudev01)
 21-apr 20:03 alu01-fd JobId 1: Generate VSS snapshots. Driver=Win32
 VSS, Drive(s)=C
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): System
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): FSRM
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 SqlServerWriter, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Dhcp  
 Jet
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 MSDEWriter, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Event  
 Log
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): WINS  
 Jet
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):  
 Registry
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): NTDS,
 State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): BITS
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): IIS
 Metabase Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): COM+
 REGDB Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 Certificate Authority, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 

Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-04-24 Thread Bruno Friedmann
You try to restore on alu02-fd when the windows client is called 
alu01-fd

:D


On Sunday 22 April 2012 15.48:10 Marco Carcano wrote:
 by the way, I have another Linux server, and if I try to restore on it  
 it works like a charm and I got the files restored
 
 anyone that wants to help this poor newbie?
 
 the following is what I got when I try to restore the other linux  
 server (the working one)
 
 
 Run Restore job
 JobName: RestoreFiles
 Bootstrap:   /var/spool/bacula/bacula-dir.restore.2.bsr
 Where:   /tmp/foo
 Replace: always
 FileSet: Full Set
 Backup Client:   alu02-fd
 Restore Client:  alu02-fd
 Storage: BacuDev01
 When:2012-04-22 15:42:26
 Catalog: MyCatalog
 Priority:10
 Plugin Options:  *None*
 OK to run? (yes/mod/no): y
 
 
 22-apr 15:42 bacula-dir JobId 9: Start Restore Job RestoreFiles. 
 2012-04-22_15.42.39_26
 22-apr 15:42 bacula-dir JobId 9: Using Device BacuDev01
 22-apr 15:42 bacula-sd JobId 9: Ready to read from volume Volume01  
 on device BacuDev01 (/mnt/backup/bacudev01).
 22-apr 15:42 bacula-sd JobId 9: Forward spacing Volume Volume01 to  
 file:block 0:65600921.
 22-apr 15:42 bacula-dir JobId 9: Bacula bacula-dir 5.2.6 (21Feb12):
Build OS:   i686-redhat-linux-gnu redhat
JobId:  9
Job:RestoreFiles.2012-04-22_15.42.39_26
Restore Client: alu02-fd
Start time: 22-apr-2012 15:42:41
End time:   22-apr-2012 15:42:41
Files Expected: 1
Files Restored: 1
Bytes Restored: 399
Rate:   0.0 KB/s
FD Errors:  0
FD termination status:  OK
SD termination status:  OK
Termination:Restore OK
 
 22-apr 15:42 bacula-dir JobId 9: Begin pruning Jobs older than 6  
 months .
 22-apr 15:42 bacula-dir JobId 9: No Jobs found to prune.
 22-apr 15:42 bacula-dir JobId 9: Begin pruning Files.
 22-apr 15:42 bacula-dir JobId 9: No Files found to prune.
 22-apr 15:42 bacula-dir JobId 9: End auto prune.
 
 Il giorno 21/apr/12, alle ore 20:27, Marco Carcano ha scritto:
 
  Dear list
 
  I hope that someone outthere want to help me
 
  I'm a totally newbie with bacula, so I hope you will forgive me if I
  may have misunderstood something
 
  I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
  Server (Physical). I have also installed the Windows client on a 2003
  SBS (virtualized with KVM on another machine)
 
  I did a test backup:
 
  21-apr 20:03 bacula-dir JobId 1: No prior Full backup Job record  
  found.
  21-apr 20:03 bacula-dir JobId 1: No prior or suitable Full backup
  found in catalog. Doing FULL backup.
  21-apr 20:03 bacula-dir JobId 1: Start Backup JobId 1,  
  Job=Alu01Weekly.
  2012-04-21_20.03.35_08
  21-apr 20:03 bacula-dir JobId 1: Using Device BacuDev01
  21-apr 20:03 bacula-sd JobId 1: Wrote label to prelabeled Volume
  Volume01 on device BacuDev01 (/mnt/backup/bacudev01)
  21-apr 20:03 alu01-fd JobId 1: Generate VSS snapshots. Driver=Win32
  VSS, Drive(s)=C
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): System
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): FSRM
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
  SqlServerWriter, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Dhcp Jet
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
  MSDEWriter, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Event Log
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): WINS Jet
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Registry
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): NTDS,
  State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): BITS
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): IIS
  Metabase Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): COM+
  REGDB Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
  Certificate Authority, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): FRS
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): WMI
  Writer, State: 0x1 (VSS_WS_STABLE)
  21-apr 20:03 bacula-sd JobId 1: Job write elapsed time = 00:00:12,
  Transfer rate = 1.933 M Bytes/second
  21-apr 20:03 bacula-dir JobId 1: Bacula bacula-dir 5.2.6 (21Feb12):
Build OS:   i686-redhat-linux-gnu redhat
JobId:  1
Job:

Re: [Bacula-users] Restore issue with Windows 2003 SBS client

2012-04-22 Thread Marco Carcano
by the way, I have another Linux server, and if I try to restore on it  
it works like a charm and I got the files restored

anyone that wants to help this poor newbie?

the following is what I got when I try to restore the other linux  
server (the working one)


Run Restore job
JobName: RestoreFiles
Bootstrap:   /var/spool/bacula/bacula-dir.restore.2.bsr
Where:   /tmp/foo
Replace: always
FileSet: Full Set
Backup Client:   alu02-fd
Restore Client:  alu02-fd
Storage: BacuDev01
When:2012-04-22 15:42:26
Catalog: MyCatalog
Priority:10
Plugin Options:  *None*
OK to run? (yes/mod/no): y


22-apr 15:42 bacula-dir JobId 9: Start Restore Job RestoreFiles. 
2012-04-22_15.42.39_26
22-apr 15:42 bacula-dir JobId 9: Using Device BacuDev01
22-apr 15:42 bacula-sd JobId 9: Ready to read from volume Volume01  
on device BacuDev01 (/mnt/backup/bacudev01).
22-apr 15:42 bacula-sd JobId 9: Forward spacing Volume Volume01 to  
file:block 0:65600921.
22-apr 15:42 bacula-dir JobId 9: Bacula bacula-dir 5.2.6 (21Feb12):
   Build OS:   i686-redhat-linux-gnu redhat
   JobId:  9
   Job:RestoreFiles.2012-04-22_15.42.39_26
   Restore Client: alu02-fd
   Start time: 22-apr-2012 15:42:41
   End time:   22-apr-2012 15:42:41
   Files Expected: 1
   Files Restored: 1
   Bytes Restored: 399
   Rate:   0.0 KB/s
   FD Errors:  0
   FD termination status:  OK
   SD termination status:  OK
   Termination:Restore OK

22-apr 15:42 bacula-dir JobId 9: Begin pruning Jobs older than 6  
months .
22-apr 15:42 bacula-dir JobId 9: No Jobs found to prune.
22-apr 15:42 bacula-dir JobId 9: Begin pruning Files.
22-apr 15:42 bacula-dir JobId 9: No Files found to prune.
22-apr 15:42 bacula-dir JobId 9: End auto prune.

Il giorno 21/apr/12, alle ore 20:27, Marco Carcano ha scritto:

 Dear list

 I hope that someone outthere want to help me

 I'm a totally newbie with bacula, so I hope you will forgive me if I
 may have misunderstood something

 I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6
 Server (Physical). I have also installed the Windows client on a 2003
 SBS (virtualized with KVM on another machine)

 I did a test backup:

 21-apr 20:03 bacula-dir JobId 1: No prior Full backup Job record  
 found.
 21-apr 20:03 bacula-dir JobId 1: No prior or suitable Full backup
 found in catalog. Doing FULL backup.
 21-apr 20:03 bacula-dir JobId 1: Start Backup JobId 1,  
 Job=Alu01Weekly.
 2012-04-21_20.03.35_08
 21-apr 20:03 bacula-dir JobId 1: Using Device BacuDev01
 21-apr 20:03 bacula-sd JobId 1: Wrote label to prelabeled Volume
 Volume01 on device BacuDev01 (/mnt/backup/bacudev01)
 21-apr 20:03 alu01-fd JobId 1: Generate VSS snapshots. Driver=Win32
 VSS, Drive(s)=C
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): System
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): FSRM
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 SqlServerWriter, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Dhcp Jet
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 MSDEWriter, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Event Log
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): WINS Jet
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): Registry
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): NTDS,
 State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): BITS
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): IIS
 Metabase Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): COM+
 REGDB Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete):
 Certificate Authority, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): FRS
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 alu01-fd JobId 1: VSS Writer (BackupComplete): WMI
 Writer, State: 0x1 (VSS_WS_STABLE)
 21-apr 20:03 bacula-sd JobId 1: Job write elapsed time = 00:00:12,
 Transfer rate = 1.933 M Bytes/second
 21-apr 20:03 bacula-dir JobId 1: Bacula bacula-dir 5.2.6 (21Feb12):
   Build OS:   i686-redhat-linux-gnu redhat
   JobId:  1
   Job:Alu01Weekly.2012-04-21_20.03.35_08
   Backup Level:   Full (upgraded from Incremental)
   Client: alu01-fd 5.2.6 (21Feb12) Microsoft
 Windows Home ServerStandard Edition Service Pack 2 (build 3790),Cross-
 compile,Win32
   

Re: [Bacula-users] Restore issue?

2009-05-29 Thread Graham Keeling
On Fri, May 29, 2009 at 12:13:02AM -0400, Jason A. Kates wrote:
...
 28-May 20:32 backup-server-sd JobId 67400: Error: block.c:275 Volume
 data error at 339:441! Wanted ID: BB02, got . Buffer discarded.
...

I used to get this error on restore if I had the 'autopurge corruption bug'.

More information starts here (or you can google for it if the links are
now broken):
http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg34768.html

Basically:
a) a bacula job starts writing to a volume,
b) a second job starts and because the first job doesn't set up things in the
database correctly until the job has finished, or 1gb has been backed up...
c) ...the second job purges the volume and starts writing to it.
d) both jobs report success.

So, you end up with corrupted data.

If I remember correctly, it only happens if you have it set up so that a volume
has a maximum of one job, and the jobs that you are running overlap.
If you are using bacula-3.0.0 or newer, this problem should be fixed.


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue?

2009-05-29 Thread Jason A. Kates
This is a tape volume with 29 jobs on it with a retention period of 12
months.

llist volume=AX7321L4
  MediaId: 176
   VolumeName: AX7321L4
 Slot: 45
   PoolId: 2
MediaType: LTO-3
 FirstWritten: 2009-04-04 06:06:49
  LastWritten: 2009-04-25 00:18:29
LabelDate: 2009-04-04 06:06:49
  VolJobs: 28
 VolFiles: 1,458
VolBlocks: 1,386,698
VolMounts: 7
 VolBytes: 1,454,042,716,160
VolErrors: 0
VolWrites: 2,609,155
 VolCapacityBytes: 0
VolStatus: Full
  Enabled: 1
  Recycle: 1
 VolRetention: 31,104,000
   VolUseDuration: 0
   MaxVolJobs: 0
  MaxVolFiles: 0
  MaxVolBytes: 0
InChanger: 1
  EndFile: 337
 EndBlock: 879
 VolParts: 0
LabelType: 0
StorageId: 5
 DeviceId: 0
   LocationId: 0
 RecycleCount: 1
 InitialWrite: -00-00 00:00:00
ScratchPoolId: 0
RecyclePoolId: 0
  Comment: NULL


On Fri, 2009-05-29 at 09:21 +0100, Graham Keeling wrote:
 On Fri, May 29, 2009 at 12:13:02AM -0400, Jason A. Kates wrote:
 ...
  28-May 20:32 backup-server-sd JobId 67400: Error: block.c:275 Volume
  data error at 339:441! Wanted ID: BB02, got . Buffer discarded.
 ...
 
 I used to get this error on restore if I had the 'autopurge corruption bug'.
 
 More information starts here (or you can google for it if the links are
 now broken):
 http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg34768.html
 
 Basically:
 a) a bacula job starts writing to a volume,
 b) a second job starts and because the first job doesn't set up things in the
 database correctly until the job has finished, or 1gb has been backed up...
 c) ...the second job purges the volume and starts writing to it.
 d) both jobs report success.
 
 So, you end up with corrupted data.
 
 If I remember correctly, it only happens if you have it set up so that a 
 volume
 has a maximum of one job, and the jobs that you are running overlap.
 If you are using bacula-3.0.0 or newer, this problem should be fixed.
 
 
 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
 Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 

Jason A. Kates (ja...@kates.org) 
Fax:208-975-1514
Phone:  212-400-1670 x2




--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue?

2009-05-29 Thread Graham Keeling
On Fri, May 29, 2009 at 09:47:13AM -0400, Jason A. Kates wrote:
 This is a tape volume with 29 jobs on it with a retention period of 12
 months.
 
 llist volume=AX7321L4
   MediaId: 176
VolumeName: AX7321L4
  Slot: 45
PoolId: 2
 MediaType: LTO-3
  FirstWritten: 2009-04-04 06:06:49
   LastWritten: 2009-04-25 00:18:29
 LabelDate: 2009-04-04 06:06:49
   VolJobs: 28
  VolFiles: 1,458
 VolBlocks: 1,386,698
 VolMounts: 7
  VolBytes: 1,454,042,716,160
 VolErrors: 0
 VolWrites: 2,609,155
  VolCapacityBytes: 0
 VolStatus: Full
   Enabled: 1
   Recycle: 1
  VolRetention: 31,104,000
VolUseDuration: 0
MaxVolJobs: 0
   MaxVolFiles: 0
   MaxVolBytes: 0
 InChanger: 1
   EndFile: 337
  EndBlock: 879
  VolParts: 0
 LabelType: 0
 StorageId: 5
  DeviceId: 0
LocationId: 0
  RecycleCount: 1
  InitialWrite: -00-00 00:00:00
 ScratchPoolId: 0
 RecyclePoolId: 0
   Comment: NULL
 
 
 On Fri, 2009-05-29 at 09:21 +0100, Graham Keeling wrote:
  On Fri, May 29, 2009 at 12:13:02AM -0400, Jason A. Kates wrote:
  ...
   28-May 20:32 backup-server-sd JobId 67400: Error: block.c:275 Volume
   data error at 339:441! Wanted ID: BB02, got . Buffer discarded.
  ...
  
  I used to get this error on restore if I had the 'autopurge corruption bug'.
  
  More information starts here (or you can google for it if the links are
  now broken):
  http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg34768.html
  
  Basically:
  a) a bacula job starts writing to a volume,
  b) a second job starts and because the first job doesn't set up things in 
  the
  database correctly until the job has finished, or 1gb has been backed up...
  c) ...the second job purges the volume and starts writing to it.
  d) both jobs report success.
  
  So, you end up with corrupted data.
  
  If I remember correctly, it only happens if you have it set up so that a 
  volume
  has a maximum of one job, and the jobs that you are running overlap.
  If you are using bacula-3.0.0 or newer, this problem should be fixed.

Then you have probably not hit the bug that I am thinking of.
You might want to provide more information about your setup if you want other
people to help you.
Like the version of bacula that you are using.

Though, it looks to me as if the data on your tape is corrupted somehow.
It does say data error at xxx:xxx. Whether that is because of a bug, or
because your tape is damaged, I don't know.


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue?

2009-05-29 Thread Jason A. Kates
I don't know what else might be useful. 
The version that I am attempting to use for the restore is: 3.0.1
The backup was written with version: bacula-2.5.28-b1

 -Jason

On Fri, 2009-05-29 at 15:52 +0100, Graham Keeling wrote:
 On Fri, May 29, 2009 at 09:47:13AM -0400, Jason A. Kates wrote:
  This is a tape volume with 29 jobs on it with a retention period of 12
  months.
  
  llist volume=AX7321L4
MediaId: 176
 VolumeName: AX7321L4
   Slot: 45
 PoolId: 2
  MediaType: LTO-3
   FirstWritten: 2009-04-04 06:06:49
LastWritten: 2009-04-25 00:18:29
  LabelDate: 2009-04-04 06:06:49
VolJobs: 28
   VolFiles: 1,458
  VolBlocks: 1,386,698
  VolMounts: 7
   VolBytes: 1,454,042,716,160
  VolErrors: 0
  VolWrites: 2,609,155
   VolCapacityBytes: 0
  VolStatus: Full
Enabled: 1
Recycle: 1
   VolRetention: 31,104,000
 VolUseDuration: 0
 MaxVolJobs: 0
MaxVolFiles: 0
MaxVolBytes: 0
  InChanger: 1
EndFile: 337
   EndBlock: 879
   VolParts: 0
  LabelType: 0
  StorageId: 5
   DeviceId: 0
 LocationId: 0
   RecycleCount: 1
   InitialWrite: -00-00 00:00:00
  ScratchPoolId: 0
  RecyclePoolId: 0
Comment: NULL
  
  
  On Fri, 2009-05-29 at 09:21 +0100, Graham Keeling wrote:
   On Fri, May 29, 2009 at 12:13:02AM -0400, Jason A. Kates wrote:
   ...
28-May 20:32 backup-server-sd JobId 67400: Error: block.c:275 Volume
data error at 339:441! Wanted ID: BB02, got . Buffer discarded.
   ...
   
   I used to get this error on restore if I had the 'autopurge corruption 
   bug'.
   
   More information starts here (or you can google for it if the links are
   now broken):
   http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg34768.html
   
   Basically:
   a) a bacula job starts writing to a volume,
   b) a second job starts and because the first job doesn't set up things in 
   the
   database correctly until the job has finished, or 1gb has been backed 
   up...
   c) ...the second job purges the volume and starts writing to it.
   d) both jobs report success.
   
   So, you end up with corrupted data.
   
   If I remember correctly, it only happens if you have it set up so that a 
   volume
   has a maximum of one job, and the jobs that you are running overlap.
   If you are using bacula-3.0.0 or newer, this problem should be fixed.
 
 Then you have probably not hit the bug that I am thinking of.
 You might want to provide more information about your setup if you want other
 people to help you.
 Like the version of bacula that you are using.
 
 Though, it looks to me as if the data on your tape is corrupted somehow.
 It does say data error at xxx:xxx. Whether that is because of a bug, or
 because your tape is damaged, I don't know.
 
 
 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
 is a gathering of tech-side developers  brand creativity professionals. Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing,  
 iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
 Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 

Jason A. Kates (ja...@kates.org) 
Fax:208-975-1514
Phone:  212-400-1670 x2




--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue on Bacula 1.38.11 on Solaris 10.

2008-11-19 Thread Louis-Andre Larose
Hi Martin,

Thank you for your tips,

here are the result of the sql commands:
mysql select count(*) from File where jobid=16435;
+--+
| count(*) |
+--+
|  2828311 | 
+--+
1 row in set (32.97 sec)

mysql select count(*) from File where jobid=16435 and not filenameid=(select 
filenameid from Filename where name='');
+--+
| count(*) |
+--+
|  2679647 | 
+--+
1 row in set (18.54 sec)

I tried do do a dump and restore but i keep getting an error that MySql could 
not find the tables to drop when i was trying to restore the dump?

I am presently running the restore. .

this is the top from the bacula server
last pid:  5749;  load averages:  0.14,  0.03,  0.01   
15:12:09
54 processes:  53 sleeping, 1 on cpu
CPU states: 90.7% idle,  7.2% user,  2.1% kernel,  0.0% iowait,  0.0% swap
Memory: 4096M real, 3404M free, 213M swap in use, 4951M swap free

   PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
   669 root   4  59    0   18M   14M sleep  123:00  7.35% bacula-dir
  5696 alarose    1  59    0 3176K 2376K cpu/0    0:04  0.05% top


this is the top from mysql server
last pid: 16156;  load averages:  0.22,  0.10,  0.15   
15:12:49
48 processes:  46 sleeping, 1 zombie, 1 on cpu
CPU states: 98.0% idle,  1.0% user,  1.0% kernel,  0.0% iowait,  0.0% swap
Memory: 2048M real, 908M free, 1360M swap in use, 2062M swap free

   PID USERNAME THR PRI NICE  SIZE   RES STATE    TIME    CPU COMMAND
 16145 mysql 10  59    0 1084M  235M sleep    0:30  8.05% mysqld
 16154 root   1  59    0 3168K 2392K cpu/0    0:02  0.10% top

as you can see both servers are not very busy. 

I will post the result of choosing * once the restore is done.

many thanks


Friday, November 14, 2008 4:48 PM

From: 

Martin Simmons
[EMAIL PROTECTED]

To: 

bacula-users@lists.sourceforge.net

It would be useful to run these
two sql commands to see what is in the

catalog:


select count(*) from file where jobid=16435;


select count(*) from file where jobid=16435 and not filenameid=(select
filenameid from filename where name='');


Also, what happens if you do 'mark *' at the restore prompt?  It should
print

the number of files actually marked, which might be different from the number

it claims were inserted.


I don't think the director limits the memory itself, so it will grow up to

whatever size the OS allows.  Try running top while building the tree and
see

what size it says for bacula-dir.


__Martin



 On Fri, 14 Nov 2008 08:50:21 -0800 (PST), Louis-Andre
Larose said:

 

      Hi,

 

















  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue on Bacula 1.38.11 on Solaris 10.

2008-11-14 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Louis-Andre Larose wrote:
 
  Hi,
 
 I have a strange error when I try to restore a job on Bacula 1.38.11
 on Solaris 10 ( i know this is old, but it has been running for 18
 months without a glitch ) .
 
 I have to restore part of a fileset from a Bacula job that  is 55GB
 and contains 2,828,311 files.
 The file list creation takes about 4h hours to process and the list
 is missing a lot of files in the list. The restore inserted only 443,973
 files of the 2,828,311 .
 
 I suspect the process does not have enough memory to process the
 whole list.
 Is there something I can do to give the director more memory to work
 with?
 
 Is there another way to restore the files?
 
 below is a log of my session:
 
 *restore
 
  First you select one or more JobIds that contain files
 
 to be restored. You will be presented several methods
 
 of specifying the JobIds. Then you will be allowed to
 
 select which files from those JobIds are to be restored.
 
 
 
 To select the JobIds, you have the following choices:
 
  1: List last 20 Jobs run
 
  2: List Jobs where a given File is saved
 
  3: Enter list of comma separated JobIds to select
 
  4: Enter SQL list command
 
  5: Select the most recent backup for a client
 
  6: Select backup for a client before a specified time
 
  7: Enter a list of files to restore
 
  8: Enter a list of files to restore before a specified time
 
  9: Find the JobIds of the most recent backup for a client
 
 10: Find the JobIds for a backup for a client before a specified
 time
 
 11: Enter a list of directories to restore for found JobIds
 
 12: Cancel
 
 Select item:  (1-12): 3
 
 Enter JobId(s), comma separated, to restore: 16435
 
 You have selected the following JobId: 16435
 
 
 
 Building directory tree for JobId 16435 ...  +++
 
 1 Job, 443,973 files inserted into the tree.

 
 You are now entering file selection mode where you add (mark) and
 
 remove (unmark) files to be restored. No files are initially added,
 unless
 
 you used the all keyword on the command line.
 
 Enter done to leave this mode.
 ...
 
 Thank you for any help you can provide.

You've said absolutely nothing about your database, not even what type.
I forget whether this is one of those cases, but in many cases how that
is configured makes a major difference.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II
 |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJHbWDmb+gadEcsb4RAnnJAJ9KMMpl6Tm6btv3Pm4rYWDrW/S/LACeMWjH
oYPKSNPqbMAxm/8Q6TghdyY=
=PYqT
-END PGP SIGNATURE-
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/AST
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103
email;internet:[EMAIL PROTECTED]
title:Systems Programmer II
tel;work:(973) 972-0922
tel;fax:(973) 972-7412
tel;pager:(866) 20-UMDNJ
x-mozilla-html:FALSE
version:2.1
end:vcard

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue on Bacula 1.38.11 on Solaris 10.

2008-11-14 Thread Louis-Andre Larose
Sorry i forgot the DB.

I use Mysql  version: 5.0.27-standard  on another Solaris 10 server.

When the Bacula is busy building the list; the Database is almost not working ( 
1% to 3% ) and the Bacula server is busy 100%. But when Bacula does a list for 
a smaller job , about 400,000 files, the build takes 2 minutes and the DB is 
busy at 90%. 

Do you think a dump and relaod would help in this case ?

Is it possible to tell the Director to take more memory to work? 

Thanks

-BEGIN PGP SIGNED MESSAGE-

 Hash: SHA1

 

 Louis-Andre Larose wrote:

  

   Hi,

  

  I have a strange error when I try to restore a job on Bacula 1.38.11

  on Solaris 10 ( i know this is old, but it has been running for 18

  months without a glitch ) .

  

  I have to restore part of a fileset from a Bacula job that  is 55GB

  and contains 2,828,311 files.

  The file list creation takes about 4h hours to process and the list

  is missing a lot of files in the list. The restore inserted only 443,973

  files of the 2,828,311 .

  

  I suspect the process does not have enough memory to process the

  whole list.

  Is there something I can do to give the director more memory to work

  with?

  

  Is there another way to restore the files?

  

  below is a log of my session:

  

  *restore

  

   First you select one or more JobIds that contain files

  

  to be restored. You will be presented several methods

  

  of specifying the JobIds. Then you will be allowed to

  

  select which files from those JobIds are to be restored.

  

  

  

  To select the JobIds, you have the following choices:

  

   1: List last 20 Jobs run

  

   2: List Jobs where a given File is saved

  

   3: Enter list of comma separated JobIds to select

  

   4: Enter SQL list command

  

   5: Select the most recent backup for a client

  

   6: Select backup for a client before a specified time

  

   7: Enter a list of files to restore

  

   8: Enter a list of files to restore before a specified time

  

   9: Find the JobIds of the most recent backup for a client

  

  10: Find the JobIds for a backup for a client before a specified

  time

  

  11: Enter a list of directories to restore for found JobIds

  

  12: Cancel

  

  Select item:  (1-12): 3

  

  Enter JobId(s), comma separated, to restore: 16435

  

  You have selected the following JobId: 16435

  

  

  

  Building directory tree for JobId 16435 ...  +++

  

  1 Job, 443,973 files inserted into the tree.

 

  

  You are now entering file selection mode where you add (mark) and

  

  remove (unmark) files to be restored. No files are initially added,

  unless

  

  you used the all keyword on the command line.

  

  Enter done to leave this mode.

  ...

  

  Thank you for any help you can provide.

 

 You've said absolutely nothing about your database, not even what type.

 I forget whether this is one of those cases, but in many cases how that

 is configured makes a major difference.

 

 - --

   _  _ _  _ ___  _  _  _

  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer II

  |$| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)

  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630

 -BEGIN PGP SIGNATURE-

 Version: GnuPG v1.4.6 (GNU/Linux)

 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 

 iD8DBQFJHbWDmb+gadEcsb4RAnnJAJ9KMMpl6Tm6btv3Pm4rYWDrW/S/LACeMWjH

 oYPKSNPqbMAxm/8Q6TghdyY=

 =PYqT

 -END PGP SIGNATURE-




  -
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue on Bacula 1.38.11 on Solaris 10.

2008-11-14 Thread Martin Simmons
It would be useful to run these two sql commands to see what is in the
catalog:

select count(*) from file where jobid=16435;

select count(*) from file where jobid=16435 and not filenameid=(select 
filenameid from filename where name='');

Also, what happens if you do 'mark *' at the restore prompt?  It should print
the number of files actually marked, which might be different from the number
it claims were inserted.

I don't think the director limits the memory itself, so it will grow up to
whatever size the OS allows.  Try running top while building the tree and see
what size it says for bacula-dir.

__Martin


 On Fri, 14 Nov 2008 08:50:21 -0800 (PST), Louis-Andre Larose said:
 
  Hi,
 
 I have a strange error when I try to restore a job on Bacula 1.38.11 on
 Solaris 10 ( i know this is old, but it has been running for 18 months
 without a glitch ) .
 
 I have to restore part of a fileset from a Bacula job that  is 55GB and
 contains 2,828,311 files.
 The file list creation takes about 4h hours to process and the list is
 missing a lot of files in the list. The restore inserted only 443,973
 files of the 2,828,311 .
 
 I suspect the process does not have enough memory to process the whole
 list.
 Is there something I can do to give the director more memory to work
 with?
 
 Is there another way to restore the files?
 
 below is a log of my session:
 
 *restore
  First you select one or more JobIds that contain files
 to be restored. You will be presented several methods
 of specifying the JobIds. Then you will be allowed to
 select which files from those JobIds are to be restored.
 
 
 To select the JobIds, you have the following choices:
  1: List last 20 Jobs run
  2: List Jobs where a given File is saved
  3: Enter list of comma separated JobIds to select
  4: Enter SQL list command
  5: Select the most recent backup for a client
  6: Select backup for a client before a specified time
  7: Enter a list of files to restore
  8: Enter a list of files to restore before a specified time
  9: Find the JobIds of the most recent backup for a client
 10: Find the JobIds for a backup for a client before a specified time
 11: Enter a list of directories to restore for found JobIds
 12: Cancel
 Select item:  (1-12): 3
 Enter JobId(s), comma separated, to restore: 16435
 You have selected the following JobId: 16435
 
 Building directory tree for JobId 16435 ...  +++
 1 Job, 443,973 files inserted into the tree.
 
 You are now entering file selection mode where you add (mark) and
 remove (unmark) files to be restored. No files are initially added, unless
 you used the all keyword on the command line.
 Enter done to leave this mode.
 ...
 
 Thank you for any help you can provide.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue

2008-01-17 Thread Chris Sarginson -Technical Support
Thanks for that, I never even spotted that option before.

Kind regards

Chris Sarginson
Technical Support
UKFast.Net Ltd

(t) 0870 111 8866
(f) 0870 458 4545

The UK's Best Hosting Provider ISPA Awards 2007, 2006 and 2005

Dedicated Servers - Managed Hosting - Domain Names- http://www.ukfast.net

UKFast.Net Ltd, City Tower, Piccadilly Plaza, Manchester, M1 4BT
Registered in England. Number 384 5616

Arno Lehmann wrote:
 Hi,
 
 10.01.2008 13:32, Chris Sarginson wrote:
 Hi Guys,

 I'm currently trying to do a restore, after having to rescan in some 
 volumes using bscan, however it's telling me that it is unable to find 
 any full backup prior to today.

 I can see the files by performing llist files jobid=145 through 
 bconsole, but when I try to select the most recent restore I get:

 No Full backup before 2008-01-10 11:38:56 found.

 Does anyone have any suggestions. I'm currently also in IRC (MilkFloat 
 in #bacula on irc.freenode.net) if anyone wants to jump on and have a 
 word with me.
 
 No IRC, but why don't you simply try to restore that job ID? I suspect 
 that, after bscan, the relation between jobs and the tape data is not 
 correct - I guess a look into the catalog could confirm that, but I 
 don't have time to try this today...
 
 Arno
 
 

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore issue

2008-01-10 Thread Arno Lehmann
Hi,

10.01.2008 13:32, Chris Sarginson wrote:
 Hi Guys,
 
 I'm currently trying to do a restore, after having to rescan in some 
 volumes using bscan, however it's telling me that it is unable to find 
 any full backup prior to today.
 
 I can see the files by performing llist files jobid=145 through 
 bconsole, but when I try to select the most recent restore I get:
 
 No Full backup before 2008-01-10 11:38:56 found.
 
 Does anyone have any suggestions. I'm currently also in IRC (MilkFloat 
 in #bacula on irc.freenode.net) if anyone wants to jump on and have a 
 word with me.

No IRC, but why don't you simply try to restore that job ID? I suspect 
that, after bscan, the relation between jobs and the tape data is not 
correct - I guess a look into the catalog could confirm that, but I 
don't have time to try this today...

Arno


-- 
Arno Lehmann
IT-Service Lehmann
www.its-lehmann.de

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Issue with 1.36

2005-12-29 Thread Arno Lehmann

Hello,

On 12/29/2005 1:15 AM, Trevor Morrison wrote:

Arno,

I believe I have fixed part of the problem by using a working copy of a 
friends dir conf file's fileset.  But when I restore it fills the mount 
points: /var, /usr/, /home,/boot correctly but still overflows the / 
partition and consequently fails the restore.  When I do a du -ks from 
the root it correctly reports the total bytes of the restore but the / 
is all filled up.  I don't get it.  Any help is appreciated.


It would be quite interesting to see which files are so much bigger (or 
more) than before the backup. In the root directory, 'du -ksx' is one 
way to find the directories which grow beyond available space. Once you 
see a larger directory than expected, you can investigate further.


The other option would be to observe the restoration process itself, 
i.e. with bconsole, use 'sta client=xxx' or 'sta sd=yyy' during restore 
to see which files are written.


Or, the - in my opinion - best solution, would be a simple catalog query 
using bconsole:

After entering que, I can get the following output:

Choose a query (1-20): 6
Enter Client Name: ork-fd
+---++---+-+--+---+--+
| JobId | Client | Level | StartTime   | JobFiles | JobBytes  | 
VolumeName   |
+---++---+-+--+---+--+
|   656 | ork-fd | I | 2005-01-03 08:45:58 |  397 |   334,860,412 | 
DAT-120-0008 |
|   672 | ork-fd | F | 2005-01-04 12:02:53 |  198,254 | 3,212,502,182 | 
DLT-IV-0009  |
| 1,667 | ork-fd | F | 2005-04-05 08:20:01 |  189,040 | 3,274,261,262 | 
DAT-120-0018 |
| 1,667 | ork-fd | F | 2005-04-05 08:20:01 |  189,040 | 3,274,261,262 | 
DAT-120-0019 |
| 1,962 | ork-fd | F | 2005-05-03 08:20:02 |  189,309 | 3,297,982,194 | 
DLT-IV-0032  |
| 2,327 | ork-fd | F | 2005-06-07 08:20:04 |  199,933 | 3,519,981,110 | 
DLT-IV-0026  |
| 2,455 | ork-fd | D | 2005-06-21 08:20:03 |5,568 |   464,885,118 | 
DAT-120-0016 |
| 2,521 | ork-fd | D | 2005-06-28 08:20:02 |8,586 |   511,513,697 | 
DAT-120-0016 |
| 2,589 | ork-fd | F | 2005-07-05 08:20:04 |  200,255 | 3,524,625,483 | 
DLT-IV-0029  |
| 2,589 | ork-fd | F | 2005-07-05 08:20:04 |  200,255 | 3,524,625,483 | 
DLT-IV-0033  |
| 2,663 | ork-fd | D | 2005-07-12 08:20:02 |3,723 |   427,631,422 | 
DAT-120-0034 |
| 2,763 | ork-fd | D | 2005-07-19 11:14:52 |   10,633 |   468,652,425 | 
DAT-120-0021 |
| 2,830 | ork-fd | D | 2005-07-26 10:56:32 |   15,716 |   477,986,238 | 
DAT-120-0041 |
| 2,899 | ork-fd | F | 2005-08-02 08:20:06 |  199,290 | 3,250,178,144 | 
DLT-IV-0037  |
| 2,954 | ork-fd | D | 2005-08-23 11:26:53 |5,599 |   468,837,763 | 
DAT-120-0041 |
| 3,052 | ork-fd | D | 2005-08-30 08:25:04 |   13,184 |   590,454,214 | 
DAT-120-0041 |
| 3,138 | ork-fd | F | 2005-09-06 08:20:06 |  189,835 | 3,257,083,731 | 
DLT-IV-0044  |
| 3,211 | ork-fd | D | 2005-09-13 08:25:04 |3,833 |   359,171,475 | 
DAT-120-0043 |
| 3,330 | ork-fd | D | 2005-09-20 11:27:05 |9,309 |   461,918,843 | 
DAT-120-0039 |
| 3,411 | ork-fd | D | 2005-09-27 08:25:04 |   12,725 |   529,653,164 | 
DAT-120-0047 |
| 3,424 | ork-fd | I | 2005-09-28 08:25:04 |1,007 |   228,831,699 | 
DAT-120-0022 |
| 3,428 | ork-fd | I | 2005-09-29 11:33:41 |  660 |   226,641,143 | 
DAT-120-0022 |
| 3,443 | ork-fd | I | 2005-09-30 08:25:04 |  376 |   217,538,129 | 
DAT-120-0022 |
| 3,491 | ork-fd | F | 2005-10-04 09:58:49 |  180,908 | 3,276,048,100 | 
DLT-IV-0049  |
| 3,507 | ork-fd | F | 2005-10-05 10:34:53 |  181,865 | 3,274,143,152 | 
DLT-IV-0052  |
| 3,507 | ork-fd | F | 2005-10-05 10:34:53 |  181,865 | 3,274,143,152 | 
DLT-IV-0053  |
| 3,523 | ork-fd | I | 2005-10-06 08:25:03 |  305 |   223,397,635 | 
DAT-120-0022 |
| 3,599 | ork-fd | D | 2005-10-11 08:25:04 |1,653 |   261,578,355 | 
DAT-120-0050 |
| 3,745 | ork-fd | D | 2005-10-18 08:25:04 |6,540 |   428,830,405 | 
DAT-120-0054 |
| 3,841 | ork-fd | D | 2005-10-25 08:25:04 |   12,031 |   479,907,321 | 
DAT-120-0054 |
| 3,932 | ork-fd | F | 2005-11-01 20:46:20 |  185,417 | 3,302,536,319 | 
DLT-IV-0056  |
| 4,027 | ork-fd | D | 2005-11-08 08:25:04 |3,689 |   400,309,630 | 
DAT-120-0050 |
| 4,112 | ork-fd | D | 2005-11-15 08:25:04 |6,874 |   322,347,897 | 
DAT-120-0052 |
| 4,216 | ork-fd | D | 2005-11-22 20:00:55 |   10,494 |   368,506,470 | 
DAT-120-0015 |
| 4,301 | ork-fd | D | 2005-11-29 08:25:04 |   11,539 |   418,006,263 | 
DAT-120-0005 |
| 4,377 | ork-fd | F | 2005-12-06 08:20:05 |  190,443 | 3,217,870,655 | 
DLT-IV-0058  |
| 4,466 | ork-fd | D | 2005-12-14 00:40:30 |8,190 |   452,753,034 | 
DAT-120-0006 |
| 4,503 | ork-fd | I | 2005-12-16 22:04:54 |5,709 |   321,723,058 | 
DAT-120-0024 |
| 4,597 | ork-fd | D | 2005-12-28 01:46:29 |   17,002 |   532,750,818 | 

Re: [Bacula-users] Restore Issue with 1.36

2005-12-29 Thread Trevor Morrison




Hi Wolfgang,

I, with the help of my friend Tom, got the problems solved. Here it
goes:

1.) I have an Exabyte-8900 tape drive that passed all the btape tests
with flying colors. So I didn't think there was a problem with the
drive. We'll there was. In the bacula-sd.conf file the option under
the 8mm drive section: Hardware end of medium = yes; when I set it to
no, the drive would stop at the EOF marker and consequently the drive
would not fill up as it was doing in the past.

2.) Either I missed it in the manual it is just not there, when you do
a bare-metal recovery you must go in and do a mkdir /proc before you
reboot. The system does not do it for you. Once I did that it all
worked fine.

3.) My filesets were not excluding listed items under the Exclude
directive. My work around is that I used Tom's conf file and added my
excludes under the Options listing in Include directive and all worked
after that.

I would like to thank all who has given me suggestion along the way and
especially Tom Ruth for putting the finishing touches on it.

Thanks,

Trevor

Wolfgang Denk wrote:

  In message [EMAIL PROTECTED] you wrote:
  
  
I have no problems backing up a particular working server (RH 9) with 
about 3.2 GB worth of data.  I am testing out the restore of this 
backup  on another box and it will restore to the test box, but will try 
to write 16 GB worth of data instead of just 3.2! It is only a 10 GB 
drive to begin with.  I have attached my bacula-fd and dir .conf file if 
that can help find a solution.

  
  
Is there any chance that you have sparse files on your disk? Are  you
running any database application which uses / creates sparse files?

How much data is actually stored on your backup media? (What was  the
"FD/SD  Bytes  Written"  message  when you performed the backup? What
does "list volumes" etc. give?)

Best regards,

Wolfgang Denk

  


-- 
Trevor Morrison, PE, SCSA
17648 East Coltsfoot Court
Parker, CO 80134
720-641-7453
[EMAIL PROTECTED]




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637_id=16865=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Issue with 1.36

2005-12-28 Thread Arno Lehmann

Hello,

On 12/28/2005 12:37 AM, Trevor Morrison wrote:

Arno,

I can send the job output which is 40 MB or 2.97 MB compressed to you if 
you email will accept something that large.  Let me know.


Quite large... 40 MB Job report output?

I could accept such a mail, but I doubt that I will find the time to 
read through it...


What do the job reports for the backup jobs you want to restore state 
they saved? And what does the catalog query tell you about the amount of 
data belonging to hat client?


And, of course, you could post the report to a website and only mail the 
URL.


Arno



Thanks,

Trevor

Arno Lehmann wrote:


Hello,

On 12/27/2005 10:57 PM, Trevor Morrison wrote:


Hi,

I have no problems backing up a particular working server (RH 9) with 
about 3.2 GB worth of data.  I am testing out the restore of this 
backup  on another box and it will restore to the test box, but will 
try to write 16 GB worth of data instead of just 3.2! It is only a 10 
GB drive to begin with.  I have attached my bacula-fd and dir .conf 
file if that can help find a solution.




it would be helpful to see some more detailed output, for example some 
job report data. Perhaps there *are* much more than 3 GB of data for a 
full restore... sparse files, hard links and a huge amount of changing 
data can lead to what you observe.


Arno


TIA,




#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = stud-dir
  Password = HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = stud-mon
  Password = VrP8lmsqatXuth6F7sQMgJFWV87OdQeC1SHZLP0/5nEw
  Monitor = yes
}

#
# Global File daemon configuration specifications
#
FileDaemon {Name = stud-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
FileDaemon {Name = porthos-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
FileDaemon {Name = hailee1-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = stud-dir = all, !skipped
}




#
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
#  You might also want to change the default email address
#   from root to your address.  See the mail and operator
#   directives in the Messages resource.
#

Director {# define myself
  Name = stud-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/bacula/bin/query.sql
  WorkingDirectory = /usr/bacula/bin/working
  PidDirectory = /usr/bacula/bin
  Maximum Concurrent Jobs = 1
  Password = QiL5p4zWezlcHnUWGrMzPF+tIU30zZFsi0VSIpejHsdO # 
Console password

  Messages = Daemon
}

Schedule {
  Name = Daily
  Run = Full Fri at 10:00am
  Run = Differential sat-thu at 9:00am
}

Schedule {
  Name = Catalog
  Run = Full mon-sun at 11:00am
}

JobDefs {
  Name = Defaults
  Type = Backup
  Schedule = Daily
  Storage = 8mmDrive
  Messages = Standard
  Pool = Daily
  Priority = 10
}

#
# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp
Job {
  Name = stud
  JobDefs = Defaults
  Client=stud-fd
  FileSet=Full Set Stud
  Write Bootstrap = /usr/bacula/bin/working/stud.bsr
}

Job {
  Name = Porthos
  JobDefs = Defaults
  Client=porthos-fd
  FileSet=Full Set Porthos
  Write Bootstrap = /usr/bacula/bin/working/porthos.bsr
}

Job {
  Name = Hailee1
  JobDefs = Defaults
  Client=hailee1-fd
  FileSet=Full Set Hailee1
  Write Bootstrap = /usr/bacula/bin/working/hailee1.bsr
}

# Backup the catalog database (after the nightly save)
Job {
  Name = BackupCatalog
  JobDefs = Defaults
  Client=stud-fd
  FileSet=Catalog
  Schedule = Catalog
  # This creates an ASCII copy of the catalog
  RunBeforeJob = /usr/bacula/bin/make_catalog_backup bacula bacula
  # This deletes the copy of the catalog
  RunAfterJob  = /usr/bacula/bin/delete_catalog_backup
  Write Bootstrap = 

Re: [Bacula-users] Restore Issue with 1.36

2005-12-28 Thread Trevor Morrison

Arno,

I believe I have fixed part of the problem by using a working copy of a 
friends dir conf file's fileset.  But when I restore it fills the mount 
points: /var, /usr/, /home,/boot correctly but still overflows the / 
partition and consequently fails the restore.  When I do a du -ks from 
the root it correctly reports the total bytes of the restore but the / 
is all filled up.  I don't get it.  Any help is appreciated.


TIA,

Trevor

Arno Lehmann wrote:


Hello,

On 12/28/2005 12:37 AM, Trevor Morrison wrote:


Arno,

I can send the job output which is 40 MB or 2.97 MB compressed to you 
if you email will accept something that large.  Let me know.



Quite large... 40 MB Job report output?

I could accept such a mail, but I doubt that I will find the time to 
read through it...


What do the job reports for the backup jobs you want to restore state 
they saved? And what does the catalog query tell you about the amount 
of data belonging to hat client?


And, of course, you could post the report to a website and only mail 
the URL.


Arno



Thanks,

Trevor

Arno Lehmann wrote:


Hello,

On 12/27/2005 10:57 PM, Trevor Morrison wrote:


Hi,

I have no problems backing up a particular working server (RH 9) 
with about 3.2 GB worth of data.  I am testing out the restore of 
this backup  on another box and it will restore to the test box, 
but will try to write 16 GB worth of data instead of just 3.2! It 
is only a 10 GB drive to begin with.  I have attached my bacula-fd 
and dir .conf file if that can help find a solution.





it would be helpful to see some more detailed output, for example 
some job report data. Perhaps there *are* much more than 3 GB of 
data for a full restore... sparse files, hard links and a huge 
amount of changing data can lead to what you observe.


Arno


TIA,


 



#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = stud-dir
  Password = HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = stud-mon
  Password = VrP8lmsqatXuth6F7sQMgJFWV87OdQeC1SHZLP0/5nEw
  Monitor = yes
}

#
# Global File daemon configuration specifications
#
FileDaemon {Name = stud-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
FileDaemon {Name = porthos-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
FileDaemon {Name = hailee1-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = stud-dir = all, !skipped
}


 



#
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
#  You might also want to change the default email address
#   from root to your address.  See the mail and operator
#   directives in the Messages resource.
#

Director {# define myself
  Name = stud-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/bacula/bin/query.sql
  WorkingDirectory = /usr/bacula/bin/working
  PidDirectory = /usr/bacula/bin
  Maximum Concurrent Jobs = 1
  Password = QiL5p4zWezlcHnUWGrMzPF+tIU30zZFsi0VSIpejHsdO 
# Console password

  Messages = Daemon
}

Schedule {
  Name = Daily
  Run = Full Fri at 10:00am
  Run = Differential sat-thu at 9:00am
}

Schedule {
  Name = Catalog
  Run = Full mon-sun at 11:00am
}

JobDefs {
  Name = Defaults
  Type = Backup
  Schedule = Daily
  Storage = 8mmDrive
  Messages = Standard
  Pool = Daily
  Priority = 10
}

#
# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp
Job {
  Name = stud
  JobDefs = Defaults
  Client=stud-fd
  FileSet=Full Set Stud
  Write Bootstrap = /usr/bacula/bin/working/stud.bsr
}

Job {
  Name = Porthos
  JobDefs = Defaults
  Client=porthos-fd
  FileSet=Full Set Porthos
  Write Bootstrap = /usr/bacula/bin/working/porthos.bsr
}

Job {
  Name = Hailee1
  JobDefs = Defaults
  Client=hailee1-fd
  

Re: [Bacula-users] Restore Issue with 1.36

2005-12-28 Thread Wolfgang Denk
In message [EMAIL PROTECTED] you wrote:

 I have no problems backing up a particular working server (RH 9) with 
 about 3.2 GB worth of data.  I am testing out the restore of this 
 backup  on another box and it will restore to the test box, but will try 
 to write 16 GB worth of data instead of just 3.2! It is only a 10 GB 
 drive to begin with.  I have attached my bacula-fd and dir .conf file if 
 that can help find a solution.

Is there any chance that you have sparse files on your disk? Are  you
running any database application which uses / creates sparse files?

How much data is actually stored on your backup media? (What was  the
FD/SD  Bytes  Written  message  when you performed the backup? What
does list volumes etc. give?)

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED]
Computers are not intelligent.  They only think they are.


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37alloc_id865op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Issue with 1.36

2005-12-27 Thread Trevor Morrison

Arno,

I can send the job output which is 40 MB or 2.97 MB compressed to you if 
you email will accept something that large.  Let me know.


Thanks,

Trevor

Arno Lehmann wrote:


Hello,

On 12/27/2005 10:57 PM, Trevor Morrison wrote:


Hi,

I have no problems backing up a particular working server (RH 9) with 
about 3.2 GB worth of data.  I am testing out the restore of this 
backup  on another box and it will restore to the test box, but will 
try to write 16 GB worth of data instead of just 3.2! It is only a 10 
GB drive to begin with.  I have attached my bacula-fd and dir .conf 
file if that can help find a solution.



it would be helpful to see some more detailed output, for example some 
job report data. Perhaps there *are* much more than 3 GB of data for a 
full restore... sparse files, hard links and a huge amount of changing 
data can lead to what you observe.


Arno


TIA,




#
# Default  Bacula File Daemon Configuration file
#
#  For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
# There is not much to change here except perhaps the
# File daemon Name to
#

#
# List Directors who are permitted to contact this File daemon
#
Director {
  Name = stud-dir
  Password = HR1kfYn1dlc2enm1+mwg3yT3cNNfXqt9FitHbxVPmvPB
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the file daemon
#
Director {
  Name = stud-mon
  Password = VrP8lmsqatXuth6F7sQMgJFWV87OdQeC1SHZLP0/5nEw
  Monitor = yes
}

#
# Global File daemon configuration specifications
#
FileDaemon {Name = stud-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
FileDaemon {Name = porthos-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
FileDaemon {Name = hailee1-fd
  FDport = 9102  # where we listen for the director
  WorkingDirectory = /usr/bacula/bin/working
  Pid Directory = /usr/bacula/bin
  Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
  Name = Standard
  director = stud-dir = all, !skipped
}




#
# Default Bacula Director Configuration file
#
#  The only thing that MUST be changed is to add one or more
#   file or directory names in the Include directive of the
#   FileSet resource.
#
#  For Bacula release 1.36.3 (22 April 2005) -- redhat (Stentz)
#
#  You might also want to change the default email address
#   from root to your address.  See the mail and operator
#   directives in the Messages resource.
#

Director {# define myself
  Name = stud-dir
  DIRport = 9101# where we listen for UA connections
  QueryFile = /usr/bacula/bin/query.sql
  WorkingDirectory = /usr/bacula/bin/working
  PidDirectory = /usr/bacula/bin
  Maximum Concurrent Jobs = 1
  Password = QiL5p4zWezlcHnUWGrMzPF+tIU30zZFsi0VSIpejHsdO # 
Console password

  Messages = Daemon
}

Schedule {
  Name = Daily
  Run = Full Fri at 10:00am
  Run = Differential sat-thu at 9:00am
}

Schedule {
  Name = Catalog
  Run = Full mon-sun at 11:00am
}

JobDefs {
  Name = Defaults
  Type = Backup
  Schedule = Daily
  Storage = 8mmDrive
  Messages = Standard
  Pool = Daily
  Priority = 10
}

#
# Define the main nightly save backup job
#   By default, this job will back up to disk in /tmp
Job {
  Name = stud
  JobDefs = Defaults
  Client=stud-fd
  FileSet=Full Set Stud
  Write Bootstrap = /usr/bacula/bin/working/stud.bsr
}

Job {
  Name = Porthos
  JobDefs = Defaults
  Client=porthos-fd
  FileSet=Full Set Porthos
  Write Bootstrap = /usr/bacula/bin/working/porthos.bsr
}

Job {
  Name = Hailee1
  JobDefs = Defaults
  Client=hailee1-fd
  FileSet=Full Set Hailee1
  Write Bootstrap = /usr/bacula/bin/working/hailee1.bsr
}

# Backup the catalog database (after the nightly save)
Job {
  Name = BackupCatalog
  JobDefs = Defaults
  Client=stud-fd
  FileSet=Catalog
  Schedule = Catalog
  # This creates an ASCII copy of the catalog
  RunBeforeJob = /usr/bacula/bin/make_catalog_backup bacula bacula
  # This deletes the copy of the catalog
  RunAfterJob  = /usr/bacula/bin/delete_catalog_backup
  Write Bootstrap = /usr/bacula/bin/working/BackupCatalog.bsr
  Priority = 15
}

# Standard Restore template, to be changed by Console program
Job {
  Name = Restore testbox
  Type = Restore
  Client= testbox-fd  FileSet=Full Set 
Hailee1Storage = 8mmDrive
Pool = Daily

  Messages = Standard
  Where = /
}


# List of files to be backed up
FileSet {
  Name = Full Set Stud
  Include {
Options {
  signature = MD5