Re: [Bacula-users] Autoloader: Replace tape in magazine after backups complete?

2006-09-08 Thread Arno Lehmann
Hi,

On 9/7/2006 11:23 PM, [EMAIL PROTECTED] wrote:
 
 In the message dated: Thu, 07 Sep 2006 16:55:15 EDT,
 The pithy ruminations from Jeremy Koppel on 
 [Bacula-users] Autoloader: Replace tape in magazine after backups complete? 
 w
 ere:
...
 = So, I'm thinking it would be best to have Bacula replace whatever tape
 = it's using back in the autoloader when the last job of the night runs.
 = Anybody know how I'd configure that?
 
 Sure. Assuming that your last backup job is to backup the Bacula catalog
 database, and that there's a RunAfter directive that executes a script
 like $BACULA/bin/delete_catalog_backup, I add to that script something 
 like:
 
 
 /bin/echo -e umount\n0\nq\n | $BACULA/bin/bconsole -c 
 $BACULA/etc/bconsole.conf
 

I'd add a mount command to this, so you have
/bin/echo -e umount\n0\nmount\n0\nq\n or something, so that the next
day, your backups don't have to wait for your intervention.

 This will send the umount command to the Bacula bconsole program. Substitute 
 the correct path for your Bacula installation, and repeat the umount 
 command 
 for each of the tape drives within the autochanger (specifying the drive 
 number).

The same with the mont command, if necessary (although this should not
be necessary if you mount the autochanger, not the single drives, I think).

Arno

 Mark
 
 = 
 =  
 = 
 = Thanks!
 = 
 =  
 = 
 = --Jeremy Koppel
 = 
 = 
 = 
 = 
 = --_=_NextPart_1655_00025162.00015147
 = Content-Type: text/html;
 =charset=us-ascii
 = Content-Transfer-Encoding: quoted-printable
 = 
 = html xmlns:o=3Durn:schemas-microsoft-com:office:office 
 xmlns:w=3Durn:sc=
 = hemas-microsoft-com:office:word xmlns=3Dhttp://www.w3.org/TR/REC-html40;
 = 
   [Gack! Horrible MS-Word HTML deleted]
 
 
 Mark Bergman  [EMAIL PROTECTED]
 System Administrator
 Section of Biomedical Image Analysis 215-662-7310
 Department of Radiology,   University of Pennsylvania
 
 http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu
 
 
 
 
 The information contained in this e-mail message is intended only for the 
 personal and confidential use of the recipient(s) named above. If the reader 
 of this message is not the intended recipient or an agent responsible for 
 delivering it to the intended recipient, you are hereby notified that you 
 have received this document in error and that any review, dissemination, 
 distribution, or copying of this message is strictly prohibited. If you have 
 received this communication in error, please notify us immediately by e-mail, 
 and delete the original message.
 
 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 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


-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Tape error

2006-09-08 Thread Arunav Mandal
Today I got the tape error

08-Sep 09:43 pentagram-sd: Committing spooled data to Volume SDLT008. 
Despooling 10,034,619,918 bytes ...
08-Sep 09:43 pentagram-sd: backup-heptagram.2006-09-08_09.40.23 Error: 
block.c:538 Write error at 0:2 on device SDLT6K-1 (/dev/nst0). 
ERR=Input/output error.
08-Sep 09:43 pentagram-sd: backup-heptagram.2006-09-08_09.40.23 Error: Error 
writing final EOF to tape. This Volume may not be readable.
dev.c:1542 ioctl MTWEOF error on SDLT6K-1 (/dev/nst0). ERR=Input/output 
error.
08-Sep 09:43 pentagram-sd: End of medium on Volume SDLT008 Bytes=64,513 
Blocks=1 at 08-Sep-2006 09:43.

Arunav.

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] expanding filelist with jobid

2006-09-08 Thread Silver Salonen
Hello.

Is it possible to expand filelist with jobid without adding python scripting?

The problem is I'm backing up snapshots, but I think every job should mount 
their snapshots to unique directory (as several filesets would create 
snapshots of the same partition, e.g. /usr), e.g. /mnt/snapshots/usr-%j 
with Client Run Before Job script.

The fileset in question would look like:

FileSet {
Name = usr-etc
Include {
Options {
compression = GZIP
signature = SHA1
verify = pins1
}
File = /mnt/snapshots/usr-%j/local/etc
}
}


Is it possible to do smth like that in a simple way?

Silver

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problem with RunScript {...} in Job resource

2006-09-08 Thread Ondrej PLANKA
Hi list,

I have Bacula ver. 1.38.11 (28 June 2006). When I want use RunScript 
{...} in Job resource, I get this messages when reload configuration 
Do you have some TIP?
Thanks Andrew

bacula-dir: ERROR TERMINATION at parse_conf.c:853
Config error: Keyword RunScript not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
: line 2758, col 12 of file /data/bacula/bin/bacula-dir.conf
  RunScript {


My Job resource 

Job
{
  Name = Backup client
  Type = Backup
  Level = Full
  Client= BENE-fd
  FileSet = BENE files
  Storage = Storage-BENE
  Pool = BENE-Full-pool
  Messages = Standard
  Priority = 10
  Schedule = WeeklyCyclet-BENE
  Write Bootstrap = /mnt/sdb/bacula/backup/bene/bene.bsr
  Reschedule On Error = yes
  Reschedule Interval = 30 minutes
  Reschedule Times = 3
  RunScript {
RunsOnClient = yes
RunsWhen = Before
AbortJobOnError = No
Command = /data/bacula/bin/scripts/client_make_mysql_backup.sh
  }
}



-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Automatic creation/labeling of volumes while backing up to disk

2006-09-08 Thread Jaime Ventura
Hello,
Can anyone help me find the reason why bacula is asking me to create a 
new volume?

08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. Cannot 
find any appendable volumes.
Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS

 
I've read the documentation and basically I would need  2 things: 
LabelFormat on the pool definition and  LabelMedia = yes on storage 
definition (on sd).
Where is are the my definitions:
-bacula-dir.conf---
Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
}
# * Definicao dos storages usados *
# Storage para os Utilizadores
Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
}


-bacula-sd.conf---

Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}

I would really appreciate any help because this has already been working 
, but not any more
Thanks



-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG?

2006-09-08 Thread Jaime Ventura
Hello,
Can anyone help me find the reason why bacula is asking me to create a 
new volume?

08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. Cannot 
find any appendable volumes.
Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS

 
I've read the documentation and basically I would need  2 things: 
LabelFormat on the pool definition and  LabelMedia = yes on storage 
definition (on sd).
Where is are the my definitions:
-bacula-dir.conf---
Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
}
# * Definicao dos storages usados *
# Storage para os Utilizadores
Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
}


-bacula-sd.conf---

Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
}


As you can see, there are no volumes for DefaultPoolForUSERS. Ive 
deleted them with the delete command. After that Ive deletes the files 
on disk as well.

*list volume
Pool: Default
+-+-+---+---+--+--+-+--+---+---+-+
| MediaId | VolumeName  | VolStatus | VolBytes  | VolFiles | 
VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-+-+---+---+--+--+-+--+---+---+-+
|   2 | baculaFiles-vol0001 | Append| 2,438,223,330 |0 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
23:05:04 |
+-+-+---+---+--+--+-+--+---+---+-+
Pool: DefaultPoolForSERVERS
+-+--+---+---+--+--+-+--+---+---+-+
| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles 
| VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |
+-+--+---+---+--+--+-+--+---+---+-+
|   1 | serversFiles-vol0001 | Full  | 9,999,953,959 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-05-31 
23:08:31 |
|   4 | serversFiles-vol0002 | Full  | 9,999,950,771 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-07-08 
23:06:05 |
|   5 | serversFiles-vol0003 | Full  | 9,999,990,818 |2 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-03 
23:20:09 |
|   6 | serversFiles-vol0004 | Append| 2,308,730,846 |0 
|   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
23:10:43 |
+-+--+---+---+--+--+-+--+---+---+-+
Pool: DefaultPoolForUSERS
No results to list.








Then, just for curiosity, I've commented the line restricting the number 
of volumes (Maximum Volumes = 16)
When I ran a job, I got the following report. As you can see a new 
volume was created. But the weirdest part is that the Catalog was not 
updated:









08-Sep 12:58 bserver-dir: Start Backup JobId 1141, 
Job=Job.jtgv.gsi.2006-09-08_12.58.17
08-Sep 12:58 bserver-sd: Volume userFiles-vol0017 previously written, 
moving to end of data.
08-Sep 12:58 jtgv.gsi-fd: Generate VSS snapshots. Driver=VSS WinXP, 
Drive(s)=D
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): MSDEWriter, 
State: 1 (VSS_WS_STABLE)
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): Microsoft Writer 
(Service State), State: 1 (VSS_WS_STABLE)
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): WMI Writer, 
State: 1 (VSS_WS_STABLE)
08-Sep 12:58 jtgv.gsi-fd: VSS Writer (BackupComplete): Microsoft Writer 
(Bootable State), State: 1 (VSS_WS_STABLE)
08-Sep 12:58 bserver-dir: Bacula 1.38.11 (28Jun06): 08-Sep-2006 12:58:37
 JobId:  1141
 Job:

Re: [Bacula-users] external disk recommendations

2006-09-08 Thread Hristo Benev
James Harper wrote:
 In my opinion any 2.5 HDD enclosure will do the job.
 They use laptop hdd's so they do not need additional power supply and
 once disconnected they are more resistible to shocks.
 As for performance it is slightly lower, but it should not be a
 
 problem.

 The 2.5 drives are only available up to about 160gb, and the price is a
 bit steep up at that end. We are competing with the likes of LTO 400/800
 drives here...
   
If you have enough data to fill it LTO-3(400/800) will be better 
solution even starting price is much higher.

Data writing speed is almost the same and price per MB is lower (1 tape 
is 40% less than similar capacity ATA HDD)

Only plus is that hdd can be used many more times and it has random 
access capability.
 Also, the higher capacity 2.5 drives often do need an additional power
 supply, even if it's just an additional usb connection.

 As for durability I'd definitely prefer the 2.5 form factor though.

 James
   


-- 
Hristo Benev
IT Manager

WAVEROAD
Partners in Telecommunications

514-935-2020 x225 T
514-935-1001 F
www.waveroad.ca
[EMAIL PROTECTED]


-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Automatic creation/labeling of volumes while backing up to disk. UPDATED...Is this a BUG? -----PLEASE IGNORE, my mistake

2006-09-08 Thread Jaime Ventura
My mistake.
I was looking at the wrong catalog and obviously, the volumes weren't on 
the list volumes.
Please ignore.
Sorry.



 


Jaime Ventura
[Infra-estruturas e Comunicações]

Rua Dr. António Bernardino de Almeida, 431
4200 - 072 Porto
Telef: +351 22 834 05 00 (04) - ext. 1641
Fax: +351 22 832 11 59

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
url:www.isep.ipp.pt http://www.isep.ipp.pt 







Jaime Ventura wrote:
 Hello,
 Can anyone help me find the reason why bacula is asking me to create a 
 new volume?

 08-Sep 12:33 bserver-sd: Job Job.jtgv.gsi.2006-09-08_12.33.41 waiting. 
 Cannot find any appendable volumes.
 Please use the label  command to create a new Volume for:
Storage:  FileStorageUSERS (/backupspace/bacula/users)
Media type:   File
Pool: DefaultPoolForUSERS


 I've read the documentation and basically I would need  2 things: 
 LabelFormat on the pool definition and  LabelMedia = yes on storage 
 definition (on sd).
 Where is are the my definitions:
 -bacula-dir.conf---
 Pool {
 Name = DefaultPoolForUSERS
 Pool Type = Backup
 Recycle = yes   # Bacula can automatically recycle 
 Volumes
 AutoPrune = yes # Prune expired volumes
 Volume Retention = 365 days # one year
 Accept Any Volume = yes # write on any volume in the pool
 Maximum Volumes = 16
 Maximum Volume Bytes = 100  # 10 GBs
 LabelFormat = userFiles-vol
 }
 # * Definicao dos storages usados *
 # Storage para os Utilizadores
 Storage {
 Name = FileUSERS
 Address = bserver.isep.ipp.pt# N.B. Use a fully 
 qualified name here
 SDPort = 9103
 Password = XXX
 Device = FileStorageUSERS
 Media Type = File
 }


 -bacula-sd.conf---

 Device {
 Name = FileStorageUSERS
 Media Type = File
 Archive Device = /backupspace/bacula/users
 LabelMedia = yes;   # lets Bacula label unlabeled media
 Random Access = Yes;
 AutomaticMount = yes;   # when device opened, read it
 RemovableMedia = no;
 AlwaysOpen = no;
 }


 As you can see, there are no volumes for DefaultPoolForUSERS. Ive 
 deleted them with the delete command. After that Ive deletes the files 
 on disk as well.

 *list volume
 Pool: Default
 +-+-+---+---+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName  | VolStatus | VolBytes  | VolFiles 
 | VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-+-+---+---+--+--+-+--+---+---+-+
  

 |   2 | baculaFiles-vol0001 | Append| 2,438,223,330 |0 
 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
 23:05:04 |
 +-+-+---+---+--+--+-+--+---+---+-+
  

 Pool: DefaultPoolForSERVERS
 +-+--+---+---+--+--+-+--+---+---+-+
  

 | MediaId | VolumeName   | VolStatus | VolBytes  | 
 VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | 
 LastWritten |
 +-+--+---+---+--+--+-+--+---+---+-+
  

 |   1 | serversFiles-vol0001 | Full  | 9,999,953,959 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-05-31 
 23:08:31 |
 |   4 | serversFiles-vol0002 | Full  | 9,999,950,771 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-07-08 
 23:06:05 |
 |   5 | serversFiles-vol0003 | Full  | 9,999,990,818 |
 2 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-03 
 23:20:09 |
 |   6 | serversFiles-vol0004 | Append| 2,308,730,846 |
 0 |   31,536,000 |   1 |0 | 0 | File  | 2006-09-07 
 23:10:43 |
 +-+--+---+---+--+--+-+--+---+---+-+
  

 Pool: DefaultPoolForUSERS
 No results to list.








 Then, just for curiosity, I've commented the line restricting the 
 number of volumes (Maximum Volumes = 16)
 When I ran a job, I got the following report. As you can see a new 
 volume was created. But the weirdest part is that the Catalog was not 
 updated:









 08-Sep 12:58 bserver-dir: Start Backup JobId 1141, 
 Job=Job.jtgv.gsi.2006-09-08_12.58.17
 08-Sep 12:58 bserver-sd: Volume userFiles-vol0017 previously 
 written, moving to end of data.
 08-Sep 12:58 jtgv.gsi-fd: Generate VSS snapshots. Driver=VSS WinXP, 
 Drive(s)=D
 

Re: [Bacula-users] Data encryption.

2006-09-08 Thread Erich Prinz
Hi Vladimir,

Thanks for sharing that solution. Much appreciated.

Erich

On Sep 7, 2006, at 9:37 AM, Vladimir Doisan wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 BTW, forgot to mention, I've used symmetric encryption on clients with
 AxCrypt utility (does AES128 encryption and compression)
 http://sourceforge.net/projects/axcrypt with success. However I  
 moved to
 Bacula/GnuPG combo because I can manage it centrally.
 You do not need to use Bacula with AxCrypt, but you can if you wanted.
 For example you can use Bacula to backup the X drive (see script). I
 think you could also use Client Run Before Job to encrypt all files
 with AxCrypt, back up only the .axx files with Bacula and delete .axx
 with Client Run After Job once the backup completes on the client.
 There are many possibilities on how to accomplish this.

 Here is the procedure if anybody needs it.
 1. Install AxCrypt on each Win32 client (no Linux ports yet)
 2. Install a .bat on each client. It will encrypt directories  
 specified
 there and transfer all encrypted files via the FTP or File Shares.
 3. Automate execution by using scheduled tasks or by running the  
 script
 on the startup or shutdown via Windows Group Policy.

 Here is the batch that I wrote to do this. (I only have the  
 original in
 front of me, I did some minor revisions to it, but it will work)

  BACKUP.BAT 
 REM --- Encrypted Backup Script 1.0
 REM --- Created by Vladimir Doisan August 23, 2005
 REM --- Free to Use/Modify/Distribute under GPL
 REM --- This script uses AxCrypt (http://axcrypt.sourceforge.net/) to
 REM --- encrypt files on users' workstation and to upload them to the
 REM --- shared directory on a file server. This requires  
 installation of
 REM --- AxCrypt on each workstation.

 REM --- The password for the encrypted files is stored in this  
 script in
 REM --- open text. This is a security risk!

 REM --- Connect to shared Folder on the
 NET USE X: \\FQDN_OR_IP_ADDRESS\backup

 REM * BACKUP MY_DOCUMENTS FOLDER FOR THE CURRENT USER *

 REM --- Enter User's My Document Folder
 cd C:\Documents and Settings\%UserName%\My Documents

 REM --- Encrypts files in a directory (-z), creates a copy of original
 (-c), does all sub-dirs (-m)
 REM --- Do not have to enter the pass again. It will be cached in RAM
 %ProgramFiles%\Axon Data\AxCrypt\1.6.2\AxCrypt -m -c -e -k
 THIS_IS_MY_STRONG_PASS_CHANGE_ME! -z *

 REM --- copies all encrypted files (.axx) within current folder to
 X:\UserName, does sub-folders (/e)
 REM --- does not ask to overwrite files (/Y), copies hidden files (/ 
 H),
 Contonues copy even on errors (/C)
 REM --- /D copies only newer files, /I assumes the destination is a
 directory
 xcopy *.axx x:\%UserName%\My Documents /E /H /C /D /I /Y

 REM --- deletes everything with .axx recurcive  force deletion of
 read-only files (JIC)
 del *.axx /S /F

 REM * BACKUP DESKTOP FOLDER FOR THE CURRENT USER *
 REM --- Enter User's Desktop Folder
 cd C:\Documents and Settings\%UserName%\Desktop

 %ProgramFiles%\Axon Data\AxCrypt\1.6.2\AxCrypt -m -c -z *

 xcopy *.axx x:\%UserName%\Desktop /E /H /C /D /I /Y

 del *.axx /S /F

 REM --- Removes shared drive
 NET USE X: /DELETE
  BACKUP.BAT 

 Hope this helps.
 Good luck.


 Vladimir Doisan wrote:
 Hi Lech Karol
 The only sure way to encrypt data right now is to encrypt it on the
 server (you could have 3rd party encryption on the client, but it  
 gets
 messy). Basically when I finish backing up the clients with Bacula, I
 execute RunAfter script which uses GnuPG with public key to encrypt
 the volume. After it is encrypted, I simply transfer it via FTP,  
 or you
 could write it to the tape.
 I wrote a guide on how to do it on Gentoo Linux, however all  
 configs 
 explanations will work for any system.
 http://gentoo-wiki.com/ 
 HOWTO_Encrypted_Backup_System_Using_Bacula_and_GnuPG



 - 
 
 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=lnkkid=120709bid=263057dat=121642
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users


 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.4 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 iD8DBQFFAC6PNR4PQ6HVpW0RAnX3AJ9DG5PxOkecl4y0Hxkmvl/ZXLlfzQCg29yf
 Ntu0CbHaj7kJ2fA38P8tyhc=
 =0Ev9
 -END PGP SIGNATURE-


 -- 
 ---
 Using Tomcat but need to do more? Need to support web services,  
 security?
 Get stuff done quickly with 

Re: [Bacula-users] Problem with RunScript {...} in Job resource

2006-09-08 Thread Kern Sibbald
On Friday 08 September 2006 14:47, Ondrej PLANKA wrote:
 Hi list,
 
 I have Bacula ver. 1.38.11 (28 June 2006). When I want use RunScript 
 {...} in Job resource, I get this messages when reload configuration 
 Do you have some TIP?

This is a 1.39.x and does not exist in 1.38.11.

 Thanks Andrew
 
 bacula-dir: ERROR TERMINATION at parse_conf.c:853
 Config error: Keyword RunScript not permitted in this resource.
 Perhaps you left the trailing brace off of the previous resource.
 : line 2758, col 12 of file /data/bacula/bin/bacula-dir.conf
   RunScript {
 
 
 My Job resource 
 
 Job
 {
   Name = Backup client
   Type = Backup
   Level = Full
   Client= BENE-fd
   FileSet = BENE files
   Storage = Storage-BENE
   Pool = BENE-Full-pool
   Messages = Standard
   Priority = 10
   Schedule = WeeklyCyclet-BENE
   Write Bootstrap = /mnt/sdb/bacula/backup/bene/bene.bsr
   Reschedule On Error = yes
   Reschedule Interval = 30 minutes
   Reschedule Times = 3
   RunScript {
 RunsOnClient = yes
 RunsWhen = Before
 AbortJobOnError = No
 Command = /data/bacula/bin/scripts/client_make_mysql_backup.sh
   }
 }
 
 
 
 -
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with RunScript {...} in Job resource

2006-09-08 Thread Ondrej PLANKA
Ouuu, sorry, my mistake, but I read about this features (RunScript 
{...}) in Bacula HTML manual for version 1.38.11.

BTW: Is Bacula 1.39.20 stable?

Thanks
Andrew
 
Kern Sibbald napsal(a):

On Friday 08 September 2006 14:47, Ondrej PLANKA wrote:
  

Hi list,

I have Bacula ver. 1.38.11 (28 June 2006). When I want use RunScript 
{...} in Job resource, I get this messages when reload configuration 
Do you have some TIP?



This is a 1.39.x and does not exist in 1.38.11.

  

Thanks Andrew

bacula-dir: ERROR TERMINATION at parse_conf.c:853
Config error: Keyword RunScript not permitted in this resource.
Perhaps you left the trailing brace off of the previous resource.
: line 2758, col 12 of file /data/bacula/bin/bacula-dir.conf
  RunScript {


My Job resource 

Job
{
  Name = Backup client
  Type = Backup
  Level = Full
  Client= BENE-fd
  FileSet = BENE files
  Storage = Storage-BENE
  Pool = BENE-Full-pool
  Messages = Standard
  Priority = 10
  Schedule = WeeklyCyclet-BENE
  Write Bootstrap = /mnt/sdb/bacula/backup/bene/bene.bsr
  Reschedule On Error = yes
  Reschedule Interval = 30 minutes
  Reschedule Times = 3
  RunScript {
RunsOnClient = yes
RunsWhen = Before
AbortJobOnError = No
Command = /data/bacula/bin/scripts/client_make_mysql_backup.sh
  }
}



-
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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with RunScript {...} in Job resource

2006-09-08 Thread Silver Salonen
On Friday 08 September 2006 16:36, Kern Sibbald wrote:
 On Friday 08 September 2006 14:47, Ondrej PLANKA wrote:
  Hi list,
  
  I have Bacula ver. 1.38.11 (28 June 2006). When I want use RunScript 
  {...} in Job resource, I get this messages when reload configuration 
  Do you have some TIP?
 
 This is a 1.39.x and does not exist in 1.38.11.

That's what also my memory said, but I tried using this option also, after I 
ignored my memory since I saw this option documented in 1.38.11's manual: 
http://www.bacula.org/rel-manual/Configuring_Director.html#SECTION000143000

Has the manual of current version been messed up by development manual a 
little? It's a little confusing when next version's documentation gets into 
current version's docs, isn't it?

Silver

  Thanks Andrew
  
  bacula-dir: ERROR TERMINATION at parse_conf.c:853
  Config error: Keyword RunScript not permitted in this resource.
  Perhaps you left the trailing brace off of the previous resource.
  : line 2758, col 12 of file /data/bacula/bin/bacula-dir.conf
RunScript {
  
  
  My Job resource 
  
  Job
  {
Name = Backup client
Type = Backup
Level = Full
Client= BENE-fd
FileSet = BENE files
Storage = Storage-BENE
Pool = BENE-Full-pool
Messages = Standard
Priority = 10
Schedule = WeeklyCyclet-BENE
Write Bootstrap = /mnt/sdb/bacula/backup/bene/bene.bsr
Reschedule On Error = yes
Reschedule Interval = 30 minutes
Reschedule Times = 3
RunScript {
  RunsOnClient = yes
  RunsWhen = Before
  AbortJobOnError = No
  Command = /data/bacula/bin/scripts/client_make_mysql_backup.sh
}
  }

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Changing storage defs -- restart?

2006-09-08 Thread Ryan Novosielski
It seems that Bacula does not accept changes to the devices (for this
example, I changed 1bn to 1lbn for the tape drive) during a 'reload'
command. Is this the expected behavior? Such changes do take effect
during a restart.

I'm guessing this is to prevent changes mid-backup to sensitive files?
This is 1.38.6 I'm working with.

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


-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Problem with RunScript {...} in Job resource

2006-09-08 Thread Kern Sibbald
On Friday 08 September 2006 15:42, Ondrej PLANKA wrote:
 Ouuu, sorry, my mistake, but I read about this features (RunScript 
 {...}) in Bacula HTML manual for version 1.38.11.

Yes, you read it there. That was a screw up on my part not communicating 
correctly with developers. It doesn't normally happen, and I hope it won't 
happen again.

 
 BTW: Is Bacula 1.39.20 stable?

Yes, I consider it stable, but it is still beta software.  

I will release beta 1.39.22 tonight so you might wait a day or two if you want 
to try it.  Be sure to read the ReleaseNotes as it requires a database 
upgrade and there is at least one non-compatible conf file change (removed 
Accept Any Volume).

 
 Thanks
 Andrew
  
 Kern Sibbald napsal(a):
 
 On Friday 08 September 2006 14:47, Ondrej PLANKA wrote:
   
 
 Hi list,
 
 I have Bacula ver. 1.38.11 (28 June 2006). When I want use RunScript 
 {...} in Job resource, I get this messages when reload configuration 
 Do you have some TIP?
 
 
 
 This is a 1.39.x and does not exist in 1.38.11.
 
   
 
 Thanks Andrew
 
 bacula-dir: ERROR TERMINATION at parse_conf.c:853
 Config error: Keyword RunScript not permitted in this resource.
 Perhaps you left the trailing brace off of the previous resource.
 : line 2758, col 12 of file /data/bacula/bin/bacula-dir.conf
   RunScript {
 
 
 My Job resource 
 
 Job
 {
   Name = Backup client
   Type = Backup
   Level = Full
   Client= BENE-fd
   FileSet = BENE files
   Storage = Storage-BENE
   Pool = BENE-Full-pool
   Messages = Standard
   Priority = 10
   Schedule = WeeklyCyclet-BENE
   Write Bootstrap = /mnt/sdb/bacula/backup/bene/bene.bsr
   Reschedule On Error = yes
   Reschedule Interval = 30 minutes
   Reschedule Times = 3
   RunScript {
 RunsOnClient = yes
 RunsWhen = Before
 AbortJobOnError = No
 Command = /data/bacula/bin/scripts/client_make_mysql_backup.sh
   }
 }
 
 
 
 -
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Changing storage defs -- restart?

2006-09-08 Thread Kern Sibbald
On Friday 08 September 2006 15:57, Ryan Novosielski wrote:
 It seems that Bacula does not accept changes to the devices (for this
 example, I changed 1bn to 1lbn for the tape drive) during a 'reload'
 command. Is this the expected behavior? Such changes do take effect
 during a restart.
 
 I'm guessing this is to prevent changes mid-backup to sensitive files?
 This is 1.38.6 I'm working with.

The reload command is still quite unstable in all versions prior to 1.38.11.

The reload command only works for the Director. To change conf parameters 
for the SD or FD, you must restart them.

 
 =R
 -- 
   _  _ _  _ ___  _  _  _
  |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
 
 
 -
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Multi-tape drive status mismatch

2006-09-08 Thread Michael Brennen

I am seeing some inconsistency between what the SD thinks it has 
loaded in the tape drives and what is actually loaded.  The 'stat 
storage=Q47' output below shows that Drive-2 has slot 11 loaded. 
That drive is not in fact loaded and volume FNI0010, which corresponds 
to slot 11, is in the magazine.

I noticed a similar situation a couple of days ago, and it took some 
tinkering to get Bacula to show that there was no tape loaded in 
Drive-2 in order to load another volume and continue the backup.  I 
have not yet collected enough information to be able to say just what 
is happening, but I will stay with it.  This is more to see if anyone 
else is seeing similar results.

In last night's logs I do see attempts to unload slot 11 from drive 1, 
both of which resulted in an error exit.  I know that when I left last 
night all tape drives were empty, all tapes were in the magazine, and 
I had run an 'update slots' so Bacula would know where everything was. 
In the state in which I left it, I do not think it should have tried 
to unload slot 11 from drive 1.

If I am not doing something correctly I will happily learn what it is, 
or post config files as needed to help sort it out.

I am running CVS as of a few days ago.  I just updated CVS and noticed 
that a number of files have changed; I may try upgrading today and 
watching results tonight.

Thanks again, this is nice software.

-- Michael

Current 'stat storage=Q47' command:

Autochanger Q47 with devices:
Drive-1 (/dev/nst0)
Drive-2 (/dev/nst1)
Drive-3 (/dev/nst2)
Device FileStorage (/backup/bacula) is not open.
Device Drive-1 (/dev/nst0) is mounted with Volume=FNI0015 
Pool=FishNet-Daily
 Slot 16 is loaded in drive 0.
 Total Bytes=754,790,400 Blocks=11,699 Bytes/block=64,517
 Positioned at File=1 Block=29
Device Drive-2 (/dev/nst1) is not open.
 Slot 11 is loaded in drive 1.
Device Drive-3 (/dev/nst2) is not open.
 Slot -1 is loaded in drive 2.


References to slot 11 in the logs from last night:

08-Sep 03:53 archive-sd: 3307 Issuing autochanger unload slot 11, drive 1 
command.
08-Sep 03:55 archive-sd: 3995 Bad autochanger unload slot 11, drive 1: 
ERR=Child exited with code 1.
08-Sep 03:55 archive-sd: 3301 Issuing autochanger loaded? drive 0 command.
08-Sep 03:55 archive-sd: 3302 Autochanger loaded? drive 0, result: nothing 
loaded.
08-Sep 03:55 archive-sd: 3301 Issuing autochanger loaded? drive 0 command.
08-Sep 03:55 archive-sd: 3302 Autochanger loaded? drive 0, result: nothing 
loaded.
08-Sep 03:55 archive-sd: 3301 Issuing autochanger loaded? drive 0 command.
08-Sep 03:55 archive-sd: 3302 Autochanger loaded? drive 0, result: nothing 
loaded.
08-Sep 03:55 archive-sd: 3307 Issuing autochanger unload slot 11, drive 1 
command.
08-Sep 03:57 archive-sd: 3995 Bad autochanger unload slot 11, drive 1: 
ERR=Child exited with code 1.
08-Sep 03:57 archive-sd: Please mount Volume FNI0010 on Storage Device 
Drive-1 (/dev/nst0) for Job BackupCatalog.2006-09-08_03.50.00

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloader: Replace tape in magazine after backups complete?

2006-09-08 Thread Jeremy Koppel








Mark, Arno,



 Thanks much for the replies. For
my Gentoo installation, here's what I get:



ns2 ns1 # echo -e umount\n0\nq\n
| /var/lib/bacula/bconsole -c /etc/bacula/bconsole.conf

Connecting to Director ns2:9101

1000 OK: ns2-dir Version: 1.36.3 (22 April
2005)

Enter a period to cancel a command.

umount

Using default Catalog name=MyCatalog
DB=bacula

Automatically selected Storage: Autoloader

3002 Device /dev/nst0 unmounted.

0

0: is an illegal command.

q

ns2 ns1 #



Am I supposed to substitute n for something?



--Jeremy





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 07, 2006 17:24
To: Jeremy Koppel
Cc: bacula-users@lists.sourceforge.net
Subject: Re: [Bacula-users] Autoloader: Replace tape in magazine after backups
complete? 







In the message dated: Thu, 07 Sep 2006 16:55:15 EDT,

The pithy ruminations from Jeremy Koppel on 

[Bacula-users] Autoloader: Replace tape in magazine after backups
complete? w

ere:



= 

= Well, we just had an autoloader go bad on us. Quantum sent
us a new



Ouch.



= chassis under warranty, but there was a tape in the drive when
the unit

= tanked out on us. There's no way to get at it manually, and
no user

= serviceable parts. They tell me that the only way to get it
out is by

= disassembling the drive, which they'll do, but the process
destroys the

= tape.



Oh, that's bad. I've got the same thing with a long-out-of-warranty
AIT2 

changer.



= 

= 

= 

= So, I'm thinking it would be best to have Bacula replace whatever
tape

= it's using back in the autoloader when the last job of the night
runs.

= Anybody know how I'd configure that?



Sure. Assuming that your last backup job is to backup the Bacula
catalog

database, and that there's a RunAfter directive that executes a script

like $BACULA/bin/delete_catalog_backup, I add to that script something 

like:





/bin/echo -e umount\n0\nq\n | $BACULA/bin/bconsole -c
$BACULA/etc/bconsole.conf





This will send the umount command to the Bacula bconsole program.
Substitute 

the correct path for your Bacula installation, and repeat the
umount command 

for each of the tape drives within the autochanger (specifying the
drive 

number).



Mark



= 

= 

= 

= Thanks!

= 

= 

= 

= --Jeremy Koppel

= 

= 

= 

= 

= --_=_NextPart_1655_00025162.00015147

= Content-Type: text/html;

=  charset=us-ascii

= Content-Transfer-Encoding: quoted-printable

= 

= html
xmlns:o=3Durn:schemas-microsoft-com:office:office
xmlns:w=3Durn:sc=

= hemas-microsoft-com:office:word
xmlns=3Dhttp://www.w3.org/TR/REC-html40

= 

 [Gack! Horrible MS-Word HTML deleted]





Mark
Bergman
[EMAIL PROTECTED]

System Administrator

Section of Biomedical Image
Analysis
215-662-7310

Department of
Radiology, University of Pennsylvania



http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu









The information contained in this e-mail message is intended only for
the personal and confidential use of the recipient(s) named above. If the
reader of this message is not the intended recipient or an agent responsible
for delivering it to the intended recipient, you are hereby notified that you
have received this document in error and that any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you have
received this communication in error, please notify us immediately by e-mail,
and delete the original message.







-
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=lnkkid=120709bid=263057dat=121642___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Autoloader: Replace tape in magazine after backups complete?

2006-09-08 Thread Ryan Novosielski
Nope. My guess is the zero has to do with autochanger slots.

Important to keep in mind here is that all this is doing is running
commands on the console. If umount [CR] 0 [CR] q [CR] doesn't work in
the console, it's not going to work here either.

I don't have an autoloader, so I don't know how prompting for them
works. In any case, I'd still recommend a more specific umount
storangename line -- good to be as specific as possible.

=R

Jeremy Koppel wrote:
 Mark, Arno,
 
  
 
   Thanks much for the replies.  For my Gentoo installation, here's
 what I get:
 
  
 
 ns2 ns1 # echo -e umount\n0\nq\n | /var/lib/bacula/bconsole -c
 /etc/bacula/bconsole.conf
 
 Connecting to Director ns2:9101
 
 1000 OK: ns2-dir Version: 1.36.3 (22 April 2005)
 
 Enter a period to cancel a command.
 
 umount
 
 Using default Catalog name=MyCatalog DB=bacula
 
 Automatically selected Storage: Autoloader
 
 3002 Device /dev/nst0 unmounted.
 
 0
 
 0: is an illegal command.
 
 q
 
 ns2 ns1 #
 
  
 
 Am I supposed to substitute ‘n’ for something?
 
  
 
 --Jeremy
 
  
 
  
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Thursday, September 07, 2006 17:24
 To: Jeremy Koppel
 Cc: bacula-users@lists.sourceforge.net
 Subject: Re: [Bacula-users] Autoloader: Replace tape in magazine after
 backups complete?
 
  
 
  
 
  
 
 In the message dated: Thu, 07 Sep 2006 16:55:15 EDT,
 
 The pithy ruminations from Jeremy Koppel on
 
 [Bacula-users] Autoloader: Replace tape in magazine after backups
 complete? w
 
 ere:
 
  
 
 =
 
 = Well, we just had an autoloader go bad on us.  Quantum sent us a new
 
  
 
 Ouch.
 
  
 
 = chassis under warranty, but there was a tape in the drive when the unit
 
 = tanked out on us.  There's no way to get at it manually, and no user
 
 = serviceable parts.  They tell me that the only way to get it out is by
 
 = disassembling the drive, which they'll do, but the process destroys the
 
 = tape.
 
  
 
 Oh, that's bad. I've got the same thing with a long-out-of-warranty AIT2
 
 changer.
 
  
 
 =
 
 = 
 
 =
 
 = So, I'm thinking it would be best to have Bacula replace whatever tape
 
 = it's using back in the autoloader when the last job of the night runs.
 
 = Anybody know how I'd configure that?
 
  
 
 Sure. Assuming that your last backup job is to backup the Bacula catalog
 
 database, and that there's a RunAfter directive that executes a script
 
 like $BACULA/bin/delete_catalog_backup, I add to that script something
 
 like:
 
  
 
 
 
 /bin/echo -e umount\n0\nq\n | $BACULA/bin/bconsole -c
 $BACULA/etc/bconsole.conf
 
 
 
  
 
 This will send the umount command to the Bacula bconsole program.
 Substitute
 
 the correct path for your Bacula installation, and repeat the umount
 command
 
 for each of the tape drives within the autochanger (specifying the drive
 
 number).
 
  
 
 Mark
 
  
 
 =
 
 = 
 
 =
 
 = Thanks!
 
 =
 
 = 
 
 =
 
 = --Jeremy Koppel
 
 =
 
 =
 
 =
 
 =
 
 = --_=_NextPart_1655_00025162.00015147
 
 = Content-Type: text/html;
 
 =charset=us-ascii
 
 = Content-Transfer-Encoding: quoted-printable
 
 =
 
 = html xmlns:o=3Durn:schemas-microsoft-com:office:office
 xmlns:w=3Durn:sc=
 
 = hemas-microsoft-com:office:word
 xmlns=3Dhttp://www.w3.org/TR/REC-html40;
 
 =
 
   [Gack! Horrible MS-Word HTML deleted]
 
  
 
 
 
 Mark Bergman  [EMAIL PROTECTED]
 
 System Administrator
 
 Section of Biomedical Image Analysis 215-662-7310
 
 Department of Radiology,   University of Pennsylvania
 
  
 
 http://pgpkeys.pca.dfn.de:11371/pks/lookup?search=mark.bergman%40.uphs.upenn.edu
 
  
 
  
 
  
 
  
 
 The information contained in this e-mail message is intended only for
 the personal and confidential use of the recipient(s) named above. If
 the reader of this message is not the intended recipient or an agent
 responsible for delivering it to the intended recipient, you are hereby
 notified that you have received this document in error and that any
 review, dissemination, distribution, or copying of this message is
 strictly prohibited. If you have received this communication in error,
 please notify us immediately by e-mail, and delete the original message.
 
 
 
 
 -
 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=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 

Re: [Bacula-users] DDS4 Tape not reaching capacity

2006-09-08 Thread Ryan Novosielski
Martin Simmons wrote:
 On Wed, 06 Sep 2006 16:48:18 -0400, Ryan Novosielski said:

 If the data is larger, then less fits on a tape :-)
 
 Remember that larger here means that the crappy expanding DDS4 compression
 has caused more bits to be written to the tape than were written to the drive
 by Bacula.  Hence Bacula writes 17.8GB, which expands to more than 20GB (the
 tape capacity) on the tape.

Absolutely correct, it seems. My 19.9GB backup now fits on this tape
when running uncompressed.

 Any hints for what to try here? I am formatting the tape now to make
 sure that the capacity is correct (though this idea may be a holdover
 from when I was using DLT's, which seemed to be forward and backward
 compatible).

 If I am formatting /dev/rmt/1 instead of 1cbn, does that somehow turn
 off compression?
 
 You probably want to use /dev/rmt/1bn to get the other flags correct.
 See man st.

/dev/rmt/1lbn (L as in Larry) was the key. /dev/rmt/1bn just wrote to
the drive using whatever mode it was already in.

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


-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Minor complaint about job listings

2006-09-08 Thread Ryan Novosielski
Here is a sample:

| 1,231 | BigBrother-Display | 2006-09-07 23:00:04 | B| I |
1,625 |  6,825,457 | T |

...where the first column is the jobid. Shouldn't the jobID really not
have a comma as a separator (ie. jobid 1231 rather than 1,231). I
personally find the delimiter distracting.

Not sure how easy this is to fix, or in which file it is located, but I
figured I would mention it. I'm running 1.38.6 -- don't know how that
affects the answer, but I'll throw it in there anyway.

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


-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] backup rotation

2006-09-08 Thread Jo Rhett
Try using mount to mount the disk after you have purged the volume.

FYI, you did purge using the purge command and not by changing the volume
status, right?

On Thu, Sep 07, 2006 at 09:15:25AM +0200, Marco Strullato wrote:
 Hello,
 I still can not rotate volumes.
 
 
 after I change pool's configuration to
 
 Pool {
  Name = PoolENGI5657
  Use Volume Once = yes
  Pool Type = Backup
  LabelFormat = ENGI5657-
  AutoPrune = yes
  VolumeRetention = 7 days
  Maximum Volumes = 8
  Recycle = yes
  Maximum Volume Jobs = 1
  Recycle Oldest Volume = yes
  Volume Use Duration = 1 day
 }
 
 I get:
 
 07-set 09:08 DirectorServer: Start Backup JobId 196, Job=
 BackupENGI5657.2006-09-07_09.08.55
 07-set 09:08 DirectorServer: Pruning oldest volume ENGI5657-0001
 07-set 09:08 DirectorServer: Cannot purge Volume with VolStatus=Purged
 07-set 09:09 ENGI5657: DIR and FD clocks differ by 45 seconds, FD
 automatically adjusting.
 
 and volume does not rotate...
 
 media is
 
 *list media pool=PoolENGI5657
 +-+---+---++--+--+-+--+---+---+-+
 | MediaId | VolumeName| VolStatus | VolBytes   | VolFiles | VolRetention
 | Recycle | Slot | InChanger | MediaType | LastWritten |
 +-+---+---++--+--+-+--+---+---+-+
 |  23 | ENGI5657-0001 | Purged| 51,557,748 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-08-30 10:01:56 |
 |  30 | ENGI5657-0002 | Purged|445 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-08-30 15:19:21 |
 |  37 | ENGI5657-0003 | Purged| 39,226,754 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-08-30 23:01:33 |
 |  48 | ENGI5657-0004 | Used  | 38,958,551 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-08-31 23:01:37 |
 |  57 | ENGI5657-0005 | Used  | 39,285,149 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-09-01 23:01:22 |
 |  65 | ENGI5657-0006 | Used  | 26,755,663 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-09-02 23:00:58 |
 |  74 | ENGI5657-0007 | Used  | 65,841,033 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-09-03 23:06:30 |
 |  85 | ENGI5657-0008 | Used  | 26,765,938 |0 |  604,800
 |   0 |0 | 0 | File  | 2006-09-04 23:00:54 |
 +-+---+---++--+--+-+--+---+---+-+
 
 How can I rotate volumes?
 
 
 2006/9/6, Uwe Schuerkamp [EMAIL PROTECTED]:
 
 On Wed, Sep 06, 2006 at 02:33:39PM +0200, Marco Strullato wrote:
  From: Marco Strullato [EMAIL PROTECTED]
  To: bacula-users@lists.sourceforge.net
  Date: Wed, 6 Sep 2006 14:33:39 +0200
  Subject: [Bacula-users] backup rotation
 
  hi all!
 
  I've set up backups with bacula to do full backup on sunday and
 incrental
  from monday to saturday. My backups are only on disks; I'd like to have
 one
  volume for job. Moreover I need automatic recycling of volumes so
 volumes
  should rotate.
 
  I choose to have 8 volumes but maybe it is not necessary; At the
 beginning I
  set the pool parameter Recycle to no because Bacula used just one
  volume: with no bacula wrote me correctly a volume file for each job.
 
  After 8 backups all volumes are Used and any other backup is possible.
  Bacula correctly waits for a new volume.
  Today I change this directive to yes and re launch backup.
  Status of the 1st volume is change to Purged but backup does not
 start.
 
  I think I have done some mistakes in configuration. Can you help me?
  Pool configuration is the following. Do you need more configuration
 file?
 
 
 
 
  Pool {
   Name = PoolRaffaello
   Use Volume Once = yes
   Pool Type = Backup
   LabelFormat = Raffaello-
   AutoPrune = yes
   VolumeRetention = 7 days
   Maximum Volumes = 8
   Recycle = yes
   Maximum Volume Jobs = 1
  }
 
 
 Looks like you are missing the Recycle Oldest Volume
 parameter. Also, it might be a good idea to set the maximum volume use
 duration to one day (see the docs) and not try limiting it by the
 number of jobs.
 
 Also remember that you'll need to update pool from resource
 definition in bconsole once you've changed the pool resource.
 
 HTH,
 
 uwe
 
 
 --
 Uwe Schuerkamp, NIONEX GmbH (http://www.nionex.com/)
 [EMAIL PROTECTED] Tel: +49 (0)5241 / 80 10 66 FAX: / 806 23 38
 Avenwedder Str. 55, D-33311 Guetersloh, Germany
 GnuPG KeyID: 5887047D, Fingerprint: 2E1320229A3F63 7F676FE9B1A836A461
 

 -
 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
 

[Bacula-users] A Storage device can now be specified in a Pool resource. 1.39.20-20060822

2006-09-08 Thread bacula
I would like to test this, but can't find the proper syntax.
Can some one shed some light on this?

Thanks

Roger Berry

-
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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Minor complaint about job listings

2006-09-08 Thread Kern Sibbald
On Friday 08 September 2006 21:44, Ryan Novosielski wrote:
 Here is a sample:
 
 | 1,231 | BigBrother-Display | 2006-09-07 23:00:04 | B| I |
 1,625 |  6,825,457 | T |
 
 ...where the first column is the jobid. Shouldn't the jobID really not
 have a comma as a separator (ie. jobid 1231 rather than 1,231). I
 personally find the delimiter distracting.
 
 Not sure how easy this is to fix, or in which file it is located, but I
 figured I would mention it. I'm running 1.38.6 -- don't know how that
 affects the answer, but I'll throw it in there anyway.

No, it is not easy to fix.  What does it matter anyway, a comma is just a 
separator in a number, which is what a JobId is?

 
 -- 
   _  _ _  _ ___  _  _  _
  |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
 
 
 -
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] A Storage device can now be specified in a Pool resource. 1.39.20-20060822

2006-09-08 Thread Kern Sibbald
On Friday 08 September 2006 22:15, [EMAIL PROTECTED] wrote:
 I would like to test this, but can't find the proper syntax.
 Can some one shed some light on this?

Pool {
   ...
   Storage = storage name
   ...
}



 
 Thanks
 
 Roger Berry
 
 -
 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=lnkkid=120709bid=263057dat=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=lnkkid=120709bid=263057dat=121642
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users