[Bacula-users] restore problem

2007-04-02 Thread Iori Remo

Hello,

I'm using bacula 1.36.2-2sarge1 on my linux Debian GNU/Linux 3.1 server 
with a connected SSL 1016 LTO autochanger.
All the backup operation seems to be done correclty,
montly full, weekly differential, daily incremental.
Trying to restore a file from the last backup operation 
everything is working fine and the Building directory tree
include all the correct jobId (F - I)
When trying to restore a file from a specified data 
the process automatically list only the full backup jobID
ignoring incremental jobId 
Am I doing something wrong?

Thanks for your suggestion

Remo Iori

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem

2006-02-15 Thread Marcel Gsteiger
Hi all

I recently changed my database backup procedure to work through a FIFO. This 
seems to work, at least if I look at the logs. Now I wanted to restore a 
database from tape for testing, but not to a fifo, but to a regular file. This 
restore fails with the error message

15-Feb 10:01 leo-fd: RestoreFiles.2006-02-15_10.00.32 Error: create_file.c:283 
Could not open 
/var/backup/bacularestore/var/lib/pgsql/data/dump/fifo/bacula.schema.dump: 
ERR=Unterbrechung während des Betriebssystemaufrufs

The restore of other regular files works without problems.

I now think that bacula tries to restore the attributes of the fifo (since this 
was a fifo where the backup was taken from). Is there a way to override this 
and tell bacula that it should restore into a regular file instead?

Any help would much be appreciated.

Regards
-Marcel



---
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problem

2006-03-28 Thread Danie

Hi all ,

We've had the unfortunate event where one of our fileserver scsi 
controllers finally went kaput , we managed to setup a spare server. I 
am now trying to restore the files to this new server but I'm getting 
this puzzling error :


28-Mar 13:00 venus-dir: Start Restore Job 
RestoreFiles.2006-03-28_13.00.29 28-Mar 13:04 mercury2-fd: 
RestoreFiles.2006-03-28_13.00.29 Fatal error: 
c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job.c:1599 Comm 
error with SD. bad response to Bootstrap. ERR=Broken pipe 28-Mar 13:01 
venus-dir: RestoreFiles.2006-03-28_13.00.29 Error: Bacula 1.38.0 
(28Oct05): 28-Mar-2006 13:01:24


Please help!

Daniel


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem

2005-06-20 Thread Matt Bettinger
Hello,

I'm running into a problem restoring a home directory on FreeBSD.

I am not sure what to make of the device busy message.  I unmount and
remount the tape and attempt the restore again and it still fails.

Please view the message below let me know if more information is needed.

Thank you.  I did perform a database dump/optimize as suggested in the
handbook a few days earlier.  

helpdesk-dir Version: 1.36.2 (28 February 2005)
Mysql Database

The client I am trying to restore to is the client for 127.0.0.1.

I can telnet to it on port 9102 ok too.

Re,

-mb 



20-Jun 12:34 helpdesk-dir: Start Restore Job
RestoreFiles.2005-06-20_12.34.04
20-Jun 12:34 helpdesk-sd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
acquire.c:116 Device /dev/nsa0 is busy. Job 614 canceled.
20-Jun 12:34 helpdesk-fd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
job.c:1665 Bad response to Read Data command. Wanted 3000 OK data
, got
20-Jun 12:34 helpdesk-dir: RestoreFiles.2005-06-20_12.34.04 Error:
Bacula 1.36.2 (28Feb05): 20-Jun-2005 12:34:10
  JobId:  614
  Job:RestoreFiles.2005-06-20_12.34.04
  Client: helpdesk-fd
  Start time: 20-Jun-2005 12:34:06
  End time:   20-Jun-2005 12:34:10
  Files Expected: 1,694
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Restore Error ***


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problem

2006-05-29 Thread Alessio Mineni - WaveGroup

Hi All,

I've a bacula box with 2Tb disk space and a tape and a manage the  
backup of about 5 servers. I had to recover a folder accidentally  
deleted by a net user (a folder of images made by one of graphics).  
The folder wasn't used from months.

I backup with this schema o disk space:

Schedule {
   Name = "WeeklyCycle"
   Run = Full 1st sun at 0:00
   Run = Differential 2nd-5th sun at 0:00
   Run = Incremental mon-sat at 0:00
}

and with this schema for tapes:

# Monthly full backup
Schedule {
   Name = "MonthlyFullCycle"
   Run = Level=Full Pool=fb01 1st tue jan mar may jul sep nov at 04:00
   Run = Level=Full Pool=fb02 1st tue feb apr jun aug oct dec at 04:00
}

# Weekly privacy backup

Schedule {
   Name = "WeeklyPrivacyCycle"
   Run = Level=Full Pool=pr01 mon w00 w02 w04 w06 w08 w10 w12 w14 w16  
w18 w20 w22 w24 w26 w28 w30 w32 w34 w36 w38 w40 w42 w44 w46 w48 w50  
w52 at 04:00
   Run = Level=Full Pool=pr02 mon w01 w03 w05 w07 w09 w11 w13 w15 w17  
w19 w21 w23 w25 w27 w29 w31 w33 w35 w37 w39 w41 w43 w45 w47 w49 w51  
at 04:00
}

This is the problem:

Restoring the folder with the restore command, option "5: Select the  
most recent backup for a client", and following the procedure  
(marking the folder, selecting the right stoage and so on) only some  
files was restored.

I've made a test on my personal folder (the same procedure above)  
where I have some old files and small backups and I've found (with ls  
command, without ending the restore procedure) only some files of  
mine, and in my personal folder I have all files ... see for yourself:

my real folder:

minoBook:/Volumes/homes malessio$ ls -la
total 1359706
drwx--   1 malessio  admin  16384 May 25 10:23 .
drwxrwxrwt   5 root  admin170 May 29 10:57 ..
-rwx--   1 malessio  admin  21508 May 29 10:58 .DS_Store
-rwx--   1 malessio  admin  23552 Apr  4 13:33 Password  
Server.xls
drwx--   1 malessio  admin  16384 May  9 16:51 Repository
-rwx--   1 malessio  admin  347801600 Dec 15 11:02  
backup-20051215-1200.tar
-rwx--   1 malessio  admin  347801600 Dec 15 11:03 backup.tar
-rwx--   1 malessio  admin 437760 Nov 24  2005 lista  
definitiva domini '05.xls
drwx--   1 malessio  admin  16384 May 18 15:50 shared
drwx--   1 malessio  admin  16384 May 26 15:24 sotfware
drwx--   1 malessio  admin  16384 Apr  3 16:05 stages

my bacula folder:

kraken ~ # /etc/bacula/bconsole
Connecting to Director 192.168.0.10:9101
1000 OK: kraken-dir Version: 1.38.5 (18 January 2006)
Enter a period to cancel a command.
*restore
Using default Catalog name=MyCatalog DB=bacula

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): 5
Defined Clients:
  1: chimera-fd
  2: kraken-fd
  3: caronte-fd
  4: medusa-fd
  5: vocalcom-fd
  6: sfinge-fd
Select the Client (1-6): 3
Automatically selected FileSet: caronte
+---+---+--+-+- 
+--+---+
| JobId | Level | JobFiles | JobBytes| StartTime   |  
VolumeName   | StartFile |
+---+---+--+-+- 
+--+---+
|   525 | F |  737,228 | 159,412,642,310 | 2006-05-07 00:01:11 |  
caronte-0142 | 0 |
|   725 | D |  218,018 | 111,963,454,086 | 2006-05-28 00:01:06 |  
caronte-0065 | 0 |
|   732 | I |  562 | 466,805,607 | 2006-05-29 00:01:26 |  
caronte-0195 | 0 |
+---+---+--+-+- 
+--+---+
You have selected the following JobIds: 525,725,732

Building directory tree for JobId 525 ...
Building directory tree for JobId 725 ...  ++
Building directory tree for JobId 732 ...
3 Jobs, 214,642 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.

cwd is: /
$ cd /home/alessio.mineni/
cwd is: /home/alessio.mineni/
$ ls
.DS_Store
R

[Bacula-users] Restore problem!

2006-08-22 Thread Zakai Kinan
I tried to restore a directory and I get the
following;

BTL: drwxrwxrwx   1 000
2006-08-02 09:27:38  /restore/c/DBbackup/
22-Aug 12:33 backup-dir: Bacula 1.38.9 (02May06):
22-Aug-2006 12:33:40
  JobId:  168
  Job:   
RestoreFiles.2006-08-22_12.21.18
  Client: BTL
  Start time: 22-Aug-2006 12:21:20
  End time:   22-Aug-2006 12:33:40
  Files Expected: 1
  Files Restored: 1
  Bytes Restored: 112
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK

22-Aug 12:33 backup-dir: Begin pruning Jobs.
22-Aug 12:33 backup-dir: No Jobs found to prune.
22-Aug 12:33 backup-dir: Begin pruning Files.
22-Aug 12:33 backup-dir: No Files found to prune.
22-Aug 12:33 backup-dir: End auto prune.


The directory structure got restored, but not the
contents.  Does anyone have any clue?

TIA,

ZK

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem

2006-09-09 Thread Alexander Nolte
Hello everybody!

I just set up a Bacula System that will backup our 4 servers + some clients
but everytime I try to restore some files it just says:

09-Sep 15:35 server-dir: Start Restore Job
restore-server2-usb.2006-09-09_15.35.13
09-Sep 15:35 StorageDaemon: Ready to read from volume "server-usb" on device
/mnt/backup

And thats it. No data is transfered and it is like the job never existed.

Some more information on the system I set up. I have a seperate pool for the
worstations and the servers. Furthermore there are 2 storages where data is
written to: One storage holds the data from a daily incremental backup and
the other holds the data from a weekly full backup.

I hope someone can help me. Thanks in advance.

Alexander Nolte

P.S.: The Bacula version is 1.36.3


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restore problem

2007-09-06 Thread Steve Thompson
Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5, 
both 32-bit and 64-bit. Backups are to disk files.

I find that I cannot do any restores:

06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error: block.c:275 
Volume data
error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer discarded. 
06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula 2.0.3 
(06Mar07):
06-Sep-2007 13:59:39

I have seen messages in the archive from others with a similar problem, 
with suggestions that they are having hardware problems. I am not having 
hardware problems, however: I can cp the backups, dd them, bls them, 
bextract them, but I cannot run a restoration job to completion. I can 
exercise the hardware for days with no apparent problems.

I have deleted all the backups, reinitialized bacula from scratch, run 
full backups to different disk volumes, and tried a restore again: same 
result.

I'd be thankful for any clue stick that someone can hit me with.

Steve

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem.

2008-02-26 Thread Erik P. Olsen
I have a laptop running W2K which has received the "blue screen of death". In 
order to recover properly I need information from that system. Information 
which 
is on my back-up files. How do I restore the relevant files to my linux system 
so that my read this information?

-- 
Erik.


-
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


[Bacula-users] restore problem

2010-01-15 Thread Arnaud Bougeard
Hello,
Using bacula in a french education distribution based on ubuntu 8.04, I 
have a problem during restore.

Here is my bacula.log file...

Could you help me?

Should this error caused by a hardware problem?

Arnaud


13-jan 17:27 127.0.0.1-dir JobId 3: Démarrage du Job de restauration
RestoreLDAP.2010-01-13_17.27.36_03
13-jan 17:27 127.0.0.1-dir JobId 3: Using Device "FileStorage"
13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Bootstrap file error:
Keyword VolAddr not found
   : Line 6, col 7 of
file 
/var/lib/bacula/127.0.0.1-sd.RestoreLDAP.2010-01-13_17.27.36_03.1.bootstrap
VolAddr=206-92568046

13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Error parsing
bootstrap file.
13-jan 17:27 127.0.0.1-dir JobId 3: Erreur fatale : Mauvaise réponse à
la commande Bootstrap : voulait 3000 OK bootstrap
, pas 3904 Error bootstrap

13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3
(18Oct09): 13-jan-2010 17:27:38
 Build OS:   i486-pc-linux-gnu ubuntu 8.04
 JobId:  3
 Job:RestoreLDAP.2010-01-13_17.27.36_03
 Restore Client: 127.0.0.1-fd
 Start time: 13-jan-2010 17:27:38
 End time:   13-jan-2010 17:27:38
 Files Expected: 1
 Files Restored: 0
 Bytes Restored: 0
 Rate:   0.0 KB/s
 FD Errors:  0
 FD termination status:   SD termination status:  
 Termination:*** Restauration en erreur ***

13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3
(18Oct09): 13-jan-2010 17:27:38
 Build OS:   i486-pc-linux-gnu ubuntu 8.04
 JobId:  3
 Job:RestoreLDAP.2010-01-13_17.27.36_03
 Restore Client: 127.0.0.1-fd
 Start time: 13-jan-2010 17:27:38
 End time:   13-jan-2010 17:27:38
 Files Expected: 1
 Files Restored: 0
 Bytes Restored: 0
 Rate:   0.0 KB/s
 FD Errors:  1
 FD termination status:   SD termination status:  
 Termination:*** Restauration en erreur ***


et le contenu du fichier ScribeBootStrap.bsr:

# 12-jan-2010 17:58:13 - Complet.2010-01-12_17.51.31_08 - Full
Volume="ScribeVolume-0001"
MediaType="File"
VolSessionId=1
VolSessionTime=1263287759
VolAddr=206-36170
FileIndex=1-2429
Volume="ScribeVolume-0001"
MediaType="File"
VolSessionId=1
VolSessionTime=1263287759
VolAddr=36171-1999872133
FileIndex=2429-7779
Volume="ScribeVolume-0001"
MediaType="File"
VolSessionId=1
VolSessionTime=1263287759
VolAddr=1999872134-136645
FileIndex=7779-7779
Volume="ScribeVolume-0002"
MediaType="File"
VolSessionId=1
VolSessionTime=1263287759
VolAddr=206-36186
FileIndex=7779-12555
Volume="ScribeVolume-0002"
MediaType="File"
VolSessionId=1
VolSessionTime=1263287759
VolAddr=36187-1999872129
FileIndex=12555-20472
Volume="ScribeVolume-0002"
MediaType="File"
VolSessionId=1
VolSessionTime=1263287759
VolAddr=1999872130-136641
FileIndex=20472-20472
Volume="ScribeVolume-0003"
MediaType="File"
VolSessionId=1
VolSessionTime=1263287759
VolAddr=206-92568046
FileIndex=20472-21515


-- 

*Arnaud Bougeard*
Sige3 Infrastructures EPLE
Rectorat de Versailles
3 Bd Lesseps
78000 Versailles


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem

2009-11-10 Thread Francisco Garcia Perez
Hello!,
I have a very important issue with Bacula, I have Bacula-dir and Bacula-fd
in one machine and Bacula-sd in another, Bacula-sd is conected via SCSI to a
Dell PowerVault 124-T, when I do a backup the log says that it is OK, but I
see in the log that there is no Files and Bytes writen to SD:

  FD Files Written:   2
  SD Files Written:   0
  FD Bytes Written:   938,878,492 (938.8 MB)
  SD Bytes Written:   0 (0 B)

however it appears that if there is data on the tape. When I try to
restore files from a job Bacula gives me an error:

10-Nov 10:40 Bacula-dir JobId 1706: Start Restore Job
RestoreFiles.2009-11-10_10.40.38_01
10-Nov 10:40 Bacula-dir JobId 1706: Using Device "DDS-4"
10-Nov 10:40 slsmsv1-sd JobId 1706: Fatal error: Bootstrap file error:
Keyword VolAddr not found
: Line 7, col 7 of file
/var/lib/bacula/slsmsv1-sd.RestoreFiles.2009-11-10_10.40.38_01.1.bootstrap
VolAddr=678604832768-678604847332

10-Nov 10:40 slsmsv1-sd JobId 1706: Fatal error: Error parsing bootstrap file.
10-Nov 10:40 Bacula-dir JobId 1706: Fatal error: Bad response to
Bootstrap command: wanted 3000 OK bootstrap
, got 3904 Error bootstrap

10-Nov 10:40 Bacula-dir JobId 1706: Error: Bacula Bacula-dir 3.0.2
(18Jul09): 10-Nov-2009 10:40:40
  Build OS:   x86_64-unknown-linux-gnu debian 5.0.2
  JobId:  1706
  Job:RestoreFiles.2009-11-10_10.40.38_01
  Restore Client: Bacula-fd
  Start time: 10-Nov-2009 10:40:40
  End time:   10-Nov-2009 10:40:40
  Files Expected: 1
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***

10-Nov 10:40 Bacula-dir JobId 1706: Error: Bacula Bacula-dir 3.0.2
(18Jul09): 10-Nov-2009 10:40:40
  Build OS:   x86_64-unknown-linux-gnu debian 5.0.2
  JobId:  1706
  Job:RestoreFiles.2009-11-10_10.40.38_01
  Restore Client: Bacula-fd
  Start time: 10-Nov-2009 10:40:40
  End time:   10-Nov-2009 10:40:40
  Files Expected: 1
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  1
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***

I see that this file
/var/lib/bacula/slsmsv1-sd.RestoreFiles.2009-11-10_10.40.38_01.1.bootstrap
does not exist in the director and in the Storage Daemon.
*
This is my Bacula-dir config:*

Director {# define myself
  Name = Bacula-dir
  DIRport = 9101# where we listen for UA connections
  Plugin Directory = "/usr/lib"
  QueryFile = "/etc/bacula/query.sql"
  WorkingDirectory = "/var/bacula"
  PidDirectory = "/var/run"
  Maximum Concurrent Jobs = 1
  Password = ";)" # Console password
  Messages = Daemon
  DirAddress = 0.0.0.0
}

JobDefs {
  Name = "Ficheros"
  Type = Backup
  Schedule = "CicloMensual"
  Storage = DDS-4
  Messages = Standard
  Priority = 10
}

JobDefs {
  Name = "FullJob"
  Level = Full
  Type = Backup
  Schedule = "CicloExchange"
  Storage = DDS-4
  Messages = Standard
  Priority = 10
}
Job {
  Name = "NAS-CIFS"
  Client = Bacula-fd
  JobDefs = "Ficheros"
  FileSet = "local"
  Pool = "Default"
  Write Bootstrap = "/var/bacula/Client1.bsr"
}

... more jobs definitions ...

# Backup the catalog database (after the nightly save)
Job {
  Name = "BackupCatalog"
  Client=Bacula-fd
  JobDefs = "FullJob"
  FileSet="Catalog"
  Pool = "Default"
  Schedule = "WeeklyCycleAfterBackup"
  Storage = File
  RunBeforeJob = "/etc/bacula/make_catalog_backup bacula root ;)"
  RunAfterJob  = "/etc/bacula/delete_catalog_backup"
  Write Bootstrap = "/var/bacula/BackupCatalog.bsr"
  Priority = 11   # run after main backup
}

Job {
  Name = "RestoreFiles"
  Type = Restore
  Fileset = "local"
  Client=Bacula-fd
  Pool = "Default"
  Storage = DDS-4
  Write Bootstrap = "/var/bacula/Restore.bsr"
  Messages = Standard
  Where = /nonexistant/path/to/file/archive/dir/bacula-restores
}

... FileSet definitions ...

Schedule {
  Name = "CicloMensual"
  Run = Level=Full Pool=Completo on 1 at 22:00
  Run = Level=Differential Pool=Diferencial mon-fri 2-31 at 22:00
  Run = Level=Incremental Pool=Incremental sat-sun 2-31 at 22:00
}

Schedule {
  Name = "CicloExchange"
  Run = Level=Full Pool=Completo 1-31 at 22:00
}

# This schedule does the catalog. It starts after the WeeklyCycle
Schedule {
  Name = "WeeklyCycleAfterBackup"
  Run = Full sun-sat at 23:10
}

# Client (File Services) to backup
Client {
  Name = Bacula-fd
  Address = Bacula
  FDPort = 9102
  Catalog = MyCatalog
  Password = ";)"  # password for FileDaemon
  File Retention = 30 days# 30 days
  Job Retention = 12 months# six months
  AutoPrune = yes # Prune expired Job

[Bacula-users] restore problem

2017-11-29 Thread Gokan Atmaca
Hello

I get an error like below. The problem says it's a bootstrap.
How can I overcome this?

29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 (202Sep16):
  Build OS:   x86_64-pc-linux-gnu debian 9.0
  JobId:  64
  Job:Windows01Restore.2017-11-29_13.36.50_05
  Restore Client: test-PC-fd
  Start time: 29-Nov-2017 13:36:52
  End time:   29-Nov-2017 13:36:52
  Files Expected: 0
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  1
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***

29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 (202Sep16):
  Build OS:   x86_64-pc-linux-gnu debian 9.0
  JobId:  64
  Job:Windows01Restore.2017-11-29_13.36.50_05
  Restore Client: test-PC-fd
  Start time: 29-Nov-2017 13:36:52
  End time:   29-Nov-2017 13:36:53
  Files Expected: 0
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  2
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***


 Config:

Client {
  Name = test-PC-fd
  Address = 192.168.1.27
  FDport = 9102
  Catalog = MyCatalog
  Password = "123123tt"
  File Retention = 60 days
  Job Retention = 6 months
  AutoPrune = yes
}



FileSet {
  Name = "windowshome"
  Enable VSS = yes
  Include {
Options {
  signature = MD5
  compression = Gzip9
  IgnoreCase = yes

}
File = "C:/Users/test/Downloads"
  }
}

--- restore job:
Job {
  Name = "Windows01Restore"
  Type = Restore
  Client =test-PC-fd
  FileSet = "windowshome"
  Storage = File1
  Pool = File
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
  Messages = Standard
  Where = /bacula/restore
}

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


[Bacula-users] Restore problem

2010-11-18 Thread Alan Brown

I have one particular restore which only brings back ~11,500 files out 
of 980,000 on a full backup.

Using Bextract and attempting to restore the job that way gives the same 
result.

There are no errors except that the job was expecting a lot more files 
than actually came back.

The odd thing is that stracing and debugging shows that the blocks on 
the tape are being read fine, as are the files on it, but they're simply 
not being extracted to disk.

Subsequent and previous full backups for the same job work fine.

Backups and restores attempted on 64-bit linux, using Bacula 5.0.3

Has anyone else seen this behaviour?




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


Re: [Bacula-users] Restore problem

2006-02-15 Thread Arno Lehmann

Hello,

On 2/15/2006 11:28 AM, Marcel Gsteiger wrote:

Hi all

I recently changed my database backup procedure to work through a FIFO. This 
seems to work, at least if I look at the logs. Now I wanted to restore a 
database from tape for testing, but not to a fifo, but to a regular file. This 
restore fails with the error message

15-Feb 10:01 leo-fd: RestoreFiles.2006-02-15_10.00.32 Error: create_file.c:283 
Could not open 
/var/backup/bacularestore/var/lib/pgsql/data/dump/fifo/bacula.schema.dump: 
ERR=Unterbrechung während des Betriebssystemaufrufs

The restore of other regular files works without problems.

I now think that bacula tries to restore the attributes of the fifo (since this 
was a fifo where the backup was taken from). Is there a way to override this 
and tell bacula that it should restore into a regular file instead?


No idea... but what happens if you simply set up the FIFO and start 
another process that reads the FIFO nd writes to a regular file? I could 
imagine that cat ...dump > /tmp/pgdump.sql does what you need...


Arno


Any help would much be appreciated.

Regards
-Marcel



---
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://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de



---
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://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problem

2006-03-28 Thread Danie

Hi ,

My Director ver is 1.38.0 whilest my Win32 ver on the client is 1.38.4 , 
can this be part of the problem? I've looked for the 1.38.0 version of 
win32 but could'nt find it


Danie wrote:

Hi all ,

We've had the unfortunate event where one of our fileserver scsi 
controllers finally went kaput , we managed to setup a spare server. I 
am now trying to restore the files to this new server but I'm getting 
this puzzling error :


28-Mar 13:00 venus-dir: Start Restore Job 
RestoreFiles.2006-03-28_13.00.29 28-Mar 13:04 mercury2-fd: 
RestoreFiles.2006-03-28_13.00.29 Fatal error: 
c:\cygwin\home\kern\bacula\k\src\win32\filed\../../filed/job.c:1599 
Comm error with SD. bad response to Bootstrap. ERR=Broken pipe 28-Mar 
13:01 venus-dir: RestoreFiles.2006-03-28_13.00.29 Error: Bacula 1.38.0 
(28Oct05): 28-Mar-2006 13:01:24


Please help!

Daniel


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting 
language
that extends applications into web and mobile media. Attend the live 
webcast
and join the prime developer group breaking into this new coding 
territory!

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2005-06-20 Thread Arno Lehmann

Hello,

Matt Bettinger wrote:


Hello,

I'm running into a problem restoring a home directory on FreeBSD.

I am not sure what to make of the device busy message.  I unmount and
remount the tape and attempt the restore again and it still fails.

Please view the message below let me know if more information is needed.


What you report sounds like the tape device is busy and thus can't be 
used to restore. Now, it would be interesting to see the output of 
`status storage` and, if that indicates that the device is available, 
perhaps the program lsof (available hopefully under BSD, too) can tell 
you if the device is actually used by any other process on your system.


Arno


Thank you.  I did perform a database dump/optimize as suggested in the
handbook a few days earlier.  


helpdesk-dir Version: 1.36.2 (28 February 2005)
Mysql Database

The client I am trying to restore to is the client for 127.0.0.1.

I can telnet to it on port 9102 ok too.

Re,

-mb 




20-Jun 12:34 helpdesk-dir: Start Restore Job
RestoreFiles.2005-06-20_12.34.04
20-Jun 12:34 helpdesk-sd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
acquire.c:116 Device /dev/nsa0 is busy. Job 614 canceled.
20-Jun 12:34 helpdesk-fd: RestoreFiles.2005-06-20_12.34.04 Fatal error:
job.c:1665 Bad response to Read Data command. Wanted 3000 OK data
, got
20-Jun 12:34 helpdesk-dir: RestoreFiles.2005-06-20_12.34.04 Error:
Bacula 1.36.2 (28Feb05): 20-Jun-2005 12:34:10
  JobId:  614
  Job:RestoreFiles.2005-06-20_12.34.04
  Client: helpdesk-fd
  Start time: 20-Jun-2005 12:34:06
  End time:   20-Jun-2005 12:34:10
  Files Expected: 1,694
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Restore Error ***


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


--
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


RE: [Bacula-users] Restore problem

2005-06-20 Thread Matt Bettinger
Hi!

>-Original Message-
>From: Arno Lehmann [mailto:[EMAIL PROTECTED]
>Sent: Monday, June 20, 2005 12:56 PM
>To: Matt Bettinger
>Cc: bacula-users@lists.sourceforge.net
>Subject: Re: [Bacula-users] Restore problem
>
>Hello,
>
>Matt Bettinger wrote:
>
>> Hello,
>>
>> I'm running into a problem restoring a home directory on FreeBSD.
>>
>> I am not sure what to make of the device busy message.  I unmount and
>> remount the tape and attempt the restore again and it still fails.
>>
>> Please view the message below let me know if more information is
>needed.
>
>What you report sounds like the tape device is busy and thus can't be
>used to restore. Now, it would be interesting to see the output of
>`status storage` 



Yes thanks.  Status storage indicated the tape was moving to the next
files.  It just took a very long time.  I successfully restored the
whole home directory.  



and, if that indicates that the device is available,
>perhaps the program lsof (available hopefully under BSD, too) can tell
>you if the device is actually used by any other process on your system.
>
>Arno
>
>> Thank you.  I did perform a database dump/optimize as suggested in
the
>> handbook a few days earlier.
>>
>> helpdesk-dir Version: 1.36.2 (28 February 2005)
>> Mysql Database
>>
>> The client I am trying to restore to is the client for 127.0.0.1.
>>
>> I can telnet to it on port 9102 ok too.
>>
>> Re,
>>
>> -mb
>>
>>
>>
>> 20-Jun 12:34 helpdesk-dir: Start Restore Job
>> RestoreFiles.2005-06-20_12.34.04
>> 20-Jun 12:34 helpdesk-sd: RestoreFiles.2005-06-20_12.34.04 Fatal
error:
>> acquire.c:116 Device /dev/nsa0 is busy. Job 614 canceled.
>> 20-Jun 12:34 helpdesk-fd: RestoreFiles.2005-06-20_12.34.04 Fatal
error:
>> job.c:1665 Bad response to Read Data command. Wanted 3000 OK data
>> , got
>> 20-Jun 12:34 helpdesk-dir: RestoreFiles.2005-06-20_12.34.04 Error:
>> Bacula 1.36.2 (28Feb05): 20-Jun-2005 12:34:10
>>   JobId:  614
>>   Job:RestoreFiles.2005-06-20_12.34.04
>>   Client: helpdesk-fd
>>   Start time: 20-Jun-2005 12:34:06
>>   End time:   20-Jun-2005 12:34:10
>>   Files Expected: 1,694
>>   Files Restored: 0
>>   Bytes Restored: 0
>>   Rate:   0.0 KB/s
>>   FD Errors:  0
>>   FD termination status:  Error
>>   SD termination status:  Error
>>   Termination:*** Restore Error ***
>>
>>
>> ---
>> SF.Net email is sponsored by: Discover Easy Linux Migration
Strategies
>> from IBM. Find simple to follow Roadmaps, straightforward articles,
>> informative Webcasts and more! Get everything you need to get up to
>> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>--
>IT-Service Lehmann[EMAIL PROTECTED]
>Arno Lehmann  http://www.its-lehmann.de


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problem

2006-06-04 Thread Ambahunen Gebremariam
If you don't have enough space on your restoration device, some files or folders could be skipped. However, I don't have enough info to make that conclusion. Do you have the log file for your restore job? You should get an e-mail if you had Bacula set up to e-mail you too. 
Check your append parameter from the message resource of your Bacula director configuration file to find the location of your log file. Can you post the log file generated from the restore job? 
Ambex On 5/29/06, Alessio Mineni - WaveGroup <[EMAIL PROTECTED]> wrote:
Hi All,I've a bacula box with 2Tb disk space and a tape and a manage the
backup of about 5 servers. I had to recover a folder accidentallydeleted by a net user (a folder of images made by one of graphics).The folder wasn't used from months.I backup with this schema o disk space:
Schedule {   Name = "WeeklyCycle"   Run = Full 1st sun at 0:00   Run = Differential 2nd-5th sun at 0:00   Run = Incremental mon-sat at 0:00}and with this schema for tapes:
# Monthly full backupSchedule {   Name = "MonthlyFullCycle"   Run = Level=Full Pool=fb01 1st tue jan mar may jul sep nov at 04:00   Run = Level=Full Pool=fb02 1st tue feb apr jun aug oct dec at 04:00
}# Weekly privacy backupSchedule {   Name = "WeeklyPrivacyCycle"   Run = Level=Full Pool=pr01 mon w00 w02 w04 w06 w08 w10 w12 w14 w16w18 w20 w22 w24 w26 w28 w30 w32 w34 w36 w38 w40 w42 w44 w46 w48 w50
w52 at 04:00   Run = Level=Full Pool=pr02 mon w01 w03 w05 w07 w09 w11 w13 w15 w17w19 w21 w23 w25 w27 w29 w31 w33 w35 w37 w39 w41 w43 w45 w47 w49 w51at 04:00}This is the problem:Restoring the folder with the restore command, option "5: Select the
most recent backup for a client", and following the procedure(marking the folder, selecting the right stoage and so on) only somefiles was restored.I've made a test on my personal folder (the same procedure above)
where I have some old files and small backups and I've found (with lscommand, without ending the restore procedure) only some files ofmine, and in my personal folder I have all files ... see for yourself:
my real folder:minoBook:/Volumes/homes malessio$ ls -latotal 1359706drwx--   1 malessio  admin  16384 May 25 10:23 .drwxrwxrwt   5 root  admin170 May 29 10:57 ..-rwx--   1 malessio  admin  21508 May 29 10:58 .DS_Store
-rwx--   1 malessio  admin  23552 Apr  4 13:33 PasswordServer.xlsdrwx--   1 malessio  admin  16384 May  9 16:51 Repository-rwx--   1 malessio  admin  347801600 Dec 15 11:02backup-20051215-1200.tar
-rwx--   1 malessio  admin  347801600 Dec 15 11:03 backup.tar-rwx--   1 malessio  admin 437760 Nov 24  2005 listadefinitiva domini '05.xlsdrwx--   1 malessio  admin  16384 May 18 15:50 shared
drwx--   1 malessio  admin  16384 May 26 15:24 sotfwaredrwx--   1 malessio  admin  16384 Apr  3 16:05 stagesmy bacula folder:kraken ~ # /etc/bacula/bconsoleConnecting to Director 
192.168.0.10:91011000 OK: kraken-dir Version: 1.38.5 (18 January 2006)Enter a period to cancel a command.*restoreUsing default Catalog name=MyCatalog DB=bacula
First you select one or more JobIds that contain filesto be restored. You will be presented several methodsof specifying the JobIds. Then you will be allowed toselect 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 specifiedtime 11: Enter a list of directories to restore for found JobIds 12: Cancel
Select item:  (1-12): 5Defined Clients:  1: chimera-fd  2: kraken-fd  3: caronte-fd  4: medusa-fd  5: vocalcom-fd  6: sfinge-fdSelect the Client (1-6): 3Automatically selected FileSet: caronte
+---+---+--+-+-+--+---+| JobId | Level | JobFiles | JobBytes| StartTime   |VolumeName   | StartFile |+---+---+--+-+-
+--+---+|   525 | F |  737,228 | 159,412,642,310 | 2006-05-07 00:01:11 |caronte-0142 | 0 ||   725 | D |  218,018 | 111,963,454,086 | 2006-05-28 00:01:06 |caronte-0065 | 0 |
|   732 | I |  562 | 466,805,607 | 2006-05-29 00:01:26 |caronte-0195 | 0 |+---+---+--+-+-+--+---+You have selected the following JobIds: 525,725,732
Building directory tree for JobId 525 ...Building directory tree for JobId 725 ...  ++Buil

Re: [Bacula-users] Restore problem!

2006-08-22 Thread Georger Araujo
Did you

mark 

the files you want to restore, as per page 265 of the
manual? Regards,

Georger

--- Zakai Kinan <[EMAIL PROTECTED]> escreveu:

> I tried to restore a directory and I get the
> following;
> 
> BTL: drwxrwxrwx   1 000
> 2006-08-02 09:27:38  /restore/c/DBbackup/
> 22-Aug 12:33 backup-dir: Bacula 1.38.9 (02May06):
> 22-Aug-2006 12:33:40
>   JobId:  168
>   Job:   
> RestoreFiles.2006-08-22_12.21.18
>   Client: BTL
>   Start time: 22-Aug-2006 12:21:20
>   End time:   22-Aug-2006 12:33:40
>   Files Expected: 1
>   Files Restored: 1
>   Bytes Restored: 112
>   Rate:   0.0 KB/s
>   FD Errors:  0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:Restore OK
> 
> 22-Aug 12:33 backup-dir: Begin pruning Jobs.
> 22-Aug 12:33 backup-dir: No Jobs found to prune.
> 22-Aug 12:33 backup-dir: Begin pruning Files.
> 22-Aug 12:33 backup-dir: No Files found to prune.
> 22-Aug 12:33 backup-dir: End auto prune.
> 
> 
> The directory structure got restored, but not the
> contents.  Does anyone have any clue?
> 
> TIA,
> 
> ZK



___ 
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale 
o discador agora! 
http://br.acesso.yahoo.com

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem!

2006-08-22 Thread Zakai Kinan
Yes, I did mark the directory before attempting to
restore the files in it.

ZK

--- Georger Araujo <[EMAIL PROTECTED]> wrote:

> Did you
> 
> mark 
> 
> the files you want to restore, as per page 265 of
> the
> manual? Regards,
> 
> Georger
> 
> --- Zakai Kinan <[EMAIL PROTECTED]> escreveu:
> 
> > I tried to restore a directory and I get the
> > following;
> > 
> > BTL: drwxrwxrwx   1 000
> > 2006-08-02 09:27:38  /restore/c/DBbackup/
> > 22-Aug 12:33 backup-dir: Bacula 1.38.9 (02May06):
> > 22-Aug-2006 12:33:40
> >   JobId:  168
> >   Job:   
> > RestoreFiles.2006-08-22_12.21.18
> >   Client: BTL
> >   Start time: 22-Aug-2006 12:21:20
> >   End time:   22-Aug-2006 12:33:40
> >   Files Expected: 1
> >   Files Restored: 1
> >   Bytes Restored: 112
> >   Rate:   0.0 KB/s
> >   FD Errors:  0
> >   FD termination status:  OK
> >   SD termination status:  OK
> >   Termination:Restore OK
> > 
> > 22-Aug 12:33 backup-dir: Begin pruning Jobs.
> > 22-Aug 12:33 backup-dir: No Jobs found to prune.
> > 22-Aug 12:33 backup-dir: Begin pruning Files.
> > 22-Aug 12:33 backup-dir: No Files found to prune.
> > 22-Aug 12:33 backup-dir: End auto prune.
> > 
> > 
> > The directory structure got restored, but not the
> > contents.  Does anyone have any clue?
> > 
> > TIA,
> > 
> > ZK
> 
> 
>   
>
___
> 
> Yahoo! Acesso Gr�tis - Internet r�pida e
gr�tis.
> Instale 
> o discador agora! 
> http://br.acesso.yahoo.com
> 
>
-
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem!

2006-08-22 Thread Kern Sibbald
On Tuesday 22 August 2006 20:29, Zakai Kinan wrote:
> Yes, I did mark the directory before attempting to
> restore the files in it.

You either did a "markdir", which will not mark the files under the directory, 
or the directory was empty.  This is indicated by the fact that the restore 
expected only one file to be restored.  The number of files to be restored 
and the Volumes to be mounted are both printed before the restore job starts.

> 
> ZK
> 
> --- Georger Araujo <[EMAIL PROTECTED]> wrote:
> 
> > Did you
> > 
> > mark 
> > 
> > the files you want to restore, as per page 265 of
> > the
> > manual? Regards,
> > 
> > Georger
> > 
> > --- Zakai Kinan <[EMAIL PROTECTED]> escreveu:
> > 
> > > I tried to restore a directory and I get the
> > > following;
> > > 
> > > BTL: drwxrwxrwx   1 000
> > > 2006-08-02 09:27:38  /restore/c/DBbackup/
> > > 22-Aug 12:33 backup-dir: Bacula 1.38.9 (02May06):
> > > 22-Aug-2006 12:33:40
> > >   JobId:  168
> > >   Job:   
> > > RestoreFiles.2006-08-22_12.21.18
> > >   Client: BTL
> > >   Start time: 22-Aug-2006 12:21:20
> > >   End time:   22-Aug-2006 12:33:40
> > >   Files Expected: 1
> > >   Files Restored: 1
> > >   Bytes Restored: 112
> > >   Rate:   0.0 KB/s
> > >   FD Errors:  0
> > >   FD termination status:  OK
> > >   SD termination status:  OK
> > >   Termination:Restore OK
> > > 
> > > 22-Aug 12:33 backup-dir: Begin pruning Jobs.
> > > 22-Aug 12:33 backup-dir: No Jobs found to prune.
> > > 22-Aug 12:33 backup-dir: Begin pruning Files.
> > > 22-Aug 12:33 backup-dir: No Files found to prune.
> > > 22-Aug 12:33 backup-dir: End auto prune.
> > > 
> > > 
> > > The directory structure got restored, but not the
> > > contents.  Does anyone have any clue?
> > > 
> > > TIA,
> > > 
> > > ZK
> > 
> > 
> > 
> >
> ___
> > 
> > Yahoo! Acesso Gr�tis - Internet r�pida e
> gr�tis.
> > Instale 
> > o discador agora! 
> > http://br.acesso.yahoo.com
> > 
> >
> -
> > Using Tomcat but need to do more? Need to support
> > web services, security?
> > Get stuff done quickly with pre-integrated
> > technology to make your job easier
> > Download IBM WebSphere Application Server v.1.0.1
> > based on Apache Geronimo
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> > 
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem!

2006-08-22 Thread Zakai Kinan
That was the problem.  What is the use of markdir?


Thanks,


ZK



--- Kern Sibbald <[EMAIL PROTECTED]> wrote:

> On Tuesday 22 August 2006 20:29, Zakai Kinan wrote:
> > Yes, I did mark the directory before attempting to
> > restore the files in it.
> 
> You either did a "markdir", which will not mark the
> files under the directory, 
> or the directory was empty.  This is indicated by
> the fact that the restore 
> expected only one file to be restored.  The number
> of files to be restored 
> and the Volumes to be mounted are both printed
> before the restore job starts.
> 
> > 
> > ZK
> > 
> > --- Georger Araujo <[EMAIL PROTECTED]>
> wrote:
> > 
> > > Did you
> > > 
> > > mark 
> > > 
> > > the files you want to restore, as per page 265
> of
> > > the
> > > manual? Regards,
> > > 
> > > Georger
> > > 
> > > --- Zakai Kinan <[EMAIL PROTECTED]>
> escreveu:
> > > 
> > > > I tried to restore a directory and I get the
> > > > following;
> > > > 
> > > > BTL: drwxrwxrwx   1 00   
> 0
> > > > 2006-08-02 09:27:38  /restore/c/DBbackup/
> > > > 22-Aug 12:33 backup-dir: Bacula 1.38.9
> (02May06):
> > > > 22-Aug-2006 12:33:40
> > > >   JobId:  168
> > > >   Job:   
> > > > RestoreFiles.2006-08-22_12.21.18
> > > >   Client: BTL
> > > >   Start time: 22-Aug-2006 12:21:20
> > > >   End time:   22-Aug-2006 12:33:40
> > > >   Files Expected: 1
> > > >   Files Restored: 1
> > > >   Bytes Restored: 112
> > > >   Rate:   0.0 KB/s
> > > >   FD Errors:  0
> > > >   FD termination status:  OK
> > > >   SD termination status:  OK
> > > >   Termination:Restore OK
> > > > 
> > > > 22-Aug 12:33 backup-dir: Begin pruning Jobs.
> > > > 22-Aug 12:33 backup-dir: No Jobs found to
> prune.
> > > > 22-Aug 12:33 backup-dir: Begin pruning Files.
> > > > 22-Aug 12:33 backup-dir: No Files found to
> prune.
> > > > 22-Aug 12:33 backup-dir: End auto prune.
> > > > 
> > > > 
> > > > The directory structure got restored, but not
> the
> > > > contents.  Does anyone have any clue?
> > > > 
> > > > TIA,
> > > > 
> > > > ZK
> > > 
> > > 
> > >   
> > >
> >
>
___
> > > 
> > > Yahoo! Acesso Gr�tis - Internet r�pida e
> > gr�tis.
> > > Instale 
> > > o discador agora! 
> > > http://br.acesso.yahoo.com
> > > 
> > >
> >
>
-
> > > Using Tomcat but need to do more? Need to
> support
> > > web services, security?
> > > Get stuff done quickly with pre-integrated
> > > technology to make your job easier
> > > Download IBM WebSphere Application Server
> v.1.0.1
> > > based on Apache Geronimo
> > >
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > ___
> > > Bacula-users mailing list
> > > Bacula-users@lists.sourceforge.net
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/bacula-users
> > > 
> > 
> > 
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> > http://mail.yahoo.com 
> > 
> >
>
-
> > Using Tomcat but need to do more? Need to support
> web services, security?
> > Get stuff done quickly with pre-integrated
> technology to make your job 
> easier
> > Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/bacula-users
> > 
> 
>
-
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/bacula-users
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

Re: [Bacula-users] Restore problem

2006-09-12 Thread pedro moreno
On 9/9/06, Alexander Nolte <[EMAIL PROTECTED]> wrote:
Hello everybody!I just set up a Bacula System that will backup our 4 servers + some clients
but everytime I try to restore some files it just says:09-Sep 15:35 server-dir: Start Restore Jobrestore-server2-usb.2006-09-09_15.35.1309-Sep 15:35 StorageDaemon: Ready to read from volume "server-usb" on device
/mnt/backupAnd thats it. No data is transfered and it is like the job never existed.Some more information on the system I set up. I have a seperate pool for theworstations and the servers. Furthermore there are 2 storages where data is
written to: One storage holds the data from a daily incremental backup andthe other holds the data from a weekly full backup.I hope someone can help me. Thanks in advance.Alexander NolteP.S
.: The Bacula version is 1.36.3-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Bacula-users mailing listBacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users   Hi Alex, i see that you are sending your backups to some usb device is correct..?   If this is true, have you try using your hard drive...?
    Can you show us your bacula-dir and bacula-sd files...?   See you soon.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2006-09-12 Thread Alexander Nolte
Hi Pedro,

thanks for your reply. You are right in your suggestion that one
StorageDaemon runs on a USB rack. But this one only does an additional
weekly backup. The daily backups are written on an SCSII harddrive that is
mounted in the same server as the director.

I think that I found the problem yesterday as my restore job finally got
executed after about some 2-3 hours. I still have to do some more
measurements but to me it looks like the Gzip compression that I use takes
bacula a lot of time to find the files that I want to restore.

Maybe you have a sollution to this as I dont know how to handle the priotity
system.

Alex


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2006-09-14 Thread pedro moreno
On 9/12/06, Alexander Nolte <[EMAIL PROTECTED]> wrote:
Hi Pedro,thanks for your reply. You are right in your suggestion that oneStorageDaemon runs on a USB rack. But this one only does an additional
weekly backup. The daily backups are written on an SCSII harddrive that ismounted in the same server as the director.I think that I found the problem yesterday as my restore job finally gotexecuted after about some 2-3 hours. I still have to do some more
measurements but to me it looks like the Gzip compression that I use takesbacula a lot of time to find the files that I want to restore.Maybe you have a sollution to this as I dont know how to handle the priotity
system.Alex-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___Bacula-users mailing listBacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users   Not really, because im using Tapes to make my backups, im going to test another system which is going to have thebackups on hard disk(USB) there im going to use compression, i already try the backups and i have a good performance, today i will try some restore and let you now.
   You USB device is some memory or hard disk..?
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem

2007-09-07 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christoff van Zyl wrote:
> On Friday 07 September 2007 08:32:41 Tom Sommer wrote:
>> On Thu, September 6, 2007 23:36, Steve Thompson wrote:
>>> Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
>>> both 32-bit and 64-bit. Backups are to disk files.
>>>
>>> I find that I cannot do any restores:
>>>
>>>
>>> 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error:
>>> block.c:275 Volume data
>>> error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer discarded.
>>> 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula
>>> 2.0.3 (06Mar07):
>>> 06-Sep-2007 13:59:39
>>>
>>>
>>> I have seen messages in the archive from others with a similar problem,
>>> with suggestions that they are having hardware problems. I am not having
>>> hardware problems, however: I can cp the backups, dd them, bls them,
>>> bextract them, but I cannot run a restoration job to completion. I can
>>> exercise the hardware for days with no apparent problems.
>>>
>>> I have deleted all the backups, reinitialized bacula from scratch, run
>>> full backups to different disk volumes, and tried a restore again: same
>>> result.
>>>
>>> I'd be thankful for any clue stick that someone can hit me with.
>> Had/Have this problem too, I suggest opening a bug on it..
>>
>> --
>> Tom Sommer
>>
>>
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> Okay, as a newbie to Bacula this now a big worry, I am also using  Bacula 
> 2.0.3 on a 32-bit Ubuntu 6.0.6 system. I have compiled Bacula from source and 
>  
> using disks for the backups. 
> 
> I am sitting on the point to cancel our backup support contract with our 
> supplier because I am using Bacula now.
> 
> Is this now something to worry about
> 
> Thanks
> Christoff
> 
> PS: Busy doing a restore for one of our users on a Linux Terminal Server. 
> Will 
> you guys now if successful or not.

Just did a restore of my catalog and it was perfectly readable. I'm
using Solaris 9 on the director/sd/fd in question. If anyone here can
come up with a more representative case that I can try (I backup IRIX,
Solaris, and Linux with this hardware), let me know. I could try Windows
too, but currently don't do any Windows backups.

- --
  _  _ _  _ ___  _  _  _
 |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

iD8DBQFG4Wz6mb+gadEcsb4RAvDhAKClQjyfvU9Y9qloY6YeZZf6qi3wBQCggCjq
L62TuOsVu1XpFmSRMvqn/pw=
=wa2z
-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 III
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem

2007-09-07 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Christoff van Zyl wrote:
> On Friday 07 September 2007 08:32:41 Tom Sommer wrote:
>> On Thu, September 6, 2007 23:36, Steve Thompson wrote:
>>> Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
>>> both 32-bit and 64-bit. Backups are to disk files.
>>>
>>> I find that I cannot do any restores:
>>>
>>>
>>> 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error:
>>> block.c:275 Volume data
>>> error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer discarded.
>>> 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula
>>> 2.0.3 (06Mar07):
>>> 06-Sep-2007 13:59:39
>>>
>>>
>>> I have seen messages in the archive from others with a similar problem,
>>> with suggestions that they are having hardware problems. I am not having
>>> hardware problems, however: I can cp the backups, dd them, bls them,
>>> bextract them, but I cannot run a restoration job to completion. I can
>>> exercise the hardware for days with no apparent problems.
>>>
>>> I have deleted all the backups, reinitialized bacula from scratch, run
>>> full backups to different disk volumes, and tried a restore again: same
>>> result.
>>>
>>> I'd be thankful for any clue stick that someone can hit me with.
>> Had/Have this problem too, I suggest opening a bug on it..
>>
>> --
>> Tom Sommer
>>
>>
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> Okay, as a newbie to Bacula this now a big worry, I am also using  Bacula 
> 2.0.3 on a 32-bit Ubuntu 6.0.6 system. I have compiled Bacula from source and 
>  
> using disks for the backups. 
> 
> I am sitting on the point to cancel our backup support contract with our 
> supplier because I am using Bacula now.
> 
> Is this now something to worry about
> 
> Thanks
> Christoff
> 
> PS: Busy doing a restore for one of our users on a Linux Terminal Server. 
> Will 
> you guys now if successful or not.

It's something you'll have to test. I personally don't test restores as
often as I should, however I have never had a problem in cases where
I've needed to restore. I would say once every number of months I go to
tape for a file -- there is always no problem. I shall try a restore
from a disk file (the catalog backup will do nicely) and we'll see where
I get. I'm guessing there will be no problem.

Are any of these folks doing anything weird? Encryption, TLS, any of
that? Mixing Windows with UNIX?

- --
  _  _ _  _ ___  _  _  _
 |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

iD8DBQFG4Wwbmb+gadEcsb4RAg0tAKDTWrcCiJ84RWLZ6AfvPegQ+rAjuQCeIh07
mwktUhQXEwx4rZm3gVx0gsA=
=sdQv
-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 III
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem

2007-09-07 Thread Christoff van Zyl
On Friday 07 September 2007 08:32:41 Tom Sommer wrote:
> On Thu, September 6, 2007 23:36, Steve Thompson wrote:
> > Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
> > both 32-bit and 64-bit. Backups are to disk files.
> >
> > I find that I cannot do any restores:
> >
> >
> > 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error:
> > block.c:275 Volume data
> > error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer discarded.
> > 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula
> > 2.0.3 (06Mar07):
> > 06-Sep-2007 13:59:39
> >
> >
> > I have seen messages in the archive from others with a similar problem,
> > with suggestions that they are having hardware problems. I am not having
> > hardware problems, however: I can cp the backups, dd them, bls them,
> > bextract them, but I cannot run a restoration job to completion. I can
> > exercise the hardware for days with no apparent problems.
> >
> > I have deleted all the backups, reinitialized bacula from scratch, run
> > full backups to different disk volumes, and tried a restore again: same
> > result.
> >
> > I'd be thankful for any clue stick that someone can hit me with.
>
> Had/Have this problem too, I suggest opening a bug on it..
>
> --
> Tom Sommer
>
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

Okay, as a newbie to Bacula this now a big worry, I am also using  Bacula 
2.0.3 on a 32-bit Ubuntu 6.0.6 system. I have compiled Bacula from source and  
using disks for the backups. 

I am sitting on the point to cancel our backup support contract with our 
supplier because I am using Bacula now.

Is this now something to worry about

Thanks
Christoff

PS: Busy doing a restore for one of our users on a Linux Terminal Server. Will 
you guys now if successful or not.







-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem

2007-09-06 Thread Tom Sommer
On Thu, September 6, 2007 23:36, Steve Thompson wrote:
> Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
> both 32-bit and 64-bit. Backups are to disk files.
>
> I find that I cannot do any restores:
>
>
> 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error:
> block.c:275 Volume data
> error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer discarded.
> 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula
> 2.0.3 (06Mar07):
> 06-Sep-2007 13:59:39
>
>
> I have seen messages in the archive from others with a similar problem,
> with suggestions that they are having hardware problems. I am not having
> hardware problems, however: I can cp the backups, dd them, bls them,
> bextract them, but I cannot run a restoration job to completion. I can
> exercise the hardware for days with no apparent problems.
>
> I have deleted all the backups, reinitialized bacula from scratch, run
> full backups to different disk volumes, and tried a restore again: same
> result.
>
> I'd be thankful for any clue stick that someone can hit me with.

Had/Have this problem too, I suggest opening a bug on it..

--
Tom Sommer



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem

2007-09-06 Thread Doytchin Spiridonov
Hello,

just to mention again that while there were suggestions this is a
hardware problem we did a lot of tests and proved the problem is not
hadrware but there is a bug (which however was closed with "unable to
reproduce" reason)

As you are the next case, can you please test it again ("have deleted
all the backups, reinitialized bacula from scratch, run full backups
to different disk volumes, and tried a restore again") but w/o
enabling concurrent jobs (I bet you are) and see if it will be OK or
you will get the same problems?

Regards.


Friday, September 7, 2007, 12:36:41 AM:

ST> Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
ST> both 32-bit and 64-bit. Backups are to disk files.

ST> I find that I cannot do any restores:

ST> 06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error: block.c:275 
Volume data
ST> error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer 
discarded.
ST> 06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula 
2.0.3 (06Mar07):
ST> 06-Sep-2007 13:59:39

ST> I have seen messages in the archive from others with a similar problem,
ST> with suggestions that they are having hardware problems. I am not having
ST> hardware problems, however: I can cp the backups, dd them, bls them, 
ST> bextract them, but I cannot run a restoration job to completion. I can
ST> exercise the hardware for days with no apparent problems.

ST> I have deleted all the backups, reinitialized bacula from scratch, run
ST> full backups to different disk volumes, and tried a restore again: same
ST> result.

ST> I'd be thankful for any clue stick that someone can hit me with.

ST> Steve

ST> -
ST> This SF.net email is sponsored by: Splunk Inc.
ST> Still grepping through log files to find problems?  Stop.
ST> Now Search log events and configuration files using AJAX and a browser.
ST> Download your FREE copy of Splunk now >>  http://get.splunk.com/
ST> ___
ST> Bacula-users mailing list
ST> Bacula-users@lists.sourceforge.net
ST> https://lists.sourceforge.net/lists/listinfo/bacula-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem

2007-09-07 Thread Steve Thompson
On Fri, 7 Sep 2007, Doytchin Spiridonov wrote:

> just to mention again that while there were suggestions this is a
> hardware problem we did a lot of tests and proved the problem is not
> hadrware but there is a bug (which however was closed with "unable to
> reproduce" reason)
>
> As you are the next case, can you please test it again ("have deleted
> all the backups, reinitialized bacula from scratch, run full backups
> to different disk volumes, and tried a restore again") but w/o
> enabling concurrent jobs (I bet you are) and see if it will be OK or
> you will get the same problems?

Very interesting.

My entire set of backup volumes, currently about 4.2 TB, was rsync'd to a 
separate system (no errors) and a restore attempt made there from a fresh 
bacula installation (using the same catalog but otherwise different h/w 
and s/w). This restore attempt also failed in the identical fashion to 
that described previously. The backup volumes are evidently corrupted at 
backup time.

On the original director, I then set "Max Concurrent Jobs" to 1 everywhere 
and ran a full backup of a 300 GB file system containing 151,155 files. 
Same hardware, same software, everything the same except for MCJ=1. I then 
restored all of these files without any error, which I have been unable to 
do with MCJ=2.

The conclusion is that it looks like there may indeed be a bug.

In any event, I shall run with MCJ=1 for now, and re-run full backups of 
all of my data (about 2 TB on this system), and then restore the whole lot 
to see what I get. If I get time I will take a peek at the source.

Steve

Steve Thompson E-mail:  smt AT vgersoft DOT com
Voyager Software LLC   Web: http://www DOT vgersoft DOT com
39 Smugglers Path  VSW Support: support AT vgersoft DOT com
Ithaca, NY 14850
   "186,300 miles per second: it's not just a good idea, it's the law"


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 problem

2007-09-07 Thread Doytchin Spiridonov
Hello,

we have spent two weeks of testing until we found the root of the
problem (concurrent jobs) and we were 100% sure it is a bug. However
after I submitted it as a bug, it was closed as they couldn't
replicate it, claiming we have a hardware problem (which we proved is
not the case) and required us to send all of our hadrware (which I
guess was just a sarcasm or something).

At least we found a working solution (no concurrent jobs, because with
concurent jobs bacula was useless) hoping they will fix it sometime
when they receive enough proof that there IS a bug. You can reopen it
(as I'm not going to do it after I've got several times a response
"can't replicate, so there are no bugs") at bugs.bacula.org

Regards.


Saturday, September 8, 2007, 2:26:51 AM:

ST> On Fri, 7 Sep 2007, Doytchin Spiridonov wrote:

>> just to mention again that while there were suggestions this is a
>> hardware problem we did a lot of tests and proved the problem is not
>> hadrware but there is a bug (which however was closed with "unable to
>> reproduce" reason)
>>
>> As you are the next case, can you please test it again ("have deleted
>> all the backups, reinitialized bacula from scratch, run full backups
>> to different disk volumes, and tried a restore again") but w/o
>> enabling concurrent jobs (I bet you are) and see if it will be OK or
>> you will get the same problems?

ST> Very interesting.

ST> My entire set of backup volumes, currently about 4.2 TB, was rsync'd to a
ST> separate system (no errors) and a restore attempt made there from a fresh
ST> bacula installation (using the same catalog but otherwise different h/w
ST> and s/w). This restore attempt also failed in the identical fashion to
ST> that described previously. The backup volumes are evidently corrupted at
ST> backup time.

ST> On the original director, I then set "Max Concurrent Jobs" to 1 everywhere
ST> and ran a full backup of a 300 GB file system containing 151,155 files.
ST> Same hardware, same software, everything the same except for MCJ=1. I then
ST> restored all of these files without any error, which I have been unable to
ST> do with MCJ=2.

ST> The conclusion is that it looks like there may indeed be a bug.

ST> In any event, I shall run with MCJ=1 for now, and re-run full backups of
ST> all of my data (about 2 TB on this system), and then restore the whole lot
ST> to see what I get. If I get time I will take a peek at the source.

ST> Steve
ST> 
ST> Steve Thompson E-mail:  smt AT vgersoft DOT com
ST> Voyager Software LLC   Web: http://www DOT vgersoft DOT com
ST> 39 Smugglers Path  VSW Support: support AT vgersoft DOT com
ST> Ithaca, NY 14850
ST>"186,300 miles per second: it's not just a good idea, it's the law"
ST> 

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


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 problem

2007-09-07 Thread Dan Langille
On 8 Sep 2007 at 2:42, Doytchin Spiridonov wrote:

> Hello,
> 
> we have spent two weeks of testing until we found the root of the
> problem (concurrent jobs) and we were 100% sure it is a bug. However
> after I submitted it as a bug, it was closed as they couldn't
> replicate it, claiming we have a hardware problem (which we proved is
> not the case) and required us to send all of our hadrware (which I
> guess was just a sarcasm or something).

I think you'd agree that replicating the problem is pretty important 
to finding the bug.  Having your setup, or at least access to it, 
would be pretty vital in that, if we're unable to replicate it here.

> At least we found a working solution (no concurrent jobs, because with
> concurent jobs bacula was useless) hoping they will fix it sometime
> when they receive enough proof that there IS a bug. You can reopen it
> (as I'm not going to do it after I've got several times a response
> "can't replicate, so there are no bugs") at bugs.bacula.org 

What do you suggest we do if we are unable to replicate the bug?  
What course[s] of action would you suggest?

-- 
Dan Langille - http://www.langille.org/
Available for hire: http://www.freebsddiary.org/dan_langille.php



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 problem

2007-09-07 Thread Doytchin Spiridonov
Hello,

Saturday, September 8, 2007, 2:45:48 AM:

DL> On 8 Sep 2007 at 2:42, Doytchin Spiridonov wrote:

>> Hello,
>> 
>> we have spent two weeks of testing until we found the root of the
>> problem (concurrent jobs) and we were 100% sure it is a bug. However
>> after I submitted it as a bug, it was closed as they couldn't
>> replicate it, claiming we have a hardware problem (which we proved is
>> not the case) and required us to send all of our hadrware (which I
>> guess was just a sarcasm or something).

DL> I think you'd agree that replicating the problem is pretty important 
DL> to finding the bug.  Having your setup, or at least access to it, 
DL> would be pretty vital in that, if we're unable to replicate it here.

>> At least we found a working solution (no concurrent jobs, because with
>> concurent jobs bacula was useless) hoping they will fix it sometime
>> when they receive enough proof that there IS a bug. You can reopen it
>> (as I'm not going to do it after I've got several times a response
>> "can't replicate, so there are no bugs") at bugs.bacula.org 

DL> What do you suggest we do if we are unable to replicate the bug?  
DL> What course[s] of action would you suggest?

I am not sure as I don't know how it is developed. As at least it is
known where the problem is (concurrent jobs) and if the code related
to this part is not 100 lines long I would review it. Actually I
guess this is the only way, as even if you could replicate it, you
would discover there is something wrong with the data in the volumes
after the backup is done, when you try to restore it; or if you have
any way/tools to find what is wrong in such a case you could suggest
to do that at our servers when we discovered the bug. A version with
more detailed debug reports while backing up could be helpful, I don't
know.

As far as I remember someone else faced the same problem at that time
and I'm sure his hardware was different. Now there is another case.
And if more people try to restore their data (if they are backing up
using concurrent jobs) you will see more cases. So the last suggestion
is to improve your test cases as it seems there are such that you
miss...

Regards.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 problem

2007-09-08 Thread Steve Thompson
On Fri, 7 Sep 2007, Dan Langille wrote:

> On 8 Sep 2007 at 2:42, Doytchin Spiridonov wrote:
>> At least we found a working solution (no concurrent jobs, because with
>> concurent jobs bacula was useless) hoping they will fix it sometime
>> when they receive enough proof that there IS a bug. You can reopen it
>> (as I'm not going to do it after I've got several times a response
>> "can't replicate, so there are no bugs") at bugs.bacula.org
> What do you suggest we do if we are unable to replicate the bug?
> What course[s] of action would you suggest?

OK, I will suggest a course of action.

I am sure that you would agree that enough people have reported this issue 
now to confirm that there is a major problem with concurrent job 
processing that is unrelated to any hardware issues.

I am sure you would also agree that people are running bacula for a 
reason, and they expect to be able to restore their data, and consequently 
they cannot enter into a testing regime with production systems to debug 
this. I can reproduce this problem at will, but I cannot use my own 
systems nor any customer systems for debugging it further, nor give access 
to anyone else to do the same. Now that it is known that using Max 
Concurrent Jobs greater than 1 can lead to volume corruption, no system 
that I manage can use concurrent jobs until the cause is known and fixed. 
And this will apply to everyone using bacula: test your restores 
regularly.

Presumably "you" (developers, not just you personally) have testing 
systems for which the actual backed up data is not important, and that can 
therefore be used to investigate this issue, and that you have a way to 
verify the structural integrity of the saved data volumes, and that you 
cannot expect folks running bacula in production to have the same. Since 
the developers also presumably have an interest in the functionality of 
the code base, and are familiar with the structure of that code, I would 
suggest that for such a major issue an inability to reproduce the problem 
by doing a number of successful restores is not sufficient cause to stop 
investigating it: it has to be worked on it until the cause is known. Let 
me state again that this is a major show-stopper problem. Obviously 
Doytchin has spent considerable time on it already, and his efforts allow 
both him and me, and probably many others, to run backups with a 
reasonable expectation of being able to restore.

I have some spare hardware that I can probably rig up for testing, but I 
have a business to run and my time is therefore limited. I am willing, 
however, to assist in whatever way I can, given these constraints.

Steve

Steve Thompson E-mail:  smt AT vgersoft DOT com
Voyager Software LLC   Web: http://www DOT vgersoft DOT com
39 Smugglers Path  VSW Support: support AT vgersoft DOT com
Ithaca, NY 14850
   "186,300 miles per second: it's not just a good idea, it's the law"


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 problem.

2008-02-26 Thread Timo Neuvonen
"Erik P. Olsen" <[EMAIL PROTECTED]> kirjoitti viestissä 
news:[EMAIL PROTECTED]
>I have a laptop running W2K which has received the "blue screen of death". 
>In
> order to recover properly I need information from that system. Information 
> which
> is on my back-up files. How do I restore the relevant files to my linux 
> system
> so that my read this information?
>
While running restore, put "client" to point to your Linux system instead of 
W2k.

On the other hand, what information do you need? If you re-install W2k, to 
install Bacula client to the system you won't need other information but 
director passwd that you already can find from bacula-dir.conf

--
TiN 



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

2008-02-26 Thread Erik P. Olsen
Timo Neuvonen wrote:
> "Erik P. Olsen" <[EMAIL PROTECTED]> kirjoitti viestissä 
> news:[EMAIL PROTECTED]
>> I have a laptop running W2K which has received the "blue screen of death". 
>> In
>> order to recover properly I need information from that system. Information 
>> which
>> is on my back-up files. How do I restore the relevant files to my linux 
>> system
>> so that my read this information?
>>
> While running restore, put "client" to point to your Linux system instead of 
> W2k.
> 
Thanks. Amazing! I was of the conviction that it was impossible to do. But now 
I 
have it all on Linux and have no problems doing the rest of the recovery.

> On the other hand, what information do you need? If you re-install W2k, to 
> install Bacula client to the system you won't need other information but 
> director passwd that you already can find from bacula-dir.conf

The information I miss is various software keys and I didn't want to reinstall 
W2K just to get the keys :-)

-- 
Erik.

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

2008-02-26 Thread Timo Neuvonen
"Erik P. Olsen" <[EMAIL PROTECTED]> kirjoitti viestissä 
news:[EMAIL PROTECTED]
> Timo Neuvonen wrote:
> > "Erik P. Olsen" <[EMAIL PROTECTED]> kirjoitti viestissä
> > news:[EMAIL PROTECTED]
> >> I have a laptop running W2K which has received the "blue screen of 
> >> death".
> >> In
> >> order to recover properly I need information from that system. 
> >> Information
> >> which
> >> is on my back-up files. How do I restore the relevant files to my linux
> >> system
> >> so that my read this information?
> >>
> > While running restore, put "client" to point to your Linux system 
> > instead of
> > W2k.
> >
> Thanks. Amazing! I was of the conviction that it was impossible to do. But 
> now I
> have it all on Linux and have no problems doing the rest of the recovery.
>
> > On the other hand, what information do you need? If you re-install W2k, 
> > to
> > install Bacula client to the system you won't need other information but
> > director passwd that you already can find from bacula-dir.conf
>
> The information I miss is various software keys and I didn't want to 
> reinstall
> W2K just to get the keys :-)
>

Off-topic:
In that case, a faster approach might have been booting your dead W2k with 
some live-CD Linux to crawl thru the W2k filesystem (provided you had had a 
suitable cd at your hands).

Of course, doing it with Bacula was also a good test to see that your backup 
system has really been working.

--
TiN 



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

2008-02-26 Thread Erik P. Olsen
Timo Neuvonen wrote:
> "Erik P. Olsen" <[EMAIL PROTECTED]> kirjoitti viestissä 
> news:[EMAIL PROTECTED]
>> Timo Neuvonen wrote:
>>> "Erik P. Olsen" <[EMAIL PROTECTED]> kirjoitti viestissä
>>> news:[EMAIL PROTECTED]
 I have a laptop running W2K which has received the "blue screen of 
 death".
 In
 order to recover properly I need information from that system. 
 Information
 which
 is on my back-up files. How do I restore the relevant files to my linux
 system
 so that my read this information?

>>> While running restore, put "client" to point to your Linux system 
>>> instead of
>>> W2k.
>>>
>> Thanks. Amazing! I was of the conviction that it was impossible to do. But 
>> now I
>> have it all on Linux and have no problems doing the rest of the recovery.
>>
>>> On the other hand, what information do you need? If you re-install W2k, 
>>> to
>>> install Bacula client to the system you won't need other information but
>>> director passwd that you already can find from bacula-dir.conf
>> The information I miss is various software keys and I didn't want to 
>> reinstall
>> W2K just to get the keys :-)
>>
> 
> Off-topic:
> In that case, a faster approach might have been booting your dead W2k with 
> some live-CD Linux to crawl thru the W2k filesystem (provided you had had a 
> suitable cd at your hands).
> 
> Of course, doing it with Bacula was also a good test to see that your backup 
> system has really been working.

Using Bacula was swift and it was really comforting to see how well the latest 
Bacula works. I have just upgraded from 1.38.

-- 
Erik.

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

2010-01-16 Thread Bruno Friedmann
Hi Arnaud, can I ask you how did you launch the restore.
(I never use bootstrap file, always a restore from bconsole)

If you can just explain how you run the restore.

With what I've seen on the log and your bsr file.
You have 2 differents volumes. Perharps the one mounted is not the one seeked
during restore.

Quiet new message error here.

A simple check also is to verify if bsr are owned by bacula running user.
And also the media file are owned by the bacula-sd daemon.

for info just send also the bacula version used
(first 2 lines of bconsole)



On 01/15/2010 04:03 PM, Arnaud Bougeard wrote:
> Hello,
> Using bacula in a french education distribution based on ubuntu 8.04, I 
> have a problem during restore.
> 
> Here is my bacula.log file...
> 
> Could you help me?
> 
> Should this error caused by a hardware problem?
> 
> Arnaud
> 
> 
> 13-jan 17:27 127.0.0.1-dir JobId 3: Démarrage du Job de restauration
> RestoreLDAP.2010-01-13_17.27.36_03
> 13-jan 17:27 127.0.0.1-dir JobId 3: Using Device "FileStorage"
> 13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Bootstrap file error:
> Keyword VolAddr not found
>: Line 6, col 7 of
> file 
> /var/lib/bacula/127.0.0.1-sd.RestoreLDAP.2010-01-13_17.27.36_03.1.bootstrap
> VolAddr=206-92568046
> 
> 13-jan 17:27 127.0.0.1-sd JobId 3: Erreur fatale : Error parsing
> bootstrap file.
> 13-jan 17:27 127.0.0.1-dir JobId 3: Erreur fatale : Mauvaise réponse à
> la commande Bootstrap : voulait 3000 OK bootstrap
> , pas 3904 Error bootstrap
> 
> 13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3
> (18Oct09): 13-jan-2010 17:27:38
>  Build OS:   i486-pc-linux-gnu ubuntu 8.04
>  JobId:  3
>  Job:RestoreLDAP.2010-01-13_17.27.36_03
>  Restore Client: 127.0.0.1-fd
>  Start time: 13-jan-2010 17:27:38
>  End time:   13-jan-2010 17:27:38
>  Files Expected: 1
>  Files Restored: 0
>  Bytes Restored: 0
>  Rate:   0.0 KB/s
>  FD Errors:  0
>  FD termination status:   SD termination status:  
>  Termination:*** Restauration en erreur ***
> 
> 13-jan 17:27 127.0.0.1-dir JobId 3 : Erreur : Bacula 127.0.0.1-dir 3.0.3
> (18Oct09): 13-jan-2010 17:27:38
>  Build OS:   i486-pc-linux-gnu ubuntu 8.04
>  JobId:  3
>  Job:RestoreLDAP.2010-01-13_17.27.36_03
>  Restore Client: 127.0.0.1-fd
>  Start time: 13-jan-2010 17:27:38
>  End time:   13-jan-2010 17:27:38
>  Files Expected: 1
>  Files Restored: 0
>  Bytes Restored: 0
>  Rate:   0.0 KB/s
>  FD Errors:  1
>  FD termination status:   SD termination status:  
>  Termination:*** Restauration en erreur ***
> 
> 
> et le contenu du fichier ScribeBootStrap.bsr:
> 
> # 12-jan-2010 17:58:13 - Complet.2010-01-12_17.51.31_08 - Full
> Volume="ScribeVolume-0001"
> MediaType="File"
> VolSessionId=1
> VolSessionTime=1263287759
> VolAddr=206-36170
> FileIndex=1-2429
> Volume="ScribeVolume-0001"
> MediaType="File"
> VolSessionId=1
> VolSessionTime=1263287759
> VolAddr=36171-1999872133
> FileIndex=2429-7779
> Volume="ScribeVolume-0001"
> MediaType="File"
> VolSessionId=1
> VolSessionTime=1263287759
> VolAddr=1999872134-136645
> FileIndex=7779-7779
> Volume="ScribeVolume-0002"
> MediaType="File"
> VolSessionId=1
> VolSessionTime=1263287759
> VolAddr=206-36186
> FileIndex=7779-12555
> Volume="ScribeVolume-0002"
> MediaType="File"
> VolSessionId=1
> VolSessionTime=1263287759
> VolAddr=36187-1999872129
> FileIndex=12555-20472
> Volume="ScribeVolume-0002"
> MediaType="File"
> VolSessionId=1
> VolSessionTime=1263287759
> VolAddr=1999872130-136641
> FileIndex=20472-20472
> Volume="ScribeVolume-0003"
> MediaType="File"
> VolSessionId=1
> VolSessionTime=1263287759
> VolAddr=206-92568046
> FileIndex=20472-21515
> 
> 


-- 

 Bruno Friedmann


--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2009-11-10 Thread Francisco Garcia Perez
:´(, thank you very much for your response, now I have the same version on
Director and Storage Daemon and all works fine.

2009/11/10 Chris Shelton 

> Francisco,
>
> 2009/11/10 Francisco Garcia Perez :
> > Bacula-dir Version: 3.0.2
> > Bacula-sd Version: 2.4.4
> >
> > PLEASE HELP ME
>
> Your problem is that having a dir and sd at different versions doesn't
> work.  From the release notes, here:
>
> http://bacula.svn.sourceforge.net/viewvc/bacula/tags/Release-3.0.2/bacula/ReleaseNotes?revision=9074&view=markup
>
> "Compatibility:
> Like always, both the Director and Storage daemon must be upgraded at
> the same time."
>
> chris
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2009-11-10 Thread Thomas
i am using bacula since version 1.36 and
i have never seen a release note without :

> Compatibility:
>  As always, both the Director and Storage daemon must be upgraded at
>  the same time.

:)


Francisco Garcia Perez schrieb:
> :´(, thank you very much for your response, now I have the same version
> on Director and Storage Daemon and all works fine.
> 
> 2009/11/10 Chris Shelton  >
> 
> Francisco,
> 
> 2009/11/10 Francisco Garcia Perez  >:
> > Bacula-dir Version: 3.0.2
> > Bacula-sd Version: 2.4.4
> >
> > PLEASE HELP ME
> 
> Your problem is that having a dir and sd at different versions doesn't
> work.  From the release notes, here:
> 
> http://bacula.svn.sourceforge.net/viewvc/bacula/tags/Release-3.0.2/bacula/ReleaseNotes?revision=9074&view=markup
> 
> 
> 
> "Compatibility:
> Like always, both the Director and Storage daemon must be upgraded at
> the same time."
> 
> chris
> 
> 
> 
> 
> 
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
[:O]###[O:]

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2009-11-10 Thread Francisco Garcia Perez
My problem is that I'm always using packages from Debian repositories, and
my servers always have the latest stable release from Debian, for this
reason I'm always using the same version of Bacula in Director and Storage
Daemon,and I never have any problem. But with Bacula 3 I can do diferencial
and incremental backups from Exchange and for this reason I upgrade the
Director and the Exchange client to 3.0. I'm not read in detail the release
notes, that was my mistake.

Thank you very much guys.


2009/11/10 Thomas 

> i am using bacula since version 1.36 and
> i have never seen a release note without :
>
> > Compatibility:
> >  As always, both the Director and Storage daemon must be upgraded at
> >  the same time.
>
> :)
>
>
> Francisco Garcia Perez schrieb:
> > :´(, thank you very much for your response, now I have the same version
> > on Director and Storage Daemon and all works fine.
> >
> > 2009/11/10 Chris Shelton  > >
> >
> > Francisco,
> >
> > 2009/11/10 Francisco Garcia Perez  > >:
> > > Bacula-dir Version: 3.0.2
> > > Bacula-sd Version: 2.4.4
> > >
> > > PLEASE HELP ME
> >
> > Your problem is that having a dir and sd at different versions
> doesn't
> > work.  From the release notes, here:
> >
> http://bacula.svn.sourceforge.net/viewvc/bacula/tags/Release-3.0.2/bacula/ReleaseNotes?revision=9074&view=markup
> > <
> http://bacula.svn.sourceforge.net/viewvc/bacula/tags/Release-3.0.2/bacula/ReleaseNotes?revision=9074&view=markup
> >
> >
> > "Compatibility:
> > Like always, both the Director and Storage daemon must be upgraded at
> > the same time."
> >
> > chris
> >
> >
> >
> > 
> >
> >
> --
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day
> > trial. Simplify your report design, integration and deployment - and
> focus on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >
> >
> > 
> >
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
> --
> [:O]###[O:]
>
>
> --
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem

2017-11-29 Thread Clark, Patti
Remove the line:
  Write Bootstrap = "/var/lib/bacula/%c.bsr"

Patti
 

On 11/29/17, 5:53 AM, "Gokan Atmaca"  wrote:

Hello

I get an error like below. The problem says it's a bootstrap.
How can I overcome this?

29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 
(202Sep16):
  Build OS:   x86_64-pc-linux-gnu debian 9.0
  JobId:  64
  Job:Windows01Restore.2017-11-29_13.36.50_05
  Restore Client: test-PC-fd
  Start time: 29-Nov-2017 13:36:52
  End time:   29-Nov-2017 13:36:52
  Files Expected: 0
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  1
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***

29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 
(202Sep16):
  Build OS:   x86_64-pc-linux-gnu debian 9.0
  JobId:  64
  Job:Windows01Restore.2017-11-29_13.36.50_05
  Restore Client: test-PC-fd
  Start time: 29-Nov-2017 13:36:52
  End time:   29-Nov-2017 13:36:53
  Files Expected: 0
  Files Restored: 0
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  2
  FD termination status:
  SD termination status:
  Termination:*** Restore Error ***


 Config:

Client {
  Name = test-PC-fd
  Address = 192.168.1.27
  FDport = 9102
  Catalog = MyCatalog
  Password = "123123tt"
  File Retention = 60 days
  Job Retention = 6 months
  AutoPrune = yes
}



FileSet {
  Name = "windowshome"
  Enable VSS = yes
  Include {
Options {
  signature = MD5
  compression = Gzip9
  IgnoreCase = yes

}
File = "C:/Users/test/Downloads"
  }
}

--- restore job:
Job {
  Name = "Windows01Restore"
  Type = Restore
  Client =test-PC-fd
  FileSet = "windowshome"
  Storage = File1
  Pool = File
  Write Bootstrap = "/var/lib/bacula/%c.bsr"
  Messages = Standard
  Where = /bacula/restore
}


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



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

2017-11-29 Thread Heitor Faria
> Hello

Hello, Gokan,

> I get an error like below. The problem says it's a bootstrap.
> How can I overcome this?

Most likely you are using the run command to perform a restore. This is wrong 
and you don't need to create a Restore Job for each backup client you have.
You are supposed to use the restore command.
Perhaps, Jobs with the Restore Type should not appear in the run list at all 
(feature request), but I never thought of all the consequences of that.
 
> 29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 (202Sep16):
>  Build OS:   x86_64-pc-linux-gnu debian 9.0
>  JobId:  64
>  Job:Windows01Restore.2017-11-29_13.36.50_05
>  Restore Client: test-PC-fd
>  Start time: 29-Nov-2017 13:36:52
>  End time:   29-Nov-2017 13:36:52
>  Files Expected: 0
>  Files Restored: 0
>  Bytes Restored: 0
>  Rate:   0.0 KB/s
>  FD Errors:  1
>  FD termination status:
>  SD termination status:
>  Termination:*** Restore Error ***
> 
> 29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 (202Sep16):
>  Build OS:   x86_64-pc-linux-gnu debian 9.0
>  JobId:  64
>  Job:Windows01Restore.2017-11-29_13.36.50_05
>  Restore Client: test-PC-fd
>  Start time: 29-Nov-2017 13:36:52
>  End time:   29-Nov-2017 13:36:53
>  Files Expected: 0
>  Files Restored: 0
>  Bytes Restored: 0
>  Rate:   0.0 KB/s
>  FD Errors:  2
>  FD termination status:
>  SD termination status:
>  Termination:*** Restore Error ***
> 
> 
>  Config:
> 
> Client {
>  Name = test-PC-fd
>  Address = 192.168.1.27
>  FDport = 9102
>  Catalog = MyCatalog
>  Password = "123123tt"
>  File Retention = 60 days
>  Job Retention = 6 months
>  AutoPrune = yes
> }
> 
> 
> 
> FileSet {
>  Name = "windowshome"
>  Enable VSS = yes
>  Include {
>Options {
>  signature = MD5
>  compression = Gzip9
>  IgnoreCase = yes
> 
>}
>File = "C:/Users/test/Downloads"
>  }
> }
> 
> --- restore job:
> Job {
>  Name = "Windows01Restore"
>  Type = Restore
>  Client =test-PC-fd
>  FileSet = "windowshome"
>  Storage = File1
>  Pool = File
>  Write Bootstrap = "/var/lib/bacula/%c.bsr"
>  Messages = Standard
>  Where = /bacula/restore
> }

Regards,
-- 
=== 
Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula 
Systems Certified Administrator II 
• Bacula Enterprise does not charge per backup size and has plugins for many 
applications. In the USA: http://bacula.us/ 
• Do you need Bacula training? http://bacula.us/video-classes/ 
• USA +1 (323) 300-5387 | Brazil +55 (61) 98268-4220 | http://bacula.us 
===

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

2017-11-29 Thread Gokan Atmaca
> Most likely you are using the run command to perform a restore. This is wrong 
> and you don't need to create a Restore Job for each backup client you have.
> You are supposed to use the restore command.
> Perhaps, Jobs with the Restore Type should not appear in the run list at all 
> (feature request), but I never thought of all the consequences of that.


Hello

You're right. There was no problem with the restoration. (restore command)

Thanks.

On Wed, Nov 29, 2017 at 6:29 PM, Heitor Faria  wrote:
>> Hello
>
> Hello, Gokan,
>
>> I get an error like below. The problem says it's a bootstrap.
>> How can I overcome this?
>
> Most likely you are using the run command to perform a restore. This is wrong 
> and you don't need to create a Restore Job for each backup client you have.
> You are supposed to use the restore command.
> Perhaps, Jobs with the Restore Type should not appear in the run list at all 
> (feature request), but I never thought of all the consequences of that.
>
>> 29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 
>> (202Sep16):
>>  Build OS:   x86_64-pc-linux-gnu debian 9.0
>>  JobId:  64
>>  Job:Windows01Restore.2017-11-29_13.36.50_05
>>  Restore Client: test-PC-fd
>>  Start time: 29-Nov-2017 13:36:52
>>  End time:   29-Nov-2017 13:36:52
>>  Files Expected: 0
>>  Files Restored: 0
>>  Bytes Restored: 0
>>  Rate:   0.0 KB/s
>>  FD Errors:  1
>>  FD termination status:
>>  SD termination status:
>>  Termination:*** Restore Error ***
>>
>> 29-Nov 13:36 bacula0-dir JobId 64: Error: Bacula bacula0-dir 7.4.4 
>> (202Sep16):
>>  Build OS:   x86_64-pc-linux-gnu debian 9.0
>>  JobId:  64
>>  Job:Windows01Restore.2017-11-29_13.36.50_05
>>  Restore Client: test-PC-fd
>>  Start time: 29-Nov-2017 13:36:52
>>  End time:   29-Nov-2017 13:36:53
>>  Files Expected: 0
>>  Files Restored: 0
>>  Bytes Restored: 0
>>  Rate:   0.0 KB/s
>>  FD Errors:  2
>>  FD termination status:
>>  SD termination status:
>>  Termination:*** Restore Error ***
>>
>>
>>  Config:
>>
>> Client {
>>  Name = test-PC-fd
>>  Address = 192.168.1.27
>>  FDport = 9102
>>  Catalog = MyCatalog
>>  Password = "123123tt"
>>  File Retention = 60 days
>>  Job Retention = 6 months
>>  AutoPrune = yes
>> }
>>
>>
>>
>> FileSet {
>>  Name = "windowshome"
>>  Enable VSS = yes
>>  Include {
>>Options {
>>  signature = MD5
>>  compression = Gzip9
>>  IgnoreCase = yes
>>
>>}
>>File = "C:/Users/test/Downloads"
>>  }
>> }
>>
>> --- restore job:
>> Job {
>>  Name = "Windows01Restore"
>>  Type = Restore
>>  Client =test-PC-fd
>>  FileSet = "windowshome"
>>  Storage = File1
>>  Pool = File
>>  Write Bootstrap = "/var/lib/bacula/%c.bsr"
>>  Messages = Standard
>>  Where = /bacula/restore
>> }
>
> Regards,
> --
> ===
> Heitor Medrado de Faria | EB-1 Visa | LPIC-III | ITIL-F | EMC 05-001| Bacula 
> Systems Certified Administrator II
> • Bacula Enterprise does not charge per backup size and has plugins for many 
> applications. In the USA: http://bacula.us/
> • Do you need Bacula training? http://bacula.us/video-classes/
> • USA +1 (323) 300-5387 | Brazil +55 (61) 98268-4220 | http://bacula.us
> ===

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

2017-11-30 Thread Radosław Korzeniewski
Hello,

2017-11-29 16:29 GMT+01:00 Heitor Faria :

> > Hello
>
> Hello, Gokan,
>
> > I get an error like below. The problem says it's a bootstrap.
> > How can I overcome this?
>
> Most likely you are using the run command to perform a restore. This is
> wrong and you don't need to create a Restore Job for each backup client you
> have.
> You are supposed to use the restore command.
> Perhaps, Jobs with the Restore Type should not appear in the run list at
> all (feature request), but I never thought of all the consequences of that.
>

As far as I verified it a long time ago I could just 'run' a restore job
when I setup a proper bootstrap parameter. The missing piece of code is a
restoreclient directive and command parameter which I need to port from
ancient Bacula 3.x code I have. :)

I see this functionality as an internally scheduled restore verification
process, where you can use a bootstrap file generated during backup to test
if your restore is working on a dedicated test system. The functionality
which do not require external scripting.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
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 problem

2010-11-19 Thread Martin Simmons
> On Thu, 18 Nov 2010 14:09:51 +, Alan Brown said:
> 
> I have one particular restore which only brings back ~11,500 files out 
> of 980,000 on a full backup.
> 
> Using Bextract and attempting to restore the job that way gives the same 
> result.
> 
> There are no errors except that the job was expecting a lot more files 
> than actually came back.
> 
> The odd thing is that stracing and debugging shows that the blocks on 
> the tape are being read fine, as are the files on it, but they're simply 
> not being extracted to disk.
> 
> Subsequent and previous full backups for the same job work fine.
> 
> Backups and restores attempted on 64-bit linux, using Bacula 5.0.3
> 
> Has anyone else seen this behaviour?

Not me.

Does bls list all of the files?

__Martin

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


Re: [Bacula-users] Restore problem

2010-11-22 Thread Dan Langille
On 11/18/2010 9:09 AM, Alan Brown wrote:
>
> I have one particular restore which only brings back ~11,500 files out
> of 980,000 on a full backup.
>
> Using Bextract and attempting to restore the job that way gives the same
> result.
>
> There are no errors except that the job was expecting a lot more files
> than actually came back.
>
> The odd thing is that stracing and debugging shows that the blocks on
> the tape are being read fine, as are the files on it, but they're simply
> not being extracted to disk.
>
> Subsequent and previous full backups for the same job work fine.
>
> Backups and restores attempted on 64-bit linux, using Bacula 5.0.3
>
> Has anyone else seen this behaviour?

Any resolution?

-- 
Dan Langille - http://langille.org/

--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem

2010-11-22 Thread Alan Brown

>> Has anyone else seen this behaviour?
>
> Any resolution?
>

Not yet




--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problem / File Retention

2007-02-26 Thread alexander . nolte
Hello everybody!

After getting some storages together at last I have a really bad problem
when I try to restore some files. As I got some Windows and some Linux
Servers to Backup I put them onto different storages and here comes the
problem:

I created the following job definition for the restore:

Job {
  Name = "restore-linux-server"
  Type = Restore
  Client = linux-server
  FileSet = "linux-server-set"
  Storage = StorageDaemon-LinuxServer
  Pool = linux-pool
  Messages = Standard
  Where = /tmp/bacula-restores
}

But after I marked the files and typed done, Bacula wants to create a job
with the windows storage daemon rather the one that is listed in the job
definition above. Even when I modify the job so that I should use the
right storage daemon it still tries to use the windows storage daemon and
creates the following error message:

08-Feb 12:54 StorageDaemon: restore-linux-server.2007-02-08_12.54.51 Fatal
error: acquire.c:109 Read open device "Storage-WindowsServer"
(/mnt/windows-server-bac
kup) Volume "linux" failed: ERR=dev.c:450 Could not open:
/mnt/windows-server-backup/linux, ERR=Datei oder Verzeichnis nicht
gefunden

I hope that someone here can help as I really dont know what to do about it.
Thanks a lot in advance.

Alexander Nolte

P.S.: It would be glad if someone could also tell me how to answer to
posts in this mailinglist as I dont want to put all my posts on the top
level. ;-)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problem / File Retention

2007-02-27 Thread alexander . nolte
Hello everybody!

After getting some storages together at last I have a really bad problem
when I try to restore some files. As I got some Windows and some Linux
Servers to Backup I put them onto different storages and here comes the
problem:

I created the following job definition for the restore:

Job {
  Name = "restore-linux-server"
  Type = Restore
  Client = linux-server
  FileSet = "linux-server-set"
  Storage = StorageDaemon-LinuxServer
  Pool = linux-pool
  Messages = Standard
  Where = /tmp/bacula-restores
}

But after I marked the files and typed done, Bacula wants to create a job
with the windows storage daemon rather the one that is listed in the job
definition above. Even when I modify the job so that I should use the
right storage daemon it still tries to use the windows storage daemon and
creates the following error message:

08-Feb 12:54 StorageDaemon: restore-linux-server.2007-02-08_12.54.51 Fatal
error: acquire.c:109 Read open device "Storage-WindowsServer"
(/mnt/windows-server-bac
kup) Volume "linux" failed: ERR=dev.c:450 Could not open:
/mnt/windows-server-backup/linux, ERR=Datei oder Verzeichnis nicht
gefunden

I hope that someone here can help as I really dont know what to do about it.
Thanks a lot in advance.

Alexander Nolte

P.S.: It would be glad if someone could also tell me how to answer to
posts in this mailinglist as I dont want to put all my posts on the top
level. ;-)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problem / File Retention

2007-02-27 Thread Arno Lehmann
Hello,

On 2/26/2007 7:46 PM, [EMAIL PROTECTED] wrote:
> Hello everybody!
> 
> After getting some storages together at last I have a really bad problem
> when I try to restore some files. As I got some Windows and some Linux
> Servers to Backup I put them onto different storages and here comes the
> problem:
> 
> I created the following job definition for the restore:
> 
> Job {
>   Name = "restore-linux-server"
>   Type = Restore
>   Client = linux-server
>   FileSet = "linux-server-set"
>   Storage = StorageDaemon-LinuxServer
>   Pool = linux-pool
>   Messages = Standard
>   Where = /tmp/bacula-restores
> }
> 
> But after I marked the files and typed done, Bacula wants to create a job
> with the windows storage daemon rather the one that is listed in the job
> definition above. Even when I modify the job so that I should use the
> right storage daemon it still tries to use the windows storage daemon

The quick work around is to symlink the file to where it wants it.

> and
> creates the following error message:
> 
> 08-Feb 12:54 StorageDaemon: restore-linux-server.2007-02-08_12.54.51 Fatal
> error: acquire.c:109 Read open device "Storage-WindowsServer"
> (/mnt/windows-server-bac
> kup) Volume "linux" failed: ERR=dev.c:450 Could not open:
> /mnt/windows-server-backup/linux, ERR=Datei oder Verzeichnis nicht
> gefunden
> 
> I hope that someone here can help as I really dont know what to do about it.
> Thanks a lot in advance.

I assume you have the same file type for the two storage devices you 
created, which will lead to the problems you encounter.

Set up different file types and things should go much better. (This is 
mentioned in the manual, I believe.)


> Alexander Nolte
> 
> P.S.: It would be glad if someone could also tell me how to answer to
> posts in this mailinglist as I dont want to put all my posts on the top
> level. ;-)

Erm, I ususally simply press the "Reply to all" button and remove the 
individual senders. (Which is necessary because Thunderbird doesn't 
handle mailing list mail better by itself - I miss a "Reply to list" 
button...)

You're using SquirrelMail, which is a web mailer, which is something I 
really don't like. So, my recommendaton is to set up a proper mail client.

Arno

> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problem / File Retention

2007-03-02 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arno Lehmann wrote:

> Erm, I ususally simply press the "Reply to all" button and remove the 
> individual senders. (Which is necessary because Thunderbird doesn't 
> handle mailing list mail better by itself - I miss a "Reply to list" 
> button...)

Ask and ye shall receive (well, sorta):
http://cweiske.de/misc_extensions.htm#replyToList

Sounded like something that might exist as an extension, so I went
looking. I'm going to try it out.

- --
  _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |[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.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF6KCjmb+gadEcsb4RAoVVAJ94aIAIe5f50Aacc0a4dmpNxM2dTgCffFjU
G4twY0yq6a07swNHPJlw5+I=
=ZdYs
-END PGP SIGNATURE-


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problem (Tom Sommer)

2007-09-07 Thread Kelly, Brian
ration = 20d
  Pool Type = Backup
  Storage = PV132T
  AutoPrune = yes
  VolumeRetention = 2 years
  Recycle = yes
  Label Format = "Monthly-LTO2-"
  Next Pool = Monthly-new
}

Job {
  Name = "Migrate_volume"
  Type = Migrate
  Level = Full
  Client = lsbacsd0-fd
  File Set = "Windows"
  Messages = Standard
  Pool = Monthly
  Maximum Concurrent Jobs = 4
  Selection Type = Volume
  Selection Pattern = "0*"
}

When we got our new library, I renamed the Monthly pool to Monthly-LTO2 and
created a Monthly pool on the Neo8000 so that jobs would run there. I tried
migrating jobs with that configuration and I got the error that Monthly did
not have a next pool. So I named Monthly to Monthly-new and Monthly-LTO2 to
Monthly and that is the config and error above. I've also tried migrating to
a new pool that did not exist in the old library and I get the same errors
as above. The old library was attached to the director and I was having
problems so I attached it to the SD that has the Neo8000, so both libraries
are attached to the same computer.

Any help or pointers will be helpful.

Thanks,
Robert

Life Sciences Computer Support
Brigham Young University
-- next part --
An HTML attachment was scrubbed...

--

Message: 2
Date: Thu, 6 Sep 2007 17:36:41 -0400 (EDT)
From: Steve Thompson <[EMAIL PROTECTED]>
Subject: [Bacula-users] restore problem
To: bacula-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; format=flowed; charset=us-ascii

Bacula 2.0.3, director is 32-bit CentOS 4.5, clients are all CentOS 4.5,
both 32-bit and 64-bit. Backups are to disk files.

I find that I cannot do any restores:

06-Sep 13:59 dante-sd: RestoreFiles.2007-09-06_13.58.29 Error: block.c:275
Volume data
error at 0:899088562! Wanted ID: "BB02", got "???^g". Buffer
discarded. 
06-Sep 13:59 dante-dir: RestoreFiles.2007-09-06_13.58.29 Error: Bacula 2.0.3
(06Mar07):
06-Sep-2007 13:59:39

I have seen messages in the archive from others with a similar problem, with
suggestions that they are having hardware problems. I am not having hardware
problems, however: I can cp the backups, dd them, bls them, bextract them,
but I cannot run a restoration job to completion. I can exercise the
hardware for days with no apparent problems.

I have deleted all the backups, reinitialized bacula from scratch, run full
backups to different disk volumes, and tried a restore again: same result.

I'd be thankful for any clue stick that someone can hit me with.

Steve



--

Message: 3
Date: Thu, 6 Sep 2007 23:51:49 +0200
From: "Manuel Ostendorf" <[EMAIL PROTECTED]>
Subject: [Bacula-users] Fwd:  Problem with install bacula
To: bacula-users@lists.sourceforge.net
Message-ID:
<[EMAIL PROTECTED]>
Content-Type: text/plain; charset="utf-8"

-- Forwarded message --
From: Manuel Ostendorf <[EMAIL PROTECTED]>
Date: Sep 6, 2007 11:51 PM
Subject: Re: [Bacula-users] Problem with install bacula
To: Arno Lehmann <[EMAIL PROTECTED]>

HI,

Thank you for helping. I found another way to solve my problem. I used rpm
to install bacula.

I dont know what was problem. The directiory src was there, but make cannot
find that directory. I am using for unpacking tar zxvf.
I think Arno Lehmann has right that there is problem with permission. But I
have installed with Makefile on another computer and it works well.

thank you for helping

Manu

On 9/5/07, Arno Lehmann <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> 05.09.2007 03:34,, Ryan Novosielski wrote::
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > Manuel Ostendorf wrote:
> >> Hello,
> >>
> >> have you an idea to solve my problem? I still have my problem.
>
> Unfortunately, I can't help. But...
>
> >> Manuel
> >>
> >> On 8/30/07, *Manuel Ostendorf* < [EMAIL PROTECTED]
> >> > wrote:
> >>
> >> Hello,
> >>
> >> I cannot install bacule. If I tried after using "./configure
> >> --with-mysql" with "make", I got errors.
> >>
> >>
> >>   == Error in /home/Ponte/bacula ==
> >>
> >>
> >> /bin/sh: line 1: cd: scripts: Datei oder Verzeichnis nicht gefunden
> >> ==>Entering directory /home/Ponte/bacula
> >> make[253]: Entering directory `/home/Ponte/bacula'
> >> /bin/sh: line 1: cd: src: Datei oder Verzeichnis nicht gefunden
> >> ==>Entering directory /home/Ponte/bacula
> >> make[254]: Entering directory `/home/Ponte/bacula'
> >> /bin/sh: line 1: cd: src: Datei oder Verzeichnis nicht gefunden
> >> ==

[Bacula-users] Restore Problem on Win2003 Server

2009-07-21 Thread Juergen Koch
Hello,

I use Bacula-Server on Debian.
I make backups from Linux and Windows. And I can restor some files to
Linux and, I think to windows too.
But now I have a Problem with a restor to Windows.

I start the restor and in the interaktiv mod I can see the filesize of a
file. Then I make the restor, and the filesize on the filesystem is 0 byte.

$ dir
-rwxrwxrwx   1 root root   3980288  2009-07-10 17:39:28
d:/group_share/travel/0_Postbearbeitung/Postausgang Reiseunterlagen-kati.xls

The output from the restore:

21-Jul 12:24 ds-01-sd JobId 2380: Ready to read from volume "Montag.5"
on device "LTO-4" (/dev/nst0).
21-Jul 12:24 ds-01-sd JobId 2380: Forward spacing Volume "Montag.5" to
file:block 97:1.
21-Jul 12:25 ds-01-dir JobId 2380: Bacula ds-01-dir 2.4.4 (28Dec08):
21-Jul-2009 12:25:56
  Build OS:   x86_64-pc-linux-gnu debian lenny/sid
  JobId:  2380
  Job:RestoreFiles.2009-07-21_12.23.52.14
  Restore Client: ds-01-fd
  Start time: 21-Jul-2009 12:23:54
  End time:   21-Jul-2009 12:25:56
  Files Expected: 1
  Files Restored: 1
  Bytes Restored: 0
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK

Can samebody help?

Juergen Koch

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem using several Storages

2012-12-07 Thread Rodrigo Renie Braga
Hello list.

I have several Storages configured but all of them are pointing to the same
Device, they differ only by their Address. It's something like this:

Storage {
Name = st.servers
Address = 192.168.1.254
Password = "XXX"
Device = dev.tpc
Media Type = LTO4
Autochanger = Yes
Maximum Concurrent Jobs = 20
AllowCompression = No
}

Storage {
Name = st.dmz
Address = 192.168.0.254
Password = "XXX"
Device = dev.tpc
Media Type = LTO4
Autochanger = Yes
Maximum Concurrent Jobs = 20
AllowCompression = No
}

I have several interfaces (vlan) configured on my SD server, including
192.168.1.254 and 192.168.0.254. The reason I do that is because we have
several different servers in several different VLANs to be backed up and no
all of them have direct route to the Bacula server.

This config works fine for backing up, but when I was restoring a client
from the "dmz" vlan, Bacula returned the following:

The job will require the following
   Volume(s) Storage(s)SD Device(s)
===

   *38L4  st.dmzdev.tpc

   *04L4  st.serversdev.tpc


Bacula tries to use the "st.servers" to restore the data only on the second
tape, so it eventually stops the restore saying that the client on the
"dmz" vlan could not connect to 192.168.1.254.

That problem occurs even if I force the storage "st.dmz" in the restore
command line.

My question is why does Bacula associates the Volume to the Storage? And
how can I bypass bacula selection for Storages to be used?
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem using several Storages

2012-12-07 Thread ccspro
If you want to use FQDN's in Bacula and do not want to touch your DNS servers 
you could modify /etc/hosts (assuming you are on a *nix box) to do the job for 
you.

The only gotcha is the remote host changes identity (repurposed, whatever)

I use /etc/hosts to avoid DNS look ups, changes are immediate.

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



--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem using several Storages

2012-12-07 Thread Silas Moeckel

On 12/7/2012 11:56 AM, Rodrigo Renie Braga wrote:

Hello list.

I have several Storages configured but all of them are pointing to the 
same Device, they differ only by their Address. It's something like this:


Storage {
Name = st.servers
Address = 192.168.1.254
Password = "XXX"
Device = dev.tpc
Media Type = LTO4
Autochanger = Yes
Maximum Concurrent Jobs = 20
AllowCompression = No
}

Storage {
Name = st.dmz
Address = 192.168.0.254
Password = "XXX"
Device = dev.tpc
Media Type = LTO4
Autochanger = Yes
Maximum Concurrent Jobs = 20
AllowCompression = No
}

I have several interfaces (vlan) configured on my SD server, including 
192.168.1.254 and 192.168.0.254. The reason I do that is because we 
have several different servers in several different VLANs to be backed 
up and no all of them have direct route to the Bacula server.


This config works fine for backing up, but when I was restoring a 
client from the "dmz" vlan, Bacula returned the following:


The job will require the following
   Volume(s)   Storage(s)SD Device(s)
===
   *38L4st.dmzdev.tpc
   *04L4st.serversdev.tpc

Bacula tries to use the "st.servers" to restore the data only on the 
second tape, so it eventually stops the restore saying that the client 
on the "dmz" vlan could not connect to 192.168.1.254.


That problem occurs even if I force the storage "st.dmz" in the 
restore command line.


My question is why does Bacula associates the Volume to the Storage? 
And how can I bypass bacula selection for Storages to be used?



So only one real storage device?  Try assigning a single dns name and 
using that most modern resolvers when presented with more than one A 
record will use one on a shared subnet before others.


Silas
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem using several Storages

2012-12-07 Thread Rodrigo Renie Braga
>  So only one real storage device?  Try assigning a single dns name and
> using that most modern resolvers when presented with more than one A record
> will use one on a shared subnet before others.
>
>
Yeah, I've tried that before, using views... But that created such a mess
on my DNS server (specially due to master/slave replication) that
I preferred setting the IP Address directly on the Bacula config. I wanted
a way to continue using this method without touching the DNS server.
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem using several Storages

2012-12-07 Thread Rodrigo Renie Braga
2012/12/7 Silas Moeckel 

>  try just 2 a records now views.
>
>
But with 2 A records, sometimes the dns would resolve to 192.168.0.254 and
others to 192.168.1.254. right?

I used views because the "dmz" lan only have direct access to "192.168.0.254"
and the DNS would always resolv to 192.168.0.254 in that particular lan.

Plus, I have over 15 differents LAN being backed up (yes, my SD server has
15 vlan interfaces configured in it), I used only 2 to simplify my problem.
I want to avoid changing my DNS config to solve this problem.



> On 12/7/2012 12:31 PM, Rodrigo Renie Braga wrote:
>
>
>
>> So only one real storage device?  Try assigning a single dns name
>> and using that most modern resolvers when presented with more than one A
>> record will use one on a shared subnet before others.
>>
>>
>  Yeah, I've tried that before, using views... But that created such a
> mess on my DNS server (specially due to master/slave replication) that
> I preferred setting the IP Address directly on the Bacula config. I wanted
> a way to continue using this method without touching the DNS server.
>
>
>
> --
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue 
> delivershttp://p.sf.net/sfu/logmein_12329d2d
>
>
>
> ___
> Bacula-users mailing 
> listBacula-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem: what is and what isn't

2005-04-08 Thread Francesco
This is the last screen of bacula after a restore: 
...
ServerOriginale: -rwxrwxrwx   1 00  18230 2004-10-04 16:25:33  /
tmp/bacula-restores/d//inetpub/ADS/yahoo_adsl.htm
06-Apr 13:16 localhost-dir: Bacula 1.36.2 (28Feb05): 06-Apr-2005 13:16:48
  JobId:  10
  Job:RestoreFiles.2005-04-06_13.16.41
  Client: ServerOriginale
  Start time: 06-Apr-2005 13:16:43
  End time:   06-Apr-2005 13:16:48
  Files Expected: 196
  Files Restored: 196
  Bytes Restored: 3,610,126
  Rate:   722.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK

06-Apr 13:16 localhost-dir: Begin pruning Jobs.
06-Apr 13:16 localhost-dir: No Jobs found to prune.
06-Apr 13:16 localhost-dir: Begin pruning Files.
06-Apr 13:16 localhost-dir: No Files found to prune.
06-Apr 13:16 localhost-dir: End auto prune.

It seems that all working, but there aren't any files in /tmp/bacula-
restores/... : WHY??

The archive is gzip compressed without any problem, my distro is CentOS 4.0
But i tried also without GZip Compression, and there is no file in the restore 
path.


Please, someone save my soul...



---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem - dir tells client wrong sd

2013-04-18 Thread Chris Adams
I'm trying to do a restore of a directory of files.  The restore gets a
few files from one volume (disk volumes), but then stops with the
director shows the job waiting on the client to connect to the storage
daemon.

I traced the problem down to the director telling the client to connect
to the wrong storage daemon address.  My backup server connects to
several VLANs, and I have a storage definition for each (different IPs).
When the director tells the client the first volume, it uses the correct
storage daemon address, but for the second volume, it sends the client
an address that the client can't reach.

If I change the restore job to send the restore to a directory on the
backup server (which of course can connect to all the storage daemon
IPs), it works.

This appears to be a bug in the director.  It uses the specified storage
daemon for the first volume, but it used a different one for the second
volume.

This was all with Bacula 5.2.12 on RHEL 6 (backup server) and RHEL 5
(client).  I did try upgrading the backup server to Bacula 5.2.13, but I
get the same behavior.

-- 
Chris Adams 
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problem using Bacula 2.0.1 and wx-console

2007-01-25 Thread David Hatcher
Greetings,

I just updated my Bacula server (Fedora Core 5), my Windows 2003 server,
and my Windows XP PC from Bacula v1.38.6 to v2.0.1.  I'm running the
Bacula wx-console from my PC to perform some backup and restore tests on
my Win2003 server.  My backup tests ran great.  However, if I use the
"Restore" tab to configure my restore job, the "OK" button is grayed
out.  I don't know why.  I can't run the job.  My only way out of this
mode is to cancel the job.  If I use the "Console" tab and use the
"restore" command to configure my restore job, the restore job succeeds.
What's wrong with the "Restore" tab?  It worked great with v1.38.6.  Is
it broken?  Should I use another method instead of the wx-console?

Thanks,

Dave

 
 
 
 
 
<>
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem: what is and what isn't

2005-04-08 Thread Juan Luis Frances
Hello Francesco,

Are you sure you are checking "/tmp/bacula-restores/" of "ServerOriginale" and 
not at "localhost-dir"?.



El Viernes 08 Abril 2005 09:46, Francesco escribió:
> This is the last screen of bacula after a restore:
> ...
> ServerOriginale: -rwxrwxrwx   1 00  18230 2004-10-04
> 16:25:33  / tmp/bacula-restores/d//inetpub/ADS/yahoo_adsl.htm
> 06-Apr 13:16 localhost-dir: Bacula 1.36.2 (28Feb05): 06-Apr-2005 13:16:48
>   JobId:  10
>   Job:RestoreFiles.2005-04-06_13.16.41
>   Client: ServerOriginale
>   Start time: 06-Apr-2005 13:16:43
>   End time:   06-Apr-2005 13:16:48
>   Files Expected: 196
>   Files Restored: 196
>   Bytes Restored: 3,610,126
>   Rate:   722.0 KB/s
>   FD Errors:  0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:Restore OK
>
> 06-Apr 13:16 localhost-dir: Begin pruning Jobs.
> 06-Apr 13:16 localhost-dir: No Jobs found to prune.
> 06-Apr 13:16 localhost-dir: Begin pruning Files.
> 06-Apr 13:16 localhost-dir: No Files found to prune.
> 06-Apr 13:16 localhost-dir: End auto prune.
>
> It seems that all working, but there aren't any files in /tmp/bacula-
> restores/... : WHY??
>
> The archive is gzip compressed without any problem, my distro is CentOS 4.0
> But i tried also without GZip Compression, and there is no file in the
> restore path.
>
>
> Please, someone save my soul...
>
>
>
> ---
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem using Bacula 2.0.1 and wx-console

2007-01-25 Thread John Drescher
> I just updated my  Bacula server (Fedora Core 5), my Windows 2003 server, and 
> my Windows XP PC from  Bacula v1.38.6 to v2.0.1.  I'm running the Bacula 
> wx-console from my  PC to perform some backup and restore tests on my Win2003 
> server.  My  backup tests ran great.  However, if I use the "Restore" tab to 
> configure  my restore job, the "OK" button is grayed out.  I don't know why.  
> I  can't run the job.  My only way out of this mode is to cancel the  job.  
> If I use the "Console" tab and use the "restore" command to configure  my 
> restore job, the restore job succeeds.  What's wrong with the "Restore"  tab? 
>  It worked great with v1.38.6.  Is it broken?  Should I  use another method 
> instead of the wx-console?

At that step could you switch to the console tab and see if there are
any errors in the console window.

John

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem using Bacula 2.0.1 and wx-console

2007-01-25 Thread David Hatcher
Hi Arno,

No, there are no error messages.  I wish there were so I could have some
idea what's happening.  I just performed another test.  If I leave the
default settings alone, I can click "OK" and the restore job will run.
But as soon as I change any values, the "OK" button becomes grayed out
(deactivated) and the "Apply" button becomes activated.  My expectation
is when I click the "Apply" button, the "OK" button will return to the
activated state, but it doesn't.  I'm starting to believe this is a bug.

Thanks,
Dave

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arno
Lehmann
Sent: Thursday, January 25, 2007 1:30 PM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and
wx-console

Hi,

On 1/25/2007 10:04 PM, David Hatcher wrote:
> 
> Thanks John, although when I review the "Console" tab, the "Type your 
> command below" field is grayed out and won't accept input from the 
> keyboard.

But are there any error messages (or anything ineresting at all) in the
output area of wxconsole?

>  I'm trying to think if I configured anything incorrectly but I 
> haven't come up with anything yet.

Well, I never managed the restore mode to work as I wanted it, so I rely
on manually setting up restore jobs. I must admit that I haven't tried
it for a very long time, though.

Arno

> -Dave
>  
>  
>  
>  
> 
> 
> 
> -Original Message-
> From: John Drescher [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 25, 2007 11:11 AM
> To: David Hatcher
> Cc: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and 
> wx-console
> 
>  > I just updated my  Bacula server (Fedora Core 5), my Windows 2003 
> server, and my Windows XP PC from  Bacula v1.38.6 to v2.0.1.  I'm 
> running the Bacula wx-console from my  PC to perform some backup and 
> restore tests on my Win2003 server.  My  backup tests ran great.
> However, if I use the "Restore" tab to configure  my restore job, the 
> "OK" button is grayed out.  I don't know why.  I  can't run the job.  
> My only way out of this mode is to cancel the  job.  If I use the
"Console"
> tab and use the "restore" command to configure  my restore job, the 
> restore job succeeds.  What's wrong with the "Restore"  tab?  It 
> worked great with v1.38.6.  Is it broken?  Should I  use another 
> method instead of the wx-console?
> 
> At that step could you switch to the console tab and see if there are 
> any errors in the console window.
> 
> John
> 
>  
> 
> *From:* [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] *On Behalf Of 
> *David Hatcher
> *Sent:* Thursday, January 25, 2007 11:01 AM
> *To:* Bacula-users@lists.sourceforge.net
> *Subject:* [Bacula-users] Restore problem using Bacula 2.0.1 and 
> wx-console
> 
> Greetings,
> 
> I just updated my Bacula server (Fedora Core 5), my Windows 2003 
> server, and my Windows XP PC from Bacula v1.38.6 to v2.0.1.  I'm 
> running the Bacula wx-console from my PC to perform some backup and 
> restore tests on my Win2003 server.  My backup tests ran great.  
> However, if I use the "Restore" tab to configure my restore job, the 
> "OK" button is grayed out.  I don't know why.  I can't run the job.  
> My only way out of this mode is to cancel the job.  If I use the 
> "Console" tab and use the "restore" command to configure my restore 
> job, the restore job succeeds.  What's wrong with the "Restore" tab?  
> It worked great with v1.38.6.  Is it broken?  Should I use another 
> method instead of the wx-console?
> 
> Thanks,
> 
> Dave
> 
>  
>  
>  
>  
> 
> 
> --
> --
> 
> --
> --- Take Surveys. Earn Cash. Influence the Future of IT Join 
> SourceForge.net's Techsay panel and you'll get the chance to share 
> your opinions on IT & business topics through brief surveys - and earn

> cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV
> DEV
> 
> 
> --
> --
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann   

Re: [Bacula-users] Restore problem using Bacula 2.0.1 and wx-console

2007-01-25 Thread David Hatcher
Thanks John, although when I review the "Console" tab, the "Type your
command below" field is grayed out and won't accept input from the
keyboard.  I'm trying to think if I configured anything incorrectly but
I haven't come up with anything yet.
-Dave
 
 
  
 
 



-Original Message-
From: John Drescher [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 25, 2007 11:11 AM
To: David Hatcher
Cc: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and
wx-console

> I just updated my  Bacula server (Fedora Core 5), my Windows 2003
server, and my Windows XP PC from  Bacula v1.38.6 to v2.0.1.  I'm
running the Bacula wx-console from my  PC to perform some backup and
restore tests on my Win2003 server.  My  backup tests ran great.
However, if I use the "Restore" tab to configure  my restore job, the
"OK" button is grayed out.  I don't know why.  I  can't run the job.  My
only way out of this mode is to cancel the  job.  If I use the "Console"
tab and use the "restore" command to configure  my restore job, the
restore job succeeds.  What's wrong with the "Restore"  tab?  It worked
great with v1.38.6.  Is it broken?  Should I  use another method instead
of the wx-console?

At that step could you switch to the console tab and see if there are
any errors in the console window.

John


 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Hatcher
Sent: Thursday, January 25, 2007 11:01 AM
To: Bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Restore problem using Bacula 2.0.1 and
wx-console



Greetings,

I just updated my Bacula server (Fedora Core 5), my Windows 2003 server,
and my Windows XP PC from Bacula v1.38.6 to v2.0.1.  I'm running the
Bacula wx-console from my PC to perform some backup and restore tests on
my Win2003 server.  My backup tests ran great.  However, if I use the
"Restore" tab to configure my restore job, the "OK" button is grayed
out.  I don't know why.  I can't run the job.  My only way out of this
mode is to cancel the job.  If I use the "Console" tab and use the
"restore" command to configure my restore job, the restore job succeeds.
What's wrong with the "Restore" tab?  It worked great with v1.38.6.  Is
it broken?  Should I use another method instead of the wx-console?

Thanks,

Dave

 
 
 
 
 
<>
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem using Bacula 2.0.1 and wx-console

2007-01-25 Thread Arno Lehmann
Hi,

On 1/25/2007 10:04 PM, David Hatcher wrote:
> 
> Thanks John, although when I review the "Console" tab, the "Type your 
> command below" field is grayed out and won't accept input from the 
> keyboard.

But are there any error messages (or anything ineresting at all) in the 
output area of wxconsole?

>  I'm trying to think if I configured anything incorrectly but 
> I haven't come up with anything yet.

Well, I never managed the restore mode to work as I wanted it, so I rely 
on manually setting up restore jobs. I must admit that I haven't tried 
it for a very long time, though.

Arno

> -Dave
>  
>  
>  
>  
> 
> 
> 
> -Original Message-
> From: John Drescher [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 25, 2007 11:11 AM
> To: David Hatcher
> Cc: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and 
> wx-console
> 
>  > I just updated my  Bacula server (Fedora Core 5), my Windows 2003 
> server, and my Windows XP PC from  Bacula v1.38.6 to v2.0.1.  I'm 
> running the Bacula wx-console from my  PC to perform some backup and 
> restore tests on my Win2003 server.  My  backup tests ran great.  
> However, if I use the "Restore" tab to configure  my restore job, the 
> "OK" button is grayed out.  I don't know why.  I  can't run the job.  My 
> only way out of this mode is to cancel the  job.  If I use the "Console" 
> tab and use the "restore" command to configure  my restore job, the 
> restore job succeeds.  What's wrong with the "Restore"  tab?  It worked 
> great with v1.38.6.  Is it broken?  Should I  use another method instead 
> of the wx-console?
> 
> At that step could you switch to the console tab and see if there are 
> any errors in the console window.
> 
> John
> 
>  
> 
> *From:* [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] *On Behalf Of *David 
> Hatcher
> *Sent:* Thursday, January 25, 2007 11:01 AM
> *To:* Bacula-users@lists.sourceforge.net
> *Subject:* [Bacula-users] Restore problem using Bacula 2.0.1 and wx-console
> 
> Greetings,
> 
> I just updated my Bacula server (Fedora Core 5), my Windows 2003 server, 
> and my Windows XP PC from Bacula v1.38.6 to v2.0.1.  I'm running the 
> Bacula wx-console from my PC to perform some backup and restore tests on 
> my Win2003 server.  My backup tests ran great.  However, if I use the 
> "Restore" tab to configure my restore job, the "OK" button is grayed 
> out.  I don't know why.  I can't run the job.  My only way out of this 
> mode is to cancel the job.  If I use the "Console" tab and use the 
> "restore" command to configure my restore job, the restore job 
> succeeds.  What's wrong with the "Restore" tab?  It worked great with 
> v1.38.6.  Is it broken?  Should I use another method instead of the 
> wx-console?
> 
> Thanks,
> 
> Dave
> 
>  
>  
>  
>  
> 
> 
> 
> 
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
> 
> 
> 
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem using Bacula 2.0.1 and wx-console

2007-01-25 Thread Arno Lehmann
Hi,

On 1/25/2007 11:22 PM, David Hatcher wrote:
> Hi Arno,
> 
> No, there are no error messages.  I wish there were so I could have some
> idea what's happening.  I just performed another test.  If I leave the
> default settings alone, I can click "OK" and the restore job will run.
> But as soon as I change any values, the "OK" button becomes grayed out
> (deactivated) and the "Apply" button becomes activated.  My expectation
> is when I click the "Apply" button, the "OK" button will return to the
> activated state, but it doesn't.  I'm starting to believe this is a bug.

Looks like it. At least I can confirm that behaviour - I just tried and 
also got no activated OK button.

Time for a bug report, I guess. Will you report that?

Arno

> Thanks,
> Dave
> 
>  
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Arno
> Lehmann
> Sent: Thursday, January 25, 2007 1:30 PM
> To: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and
> wx-console
> 
> Hi,
> 
> On 1/25/2007 10:04 PM, David Hatcher wrote:
> 
>>Thanks John, although when I review the "Console" tab, the "Type your 
>>command below" field is grayed out and won't accept input from the 
>>keyboard.
> 
> 
> But are there any error messages (or anything ineresting at all) in the
> output area of wxconsole?
> 
> 
>> I'm trying to think if I configured anything incorrectly but I 
>>haven't come up with anything yet.
> 
> 
> Well, I never managed the restore mode to work as I wanted it, so I rely
> on manually setting up restore jobs. I must admit that I haven't tried
> it for a very long time, though.
> 
> Arno
> 
> 
>>-Dave
>> 
>> 
>> 
>> 
>>
>>
>>
>>-Original Message-
>>From: John Drescher [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, January 25, 2007 11:11 AM
>>To: David Hatcher
>>Cc: Bacula-users@lists.sourceforge.net
>>Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and 
>>wx-console
>>
>> > I just updated my  Bacula server (Fedora Core 5), my Windows 2003 
>>server, and my Windows XP PC from  Bacula v1.38.6 to v2.0.1.  I'm 
>>running the Bacula wx-console from my  PC to perform some backup and 
>>restore tests on my Win2003 server.  My  backup tests ran great.
>>However, if I use the "Restore" tab to configure  my restore job, the 
>>"OK" button is grayed out.  I don't know why.  I  can't run the job.  
>>My only way out of this mode is to cancel the  job.  If I use the
> 
> "Console"
> 
>>tab and use the "restore" command to configure  my restore job, the 
>>restore job succeeds.  What's wrong with the "Restore"  tab?  It 
>>worked great with v1.38.6.  Is it broken?  Should I  use another 
>>method instead of the wx-console?
>>
>>At that step could you switch to the console tab and see if there are 
>>any errors in the console window.
>>
>>John
>>
>> 
>>
>>*From:* [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] *On Behalf Of 
>>*David Hatcher
>>*Sent:* Thursday, January 25, 2007 11:01 AM
>>*To:* Bacula-users@lists.sourceforge.net
>>*Subject:* [Bacula-users] Restore problem using Bacula 2.0.1 and 
>>wx-console
>>
>>Greetings,
>>
>>I just updated my Bacula server (Fedora Core 5), my Windows 2003 
>>server, and my Windows XP PC from Bacula v1.38.6 to v2.0.1.  I'm 
>>running the Bacula wx-console from my PC to perform some backup and 
>>restore tests on my Win2003 server.  My backup tests ran great.  
>>However, if I use the "Restore" tab to configure my restore job, the 
>>"OK" button is grayed out.  I don't know why.  I can't run the job.  
>>My only way out of this mode is to cancel the job.  If I use the 
>>"Console" tab and use the "restore" command to configure my restore 
>>job, the restore job succeeds.  What's wrong with the "Restore" tab?  
>>It worked great with v1.38.6.  Is it broken?  Should I use another 
>>method instead of the wx-console?
>>
>>Thanks,
>>
>>Dave
>>
>> 
>> 
>> 
>> 
>>
>>
>>--
>>--
>>
>>--
>>--- Take Surveys. Earn Cash. Influence the Future of IT 

Re: [Bacula-users] Restore problem using Bacula 2.0.1 and wx-console

2007-01-25 Thread David Hatcher
Hi Arno,

Thanks for the confirmation.  Sure, I can report the bug.

Thanks,
Dave

 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arno
Lehmann
Sent: Thursday, January 25, 2007 2:54 PM
To: Bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and
wx-console

Hi,

On 1/25/2007 11:22 PM, David Hatcher wrote:
> Hi Arno,
> 
> No, there are no error messages.  I wish there were so I could have 
> some idea what's happening.  I just performed another test.  If I 
> leave the default settings alone, I can click "OK" and the restore job
will run.
> But as soon as I change any values, the "OK" button becomes grayed out
> (deactivated) and the "Apply" button becomes activated.  My 
> expectation is when I click the "Apply" button, the "OK" button will 
> return to the activated state, but it doesn't.  I'm starting to
believe this is a bug.

Looks like it. At least I can confirm that behaviour - I just tried and
also got no activated OK button.

Time for a bug report, I guess. Will you report that?

Arno

> Thanks,
> Dave
> 
>  
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Arno 
> Lehmann
> Sent: Thursday, January 25, 2007 1:30 PM
> To: Bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and 
> wx-console
> 
> Hi,
> 
> On 1/25/2007 10:04 PM, David Hatcher wrote:
> 
>>Thanks John, although when I review the "Console" tab, the "Type your 
>>command below" field is grayed out and won't accept input from the 
>>keyboard.
> 
> 
> But are there any error messages (or anything ineresting at all) in 
> the output area of wxconsole?
> 
> 
>> I'm trying to think if I configured anything incorrectly but I 
>>haven't come up with anything yet.
> 
> 
> Well, I never managed the restore mode to work as I wanted it, so I 
> rely on manually setting up restore jobs. I must admit that I haven't 
> tried it for a very long time, though.
> 
> Arno
> 
> 
>>-Dave
>> 
>> 
>> 
>> 
>>
>>
>>
>>-Original Message-
>>From: John Drescher [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, January 25, 2007 11:11 AM
>>To: David Hatcher
>>Cc: Bacula-users@lists.sourceforge.net
>>Subject: Re: [Bacula-users] Restore problem using Bacula 2.0.1 and 
>>wx-console
>>
>> > I just updated my  Bacula server (Fedora Core 5), my Windows 2003
>>server, and my Windows XP PC from  Bacula v1.38.6 to v2.0.1.  I'm 
>>running the Bacula wx-console from my  PC to perform some backup and 
>>restore tests on my Win2003 server.  My  backup tests ran great.
>>However, if I use the "Restore" tab to configure  my restore job, the 
>>"OK" button is grayed out.  I don't know why.  I  can't run the job.
>>My only way out of this mode is to cancel the  job.  If I use the
> 
> "Console"
> 
>>tab and use the "restore" command to configure  my restore job, the 
>>restore job succeeds.  What's wrong with the "Restore"  tab?  It 
>>worked great with v1.38.6.  Is it broken?  Should I  use another 
>>method instead of the wx-console?
>>
>>At that step could you switch to the console tab and see if there are 
>>any errors in the console window.
>>
>>John
>>
>> 
>>
>>*From:* [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] *On Behalf Of 
>>*David Hatcher
>>*Sent:* Thursday, January 25, 2007 11:01 AM
>>*To:* Bacula-users@lists.sourceforge.net
>>*Subject:* [Bacula-users] Restore problem using Bacula 2.0.1 and 
>>wx-console
>>
>>Greetings,
>>
>>I just updated my Bacula server (Fedora Core 5), my Windows 2003 
>>server, and my Windows XP PC from Bacula v1.38.6 to v2.0.1.  I'm 
>>running the Bacula wx-console from my PC to perform some backup and 
>>restore tests on my Win2003 server.  My backup tests ran great.
>>However, if I use the "Restore" tab to configure my restore job, the 
>>"OK" button is grayed out.  I don't know why.  I can't run the job.
>>My only way out of this mode is to cancel the job.  If I use the 
>>"Console" tab and use the "restore" command to configure my restore 
>>job, the restore job succeeds.  What's wrong with the "Restore" tab?
>>It worked great with v1.38.6.  Is it broken?  Should I use another 
>>method instead of the wx-console?
>>

[Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
I have a problem.  I need to restore a single directory of files.  I
have the required tape volume mounted, I set up the job, no problem,
until I exit file selection.

Then suddenly, bacula (7.4.4) tells me:

1,179 files selected to be restored.

Pool "Scratch" not valid.
Job not run.
*


...Wait, what?  None of the needed volumes are in the scratch pool, the
bsr file does not contain any mention of it, none of my pools or job
definitions have changed in years, and my last restore worked fine.  But
suddenly I can't do a restore because suddenly my scratch pool that the
restore doesn't even *touch* is "invalid".

Here's the Scratch pool definition, which hasn't changed in at least
five years:

Pool {
  Name = Scratch
  Storage = babylon4-file
  Pool Type = Backup
}


Does anyone have the slightest idea what's going on here, or why Bacula
suddenly cares about the scratch pool which it isn't even using for this
job, but is perfectly happy to recycle expired disk volumes into?




-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
On 01/14/17 13:19, Phil Stracchino wrote:
> Does anyone have the slightest idea what's going on here, or why Bacula
> suddenly cares about the scratch pool which it isn't even using for this
> job, but is perfectly happy to recycle expired disk volumes into?

Oh, and it's also perfectly happy to delete expired volumes from the
"invalid" scratch pool.

I can only guess that this is an uncaught regression in some recent
Bacula release.  But which release...?

I'm trying backing out my director to 7.4.3.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
On 01/14/17 13:49, Phil Stracchino wrote:
> On 01/14/17 13:19, Phil Stracchino wrote:
>> Does anyone have the slightest idea what's going on here, or why Bacula
>> suddenly cares about the scratch pool which it isn't even using for this
>> job, but is perfectly happy to recycle expired disk volumes into?
> 
> Oh, and it's also perfectly happy to delete expired volumes from the
> "invalid" scratch pool.
> 
> I can only guess that this is an uncaught regression in some recent
> Bacula release.  But which release...?
> 
> I'm trying backing out my director to 7.4.3.


CONFIRMED:  This is a regression in Bacula 7.4.4.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Kern Sibbald
Hello Phil,

Someone apparently someone submitted the following comment to a bug report:


Currently, a scratch pool is uses as any other pool. In particula, it is 
possible to use a scratch pool as a target for backups. The result may 
be quite unexpected and annoying.

One solution would be that the DIR refuses to run a job where the target 
pool is called "Scratch" OR the target pool has a PoolId that is used in 
any other pool as Scratch Pool, i.e. where a query like
   select count(*) from pool where 
scratchpoolid=;
returns more than 0.


The recommendation was made to forbid a backup going into the Scratch 
pool.  This was implemented in the Enterprise version and part of what 
was back ported.

My comment is that I am not sure it is such a good idea to prohibit 
users from backing up directly to the Scratch pool, and in any case, the 
code that was implemented applies to *any* kind of Job.  Now for this to 
happen,
you must someplace have mentioned the Scratch pool, possibly in your 
Restore,  or by the fact that used a Storage definition in your Scratch 
pool resource.

I am not 100% why you have a Storage directive in your Scratch pool, so 
I would be interested in your comments.   However, this Storage 
directive is probably the source of the problem, and could probably be 
fixed by removing it.

Having said that, the code is just plain broken because, even if one can 
admit that it is a good idea to prohibit backups directly to the Scratch 
pool, at least the code should restrict itself to apply only to backup 
Jobs.  The code was added in August 2016.

Best regards,
Kern





On 01/14/2017 07:19 PM, Phil Stracchino wrote:
> I have a problem.  I need to restore a single directory of files.  I
> have the required tape volume mounted, I set up the job, no problem,
> until I exit file selection.
>
> Then suddenly, bacula (7.4.4) tells me:
>
> 1,179 files selected to be restored.
>
> Pool "Scratch" not valid.
> Job not run.
> *
>
>
> ...Wait, what?  None of the needed volumes are in the scratch pool, the
> bsr file does not contain any mention of it, none of my pools or job
> definitions have changed in years, and my last restore worked fine.  But
> suddenly I can't do a restore because suddenly my scratch pool that the
> restore doesn't even *touch* is "invalid".
>
> Here's the Scratch pool definition, which hasn't changed in at least
> five years:
>
> Pool {
>Name = Scratch
>Storage = babylon4-file
>Pool Type = Backup
> }
>
>
> Does anyone have the slightest idea what's going on here, or why Bacula
> suddenly cares about the scratch pool which it isn't even using for this
> job, but is perfectly happy to recycle expired disk volumes into?
>
>
>
>


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Phil Stracchino
On 01/14/17 16:36, Kern Sibbald wrote:
> Hello Phil,
> 
> Someone apparently someone submitted the following comment to a bug report:
> 
> 
> Currently, a scratch pool is uses as any other pool. In particula, it is 
> possible to use a scratch pool as a target for backups. The result may 
> be quite unexpected and annoying.
> 
> One solution would be that the DIR refuses to run a job where the target 
> pool is called "Scratch" OR the target pool has a PoolId that is used in 
> any other pool as Scratch Pool, i.e. where a query like
>select count(*) from pool where 
> scratchpoolid=;
> returns more than 0.
> 
> 
> The recommendation was made to forbid a backup going into the Scratch 
> pool.  This was implemented in the Enterprise version and part of what 
> was back ported.

So a pool named Scratch cannot have type Backup?  Is there a separate
Scratch pool type now?  At the time it was created, if memory serves it
had to be a backup pool because there was no other valid type.


> My comment is that I am not sure it is such a good idea to prohibit 
> users from backing up directly to the Scratch pool, and in any case, the 
> code that was implemented applies to *any* kind of Job.  Now for this to 
> happen,
> you must someplace have mentioned the Scratch pool, possibly in your 
> Restore,  or by the fact that used a Storage definition in your Scratch 
> pool resource.

The pools containing the disk volumes required for the restore have
Scratch set as their Recycle pool.  That is the only connection.


> I am not 100% why you have a Storage directive in your Scratch pool, so 
> I would be interested in your comments.   However, this Storage 
> directive is probably the source of the problem, and could probably be 
> fixed by removing it.

I couldn't tell you offhand why there's a Storage directive in the
Scratch pool.  My guess would be that it was required at the time the
pool was created, and so I assigned it the same storage device as the
pools any volume that could be recycled into it.

What is the *minimum* that is actually required in a scratch pool
definition?  I'm totally OK with changing the pool definition.


> Having said that, the code is just plain broken because, even if one can 
> admit that it is a good idea to prohibit backups directly to the Scratch 
> pool, at least the code should restrict itself to apply only to backup 
> Jobs.  The code was added in August 2016.


And all backups are working perfectly.  Only this restore had a problem.
 I think this is the first time I've needed to run a restore since
updating to 7.4.4.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-14 Thread Kern Sibbald
Hello Phil,

Please see below ...

On 01/15/2017 03:25 AM, Phil Stracchino wrote:
> On 01/14/17 16:36, Kern Sibbald wrote:
>> Hello Phil,
>>
>> Someone apparently someone submitted the following comment to a bug report:
>>
>> 
>> Currently, a scratch pool is uses as any other pool. In particula, it is
>> possible to use a scratch pool as a target for backups. The result may
>> be quite unexpected and annoying.
>>
>> One solution would be that the DIR refuses to run a job where the target
>> pool is called "Scratch" OR the target pool has a PoolId that is used in
>> any other pool as Scratch Pool, i.e. where a query like
>> select count(*) from pool where
>> scratchpoolid=;
>> returns more than 0.
>> 
>>
>> The recommendation was made to forbid a backup going into the Scratch
>> pool.  This was implemented in the Enterprise version and part of what
>> was back ported.
> So a pool named Scratch cannot have type Backup?  Is there a separate
> Scratch pool type now?  At the time it was created, if memory serves it
> had to be a backup pool because there was no other valid type.

Sorry, I did not explain the problem clearly enough.  For some reason (I 
hope to find out Monday), doing backups directly to a Scratch pool (i.e. 
the Scratch pool is directly referenced in the Job) do or can lead to 
problems.  So the idea of the person submitting the bug report and the 
person that implemented it was to forbid backing up directly to a 
Scratch pool.  That doesn't mean that the backup cannot use a Volume 
that came from the Scratch pool.

There has always been a Pool Type, but it has never been implemented 
other than the directive is there, but the value is never used.  I still 
have plans for the Pool Type though.

>
>
>> My comment is that I am not sure it is such a good idea to prohibit
>> users from backing up directly to the Scratch pool, and in any case, the
>> code that was implemented applies to *any* kind of Job.  Now for this to
>> happen,
>> you must someplace have mentioned the Scratch pool, possibly in your
>> Restore,  or by the fact that used a Storage definition in your Scratch
>> pool resource.
> The pools containing the disk volumes required for the restore have
> Scratch set as their Recycle pool.  That is the only connection.

Having the Scratch set in a Recycle pool should not be a problem.

Could you do an "llist" of the volume(s) chosen to be restored?  I just 
want to be 100% sure the Volume is not currently in the Scratch pool.  I 
think, but I am not sure, that the problem may be your Storage directive 
in the Scratch pool.
>
>
>> I am not 100% why you have a Storage directive in your Scratch pool, so
>> I would be interested in your comments.   However, this Storage
>> directive is probably the source of the problem, and could probably be
>> fixed by removing it.
> I couldn't tell you offhand why there's a Storage directive in the
> Scratch pool.  My guess would be that it was required at the time the
> pool was created, and so I assigned it the same storage device as the
> pools any volume that could be recycled into it.
Well, that makes sense.
>
> What is the *minimum* that is actually required in a scratch pool
> definition?  I'm totally OK with changing the pool definition.
Pool {   /* required items */
Name
Pool Type
}

So, unless I am missing something, you could remove the Storage 
directive.  If you do that, please let me know if it fixes the problem.

I am about 90% sure I am going to remove the code that caused you 
problems, but I want to check with the authors first.  At a minimum, it 
should not apply to restore jobs and if I leave it there rather than 
abruptly ending the run, I will probably make it a warning. However, 
until I understand what the authors wanted, I prefer to wait a bit and 
collect a bit more info from you (Pools of Volumes needed for restore 
and possibly removing the Storage directive from the pool definition).

>
>
>> Having said that, the code is just plain broken because, even if one can
>> admit that it is a good idea to prohibit backups directly to the Scratch
>> pool, at least the code should restrict itself to apply only to backup
>> Jobs.  The code was added in August 2016.
>
> And all backups are working perfectly.  Only this restore had a problem.
>   I think this is the first time I've needed to run a restore since
> updating to 7.4.4.
>
>
Yes, I do not run restores often (about once or twice a year), but when 
I do, I want them to work.  When they don't it is instant panic (at 
least for me and luckily it does not last long).

Best regards,

Kern


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-user

Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Phil Stracchino
On 01/15/17 02:35, Kern Sibbald wrote:
> Sorry, I did not explain the problem clearly enough.  For some reason (I 
> hope to find out Monday), doing backups directly to a Scratch pool (i.e. 
> the Scratch pool is directly referenced in the Job) do or can lead to 
> problems.

Yeah, I can see that backing up to a scratch pool could be a bad idea.

>  So the idea of the person submitting the bug report and the 
> person that implemented it was to forbid backing up directly to a 
> Scratch pool.  That doesn't mean that the backup cannot use a Volume 
> that came from the Scratch pool.
> 
> There has always been a Pool Type, but it has never been implemented 
> other than the directive is there, but the value is never used.  I still 
> have plans for the Pool Type though.

OK.  Perhaps add a Scratch pool type then?

>> The pools containing the disk volumes required for the restore have
>> Scratch set as their Recycle pool.  That is the only connection.
> 
> Having the Scratch set in a Recycle pool should not be a problem.
> 
> Could you do an "llist" of the volume(s) chosen to be restored?  I just 
> want to be 100% sure the Volume is not currently in the Scratch pool.  I 
> think, but I am not sure, that the problem may be your Storage directive 
> in the Scratch pool.

There aren't *any* volumes currently in the Scratch pool.  All volumes
required for the backup were in one of three pools:  Full-Tape,
Diff-Disk, Incr-Disk.


> Pool {   /* required items */
> Name
> Pool Type
> }
> 
> So, unless I am missing something, you could remove the Storage 
> directive.  If you do that, please let me know if it fixes the problem.

I'll give it a try right now and update back to 7.4.4.  (I had to back
out to 7.4.3 to perform the backup.)

> I am about 90% sure I am going to remove the code that caused you 
> problems, but I want to check with the authors first.  At a minimum, it 
> should not apply to restore jobs and if I leave it there rather than 
> abruptly ending the run, I will probably make it a warning. However, 
> until I understand what the authors wanted, I prefer to wait a bit and 
> collect a bit more info from you (Pools of Volumes needed for restore 
> and possibly removing the Storage directive from the pool definition).





-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Phil Stracchino

Removed Storage from the Scratch pool definition.
Updated the Scratch pool from resource.
Re-updated director from 7.4.3 to 7.4.4
Re-entered the restore job.  Job failed with the same
invalid-scratch-pool message.


cwd is: /
$ cd /home/alaric
cwd is: /home/alaric/
$ cd ".moonchild productions"
cwd is: /home/alaric/.moonchild productions/
$ cd "pale moon"
cwd is: /home/alaric/.moonchild productions/pale moon/
$ mark alaric
1,207 files marked.
$ exit
Bootstrap records written to /var/lib/bacula/minbar-dir.restore.1.bsr
Bootstrap records written to /var/lib/bacula/minbar-dir.restore.1.bsr

The Job will require the following (*=>InChanger):
   Volume(s) Storage(s)SD Device(s)
===

LTO4-FULL-0013babylon5-sd   LTO-4
DIFF-20170109-04:30   babylon4-file FileStorage
INCR-20170115-04:30   babylon4-file FileStorage

Volumes marked with "*" are in the Autochanger.


1,210 files selected to be restored.

Using Catalog "Catalog"
Pool "Scratch" not valid.
Job not run.
You have messages.
*llist volume=LTO4-FULL-0013
  MediaId: 48
   VolumeName: LTO4-FULL-0013
 Slot: 0
   PoolId: 6
MediaType: LTO-4
  MediaTypeId: 0
...
ScratchPoolId: 0
RecyclePoolId: 0
...

*llist volume=DIFF-20170109-04:30
  MediaId: 1,991
   VolumeName: DIFF-20170109-04:30
 Slot: 0
   PoolId: 4
MediaType: File
  MediaTypeId: 0
...
ScratchPoolId: 0
RecyclePoolId: 1
...

*llist volume=INCR-20170115-04:30
  MediaId: 1,997
   VolumeName: INCR-20170115-04:30
 Slot: 0
   PoolId: 5
MediaType: File
  MediaTypeId: 0
...
ScratchPoolId: 0
RecyclePoolId: 1
...

*list pools
++-+-+-+--+---+
| PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat
 |
++-+-+-+--+---+
|  1 | Scratch |   1 |   0 | Backup   | *
 |
|  2 | VirtualFull |   0 |   0 | Backup   |
VIRTUAL-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}-$Client
|
|  3 | Full-Disk   |   0 |   0 | Backup   |
FULL-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
   |
|  4 | Diff-Disk   |   6 |   0 | Backup   |
DIFF-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
   |
|  5 | Incr-Disk   |  27 |   0 | Backup   |
INCR-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
   |
|  6 | Full-Tape   |  21 |  24 | Backup   | LTO4-FULL-
 |
++-+-+-+--+---+




I do notice that the scratch pool ID for all of these pools is 0.  There
is no pool with id 0, and in fact I am not setting a Scratch pool for
any of my pools.  Could this be the problem?



-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Kern Sibbald
Hello Phil,

It is a bit late here so I will look at all your output tomorrow, but if 
you have the patience, go to:

/src/dird/ua_run.c
then at line 1074, you should have the following lines of code:

/* Not a good idea to start a job with the Scratch pool */
if (rc.pool && strcmp(rc.pool->name(), NT_("Scratch")) == 0) {
   ua->send_msg(_("Pool \"Scratch\" not valid.\n"));
   return false;
}

Just delete all those lines (or if you want, only the "return false;"), 
but be careful to leave the next line, which
reads:

return true;

===

That should resolve your problem.

Best regards,
Kern

On 01/15/2017 07:56 PM, Phil Stracchino wrote:
> Removed Storage from the Scratch pool definition.
> Updated the Scratch pool from resource.
> Re-updated director from 7.4.3 to 7.4.4
> Re-entered the restore job.  Job failed with the same
> invalid-scratch-pool message.
>
>
> cwd is: /
> $ cd /home/alaric
> cwd is: /home/alaric/
> $ cd ".moonchild productions"
> cwd is: /home/alaric/.moonchild productions/
> $ cd "pale moon"
> cwd is: /home/alaric/.moonchild productions/pale moon/
> $ mark alaric
> 1,207 files marked.
> $ exit
> Bootstrap records written to /var/lib/bacula/minbar-dir.restore.1.bsr
> Bootstrap records written to /var/lib/bacula/minbar-dir.restore.1.bsr
>
> The Job will require the following (*=>InChanger):
> Volume(s) Storage(s)SD Device(s)
> ===
>
>  LTO4-FULL-0013babylon5-sd   LTO-4
>  DIFF-20170109-04:30   babylon4-file FileStorage
>  INCR-20170115-04:30   babylon4-file FileStorage
>
> Volumes marked with "*" are in the Autochanger.
>
>
> 1,210 files selected to be restored.
>
> Using Catalog "Catalog"
> Pool "Scratch" not valid.
> Job not run.
> You have messages.
> *llist volume=LTO4-FULL-0013
>MediaId: 48
> VolumeName: LTO4-FULL-0013
>   Slot: 0
> PoolId: 6
>  MediaType: LTO-4
>MediaTypeId: 0
> ...
>  ScratchPoolId: 0
>  RecyclePoolId: 0
> ...
>
> *llist volume=DIFF-20170109-04:30
>MediaId: 1,991
> VolumeName: DIFF-20170109-04:30
>   Slot: 0
> PoolId: 4
>  MediaType: File
>MediaTypeId: 0
> ...
>  ScratchPoolId: 0
>  RecyclePoolId: 1
> ...
>
> *llist volume=INCR-20170115-04:30
>MediaId: 1,997
> VolumeName: INCR-20170115-04:30
>   Slot: 0
> PoolId: 5
>  MediaType: File
>MediaTypeId: 0
> ...
>  ScratchPoolId: 0
>  RecyclePoolId: 1
> ...
>
> *list pools
> ++-+-+-+--+---+
> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat
>   |
> ++-+-+-+--+---+
> |  1 | Scratch |   1 |   0 | Backup   | *
>   |
> |  2 | VirtualFull |   0 |   0 | Backup   |
> VIRTUAL-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}-$Client
> |
> |  3 | Full-Disk   |   0 |   0 | Backup   |
> FULL-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
> |
> |  4 | Diff-Disk   |   6 |   0 | Backup   |
> DIFF-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
> |
> |  5 | Incr-Disk   |  27 |   0 | Backup   |
> INCR-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
> |
> |  6 | Full-Tape   |  21 |  24 | Backup   | LTO4-FULL-
>   |
> ++-+-+-+--+---+
>
>
>
>
> I do notice that the scratch pool ID for all of these pools is 0.  There
> is no pool with id 0, and in fact I am not setting a Scratch pool for
> any of my pools.  Could this be the problem?
>
>
>


--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-15 Thread Phil Stracchino
On 01/15/17 16:34, Kern Sibbald wrote:
> Hello Phil,
> 
> It is a bit late here so I will look at all your output tomorrow, but if 
> you have the patience, go to:
> 
> /src/dird/ua_run.c
> then at line 1074, you should have the following lines of code:
> 
> /* Not a good idea to start a job with the Scratch pool */
> if (rc.pool && strcmp(rc.pool->name(), NT_("Scratch")) == 0) {
>ua->send_msg(_("Pool \"Scratch\" not valid.\n"));
>return false;
> }
> 
> Just delete all those lines (or if you want, only the "return false;"), 
> but be careful to leave the next line, which
> reads:
> 
> return true;
> 
> ===
> 
> That should resolve your problem.


That does indeed resolve the problem.  I've attached my exact patch.


-- 
  Phil Stracchino
  Babylon Communications
  ph...@caerllewys.net
  p...@co.ordinate.org
  Landline: 603.293.8485
--- src/dird/ua_run.c.orig	2016-09-21 05:58:36.0 -0400
+++ src/dird/ua_run.c	2017-01-15 18:17:38.963495990 -0500
@@ -1069,15 +1069,16 @@
 */
if (rc.ignoreduplicatecheck_set) {
   jcr->IgnoreDuplicateJobChecking = rc.ignoreduplicatecheck;
}
 
-   /* Not a good idea to start a job with the Scratch pool */
-   if (rc.pool && strcmp(rc.pool->name(), NT_("Scratch")) == 0) {
+   /* Probably not a good idea to run a backup job to the Scratch pool
+  However, this is NOT a good way to accomplish that. */
+   /*   if (rc.pool && strcmp(rc.pool->name(), NT_("Scratch")) == 0) {
   ua->send_msg(_("Pool \"Scratch\" not valid.\n"));
   return false;
-   }
+   } */
return true;
 }
 
 static void select_where_regexp(UAContext *ua, JCR *jcr)
 {
--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problem out of the blue - scratch pool is suddenly "invalid"

2017-01-17 Thread Kern Sibbald
Hello Phil,

I have not yet figured out what is going wrong here, or what triggered 
Bacula to think it is trying to use a Volume directly from the Scratch 
pool.  I am going to look at the code in more detail to see if I can 
find the problem.  In any case, I am planning to remove the code as in 
my view it appears more likely to create problems rather than solve 
them.  The only thing that I see that is related to the Scratch pool is 
the Recycle pool so I am going to look at the code from that stand 
point, but recycling into the Scratch pool is quite OK to do.

You should not need to directly reference the Scratch pool as you ask 
below.

Would you mind attaching your Director's Job and Restore Resources and a 
copy of any resource that it points to?  I suspect that the normal 
mechanism of setting up to run a job finds a Pool to be used for a 
"backup" job even though in this case it is a restore job, and perhaps 
somewhere along the line, the Pool is marked to be Scratch.  Just to 
repeat, even if a reference to the Scratch pool happens, this code 
causes Bacula to malfunction.

Best regards,
Kern

On 01/15/2017 07:56 PM, Phil Stracchino wrote:
> Removed Storage from the Scratch pool definition.
> Updated the Scratch pool from resource.
> Re-updated director from 7.4.3 to 7.4.4
> Re-entered the restore job.  Job failed with the same
> invalid-scratch-pool message.
>
>
> cwd is: /
> $ cd /home/alaric
> cwd is: /home/alaric/
> $ cd ".moonchild productions"
> cwd is: /home/alaric/.moonchild productions/
> $ cd "pale moon"
> cwd is: /home/alaric/.moonchild productions/pale moon/
> $ mark alaric
> 1,207 files marked.
> $ exit
> Bootstrap records written to /var/lib/bacula/minbar-dir.restore.1.bsr
> Bootstrap records written to /var/lib/bacula/minbar-dir.restore.1.bsr
>
> The Job will require the following (*=>InChanger):
> Volume(s) Storage(s)SD Device(s)
> ===
>
>  LTO4-FULL-0013babylon5-sd   LTO-4
>  DIFF-20170109-04:30   babylon4-file FileStorage
>  INCR-20170115-04:30   babylon4-file FileStorage
>
> Volumes marked with "*" are in the Autochanger.
>
>
> 1,210 files selected to be restored.
>
> Using Catalog "Catalog"
> Pool "Scratch" not valid.
> Job not run.
> You have messages.
> *llist volume=LTO4-FULL-0013
>MediaId: 48
> VolumeName: LTO4-FULL-0013
>   Slot: 0
> PoolId: 6
>  MediaType: LTO-4
>MediaTypeId: 0
> ...
>  ScratchPoolId: 0
>  RecyclePoolId: 0
> ...
>
> *llist volume=DIFF-20170109-04:30
>MediaId: 1,991
> VolumeName: DIFF-20170109-04:30
>   Slot: 0
> PoolId: 4
>  MediaType: File
>MediaTypeId: 0
> ...
>  ScratchPoolId: 0
>  RecyclePoolId: 1
> ...
>
> *llist volume=INCR-20170115-04:30
>MediaId: 1,997
> VolumeName: INCR-20170115-04:30
>   Slot: 0
> PoolId: 5
>  MediaType: File
>MediaTypeId: 0
> ...
>  ScratchPoolId: 0
>  RecyclePoolId: 1
> ...
>
> *list pools
> ++-+-+-+--+---+
> | PoolId | Name| NumVols | MaxVols | PoolType | LabelFormat
>   |
> ++-+-+-+--+---+
> |  1 | Scratch |   1 |   0 | Backup   | *
>   |
> |  2 | VirtualFull |   0 |   0 | Backup   |
> VIRTUAL-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}-$Client
> |
> |  3 | Full-Disk   |   0 |   0 | Backup   |
> FULL-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
> |
> |  4 | Diff-Disk   |   6 |   0 | Backup   |
> DIFF-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
> |
> |  5 | Incr-Disk   |  27 |   0 | Backup   |
> INCR-$Year${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}:${Minute:p/2/0/r}
> |
> |  6 | Full-Tape   |  21 |  24 | Backup   | LTO4-FULL-
>   |
> ++-+-+-+--+---+
>
>
>
>
> I do notice that the scratch pool ID for all of these pools is 0.  There
> is no pool with id 0, and in fact I am not setting a Scratch pool for
> any of my pools.  Could this be the problem?
>
>
>


--
Check out the vibrant tech community on one of