Re: [Bacula-users] Windows client error

2012-01-02 Thread James Harper
> : line 35, col 24 of file C:\ProgramData\Bacula/bacula-fd.conf
> 
>   Name = @monitor_name@
> 

Post the contents of the c:\programdata\bacula\bacula-fd.conf file, but I 
suspect you just need to change the @monitor_name@ to the same as the director 
name earlier in the config file but with an extension of -mon or something. Or 
just remove the monitor section entirely which is what I do (I find the tray 
monitor causes crashes).

James

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Windows client error

2012-01-02 Thread Joseph L. Casale
>Config error: Cannot open included config file monitor_name@: No such file or 
>di
>rectory
>
>    : line 35, col 24 of file C:\ProgramData\Bacula/bacula-fd.conf
>  Name = @monitor_name@
>
>From what I gather, I have to moves some files to another location, but it is 
>giving me a unix type of address in a windows enviroment and I am not sure 
>what to do. 

Notice the error misses the first "@"?
http://www.bacula.org/manuals/en/install/install/Customizin_Configurat_Files.html
See the section "Including other Configuration Files"

It's looking for the file you told the binary to include. Now look in your file 
and see that
this is simply a placeholder for a value, arguably a bad one as the syntax 
means something
else but it was intended to be obvious anyway.

See the last entry in the faq about making a password, and see here for how to 
correlate them:
http://bacula.org/5.2.x-manuals/en/main/main/Customizing_Configuration_F.html#SECTION00224





--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] New user struggling to get staging to work

2012-01-02 Thread Dan Langille

On Jan 2, 2012, at 4:10 PM, Jonathon Royle wrote:

> Hi,
>  
> I have recently moved from commercial backup software to bacula and I like 
> the flexibility (shame VSS is not currently Win08 R2 optimised) however I am 
> struggling to get staging to work.
>  
> Current backup schedule
> 5 clients including bacula-fd (3 Linux, 2 Win)
> 1st Month Full backup to FileStorage
> Daily incremental backups to FileStorage
> Two Pools - MonthlyFullFile and DailyIncrementalFIle  all backup jobs ref 
> Default Backup
> Individual volumes created for each job
>  
> Objective
>  
> Yearly Full copy from FileStorage to OffSiteFileStorage
> Weekly Incremental from FileStorage OffSiteFileStorage
>  
> I have created the config files below however every time I run the 
> ‘offsite-copy’ job I get an error that Level=”” not valid.  Suggestions 
> appreciated.
>  
> Regards,
>  
> Jon
>  
>  
>  
> Job {
>   Name = "offsite-copy"
>  Type = copy
>   Client = bacula-fd
>   Level = Full  # must be defined but is ignored

Try:

   Level = "Full"

>   FileSet = "Full Set"
>   Selection Type = Volume
>   Selection Pattern = "File"
>   Priority = 200
>   Storage = OffSiteFileStorage
>   Pool = Default  # will be overwritten by Next Pool flag
> }
>  
> Pool {
>   Name = Default
>   Pool Type = Backup
>   Next Pool = OffSiteWeeklyIncrementalFile
> }
>  
> Pool {
>   Name = OffSiteWeeklyIncrementalFile
>   Pool Type = Backup
>   Recycle = no
>   AutoPrune = no
>   Label Format = 
> "OffSite_$(Client)_Incr_${Year}-${Month:p/2/0/r}}-${Day:p/2/0/r}"
> Storage = OffSiteFile
> }
>  
>  
> Centos 6.2
> Bacula 5.2.3
>  
>  
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual 
> desktops for less than the cost of PCs and save 60% on VDI infrastructure 
> costs. Try it free! 
> http://p.sf.net/sfu/Citrix-VDIinabox___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

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

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Windows client error

2012-01-02 Thread rmcgee
I Just installed the Bacula windows client 5.2.2 on a windows 7 home premium
64-bit edition. I used the password listed in the Bacula-dir.conf  found at
/etc/bacula/  on the main server which is running Ubuntu 10.04 lts and I
installed the Bacula version from the Ubuntu Software Center on the server.
I have disabled ufw and windows firewall to ensure that is not the issue on
either end. On the Ubuntu Server I have the Bacula module installed on
Webmin and have that all set-up and working correctly. From the webmin
console I can get the info from the client so I believe the client info was
added correctly to the server. The Bconsole from the client will not connect
to the server. I ran Bacula-fd -t >out  from the cli on the client and this
is what I got:


---

c:\Program Files\Bacula>.\bacula-fd -t >out

 

c:\Program Files\Bacula>

08-Dec 14:01 bacula-fd: ERROR TERMINATION at
/home/kern/bacula/k/bacula/src/lib/

lex.c:640

Config error: Cannot open included config file monitor_name@: No such file
or di

rectory

 

: line 35, col 24 of file C:\ProgramData\Bacula/bacula-fd.conf

  Name = @monitor_name@




>From what I gather, I have to moves some files to another location, but it
is giving me a unix type of address in a windows enviroment and I am not
sure what to do. 

 

Any help would be much appriciated.

 

 

Ryan McGee  |  IT Specialist

 

Direct Marketing Solutions

8534 NE Alderwood Rd., Portland, OR 97220

 

503.896.9439 (cell) |  rmc...@teamdms.com  |  www.teamdms.com

 

 

This E-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and / or privileged information. Any
review, dissemination, copying, printing or other use of this E-mail by
persons or entities other than the addressee is prohibited.  If you have
received this E-mail in error, please contact the sender immediately and
delete this e-mail from any and all computers.  Thank you.

 

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Start from Scratch with Current settings

2012-01-02 Thread rmcgee
I have found a few things on the net about this issue, but nothing really
verified and I am afraid of losing my days of configuring to get everything
just right.

 

I am using Ubuntu 10.04 LTS and installed Bacula via the apt-get command. I
have a raid array that is mounted that works as the VTapes and I backup
across multiple domains.

 

I would like my jobs and volumes to start over without losing clients,
volume pools, storage directors, etc.  So Job 1 and Volume0001.

 

Is this all I have to do?:

  apt-get remove bacula-director-mysql 
  apt-get install bacula-director-mysql

 

Or are there other steps? Do I manually delete the Volumes or will those get
removed if the db is reset? If someone can give me a simple step by step, it
would be awesome!

 

Thanks!

 

Ryan McGee  |  IT Specialist

 

Direct Marketing Solutions

8534 NE Alderwood Rd., Portland, OR 97220

 

503.896.9439 (cell) |  rmc...@teamdms.com  |  www.teamdms.com

 

 

This E-mail is intended solely for the person or entity to which it is
addressed and may contain confidential and / or privileged information. Any
review, dissemination, copying, printing or other use of this E-mail by
persons or entities other than the addressee is prohibited.  If you have
received this E-mail in error, please contact the sender immediately and
delete this e-mail from any and all computers.  Thank you.

 

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error: Unknown stream=28 ignored restoring NTFS folder.

2012-01-02 Thread Dmitry Sytsko

Hi, folks.
I`m using version: 5.0.1 (24 February 2010) x86_64-pc-linux-gnu on 
ubuntu 10.04

I made a backup copy of NTFS folder on Win2008 and it`s OK. Log in Webacula:
Job NameStatus  Level   Files   Bytes   Errors  Client  Pool

ORG_archive 	OK 	F 	16,477 	9.9 GB 	- 	fs-fd 	ORG_archive 



Then i`m trying to restore this backup to NTFS usb-drive mounted to 
/media/Data and ..
copy.org 	Terminated with errors 	F 	13,673 	9.9 GB 	1 
 	bs-fd


Error email:
02-Dec 10:11 bs-dir JobId 53: Start Restore Job 
copy.org.2011-12-02_10.11.13_08 02-Dec 10:11 bs-dir JobId 53: Using 
Device "FileStorage" 02-Dec 10:11 bs-sd JobId 53: Ready to read from 
volume "ORG_archive0008" on device "FileStorage" (/data/servers). 02-Dec 
10:11 bs-sd JobId 53: Forward spacing Volume "ORG_archive0008" to 
file:block 0:198. 02-Dec 10:16 bs-sd JobId 53: End of Volume at file 2 
on device "FileStorage" (/data/servers), Volume "ORG_archive0008" 02-Dec 
10:16 bs-sd JobId 53: End of all volumes. 02-Dec 10:16 bs-fd JobId 53: 
Error: Unknown stream=28 ignored. This shouldn't happen!

Restore job:
Job { Name = "copy.org" Type = Restore Client = "bs-fd" FileSet = 
"ORG_archive_FILESET" Pool = ORG_archive Storage = BS Messages = 
Standard Replace = ifnewer Where = "/media/Data" Maximum Concurrent Jobs 
= 100 Priority = 10 Schedule = "Wednesday" Bootstrap = 
"/etc/bacula/db/ORG_archive.bsr" }

Backup job:
Job {   Name = "ORG_archive" JobDefs = "FS_defs" FileSet = 
"ORG_archive_FILESET" Schedule = "monthly_ORG_archive" Pool = ORG_archive

  Priority = 11 }
FileSet { Name = "ORG_archive_FILESET" Include { Options { signature = 
MD5 } File = "F:\\Archive" } Exclude { File = "*.temp" File = "*.tmp" 
File = "*.lnk" } }
JobDefs { Name = "FS_defs" Type = Backup Level = Differential Client = 
fs-fd Storage = BS Messages = Standard Priority = 10  Write Bootstrap = 
"/etc/bacula/db/%n.bsr" }


When restoring another linux machine backup everything is fine.
Tia

--
Dmitry Sytsko

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] howto force bscan to use mysql

2012-01-02 Thread Laurent Pirotte
Hi,

I'm trying to restore a catalog froma a tape to a new bacula server
insrtallation. My new server intallation is using mysql and the old one
was using postgresql. When I try to restore the catalog from a tape (see
below), bscan try to login in a postgresql server but there is no more
postgresql server. Can I force bscan to connect to a mysql server ?
There is a -D option in the bscan command but I don't have found any
information on the parameter I have to provide.

Regards

bscan -V 72L5 -v -s -m -c mysdconf -h mydbserver -P mydbpasswd -t
3306 /dev/nst0

bscan: butil.c:281 Using device: "/dev/nst0" for reading.
27-Dec 12:35 bscan JobId 0: Invalid slot=0 defined in catalog for Volume
"72L5" on "LTO5-Drive" (/dev/nst0). Manual load may be required.
27-Dec 12:35 bscan JobId 0: 3301 Issuing autochanger "loaded? drive 0"
command.
27-Dec 12:35 bscan JobId 0: 3302 Autochanger "loaded? drive 0", result
is Slot 7.
27-Dec 12:35 bscan JobId 0: Ready to read from volume "72L5" on
device "LTO5-Drive" (/dev/nst0).
27-Dec 12:35 bscan: ERROR TERMINATION at bscan.c:304
postgresql.c:227 Unable to connect to PostgreSQL server. Database=bacula
User=bacula
Possible causes: SQL server not running; password incorrect;
max_connections exceeded.



-- 
Laurent Pirotte
System Administrator
laurent.piro...@handicap.be 
tél : + 32 (0)2 233 01 52
fax : + 32 (0)2 230 60 30
Handicap International
http://handicapinternational.be
rue de Spa 67
1000 Bruxelles

P*Please consider the environment before printing this email*
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Marco van Wieringen
Wolfgang Denk  denx.de> writes:

> 
> Dear Marco,
> 
> I wrote:
> 
> > > So I would say give the xattr=yes a go on your install and see
> > > if it works for these attributes. You could create a test fileset
> > > with a known file with a posix file capability and run the bacula-fd
> > > with a debug level of 100 and watch for xattr save messages.
> > 
> > Done that, but I could not see any.
> 
> The log file is available here: ftp://ftp.denx.de/pub/tmp/log.gz
> 
Ok that log is kind of useless. I'm not to interested in
the director and sd as they are not really involved and couldn't
care less what you save.

I would run a bacula-fd -d 100 -f on a test client. e.g. first
shutdown the original bacula-fd and redirect that output to
a file. When we get that data of the backup we can take it
from there first lets make sure bacula-fd sees the xattr.
Like I said in the other mail its better to put just one file
you know for sure has these capability in a seperate fileset.

Marco


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage daemon didn't accept Device "storage-tape" command

2012-01-02 Thread zoubeir elguesmi
Bonjour,


j'ai installer bacula 5 sur ubuntu server 8

tout fonctionne normalement ,je connecte au console je fait le status su
storge me donne :

*srvtest1-sd Version: 5.0.2 (28 April 2010) x86_64-unknown-linux-gnu ubuntu
8.04
Daemon started 12-déc011 18:46, 0 Jobs run since started.
 Heap: heap=135,168 smbytes=13,032 max_bytes=78,029 bufs=55 max_bufs=56
Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8

Running Jobs:
No Jobs running.


Jobs waiting to reserve a drive:


Terminated Jobs:


Device status:
Device "storage-tape" (/dev/st0) is mounted with:
Volume:  monday
Pool:*unknown*
Media type:  LTO-3
Drive 0 status unknown.
Total Bytes Read=0 Blocks Read=0 Bytes/block=0
Positioned at File=0 Block=0


Used Volume status:
monday on device "storage-tape" (/dev/st0)
Reader=0 writers=0 devres=0 volinuse=0
*

mais lorsque le job de backup se declanche il m'affiche le message d'erreur
suivant :

srvtest1-dir JobId 21: Fatal error:
 Storage daemon didn't accept Device "storage-tape" command.


et le backup ça fonctionne pas


n/B: mon stroge est  IBM LTO-3


merci pour l'aide c bloquant


Cdt
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Problems restoring files with bRestore

2012-01-02 Thread Peter A. Henning
Hi there,

sorry for asking a newbie question, I am sure that I have made some error in 
the config but cannot find it. 

When using the bat frontend (version 5.2.1) with bRestore (_not_ the "Restore 
Files" button) to restore files it generates a job as

run job="RestoreFiles" fileset="WB3" level="" client="trantor-fd" 
pool="Default" storage="HDDBackup" priority="10" when="2011-12-19 12:55:46" 
yes 

This job  then terminates with

Level "" not valid.
Job not run.

When I enter the _same_  "run ..." command manually in bconsole, it runs when 
setting "level=Incremental" and really restores the file. So far, so good - 
but  in the documentation it says nothing about a "Level" in restoring files. 

Also, if - just for testing this - I put a "Level = Incremental" into the 
restore job description of bacula-dir, it is displayed in the bat frontend 
when listing the defined jobs. But when I then start the restore with bRestore 
in bat, this level description is not taken over in the restore job string, 
where  I end up with te same fault as above.

So, where is the fault now ? 

And I should also mention, that the "Restore Files" button in the bat frontend 
works just fine.

Regards

-- 
Peter Henning

--PGP 0x5CDC14A1 ---
| Prof.Dr.Peter A.Henning
| 
| Weingarten
|---


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Storage Resouce address scripting?

2012-01-02 Thread René Moser
Hi

We use dedicated backup networks. 

This means, from the bacula-fds point of view, the storage daemon has
several different addresses depending on the clients network.

So, this means I need to define as much storage resources to the same
device as networks exists, which is kind of inconvenient.

I tried to "script" the storage resource address like

Storage {
...
Address = @|"sh /etc/bacula/scripts/get-backup-network %n"
...
}

or define the address on client side:

Storage {
...
Address = "\\http://www.adfinis-sygroup.ch


signature.asc
Description: This is a digitally signed message part
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Marco van Wieringen
Wolfgang Denk  denx.de> writes:

> 
> Dear Marco,
> 
> In message  post.gmane.org> you wrote:
> >
> > > It appears that bacula does not save, and thus cannot restore, such
> > > file capabilities.
> > > 
> > Thats not really true. I did some searching on google to find out
> > how these so called POSIX file capabilities are implemented.
> > Its also quite new code it went into Linux 2.6.24 in may last year or so.
> 
> Hm... v2.6.24 is four years old...  Maybe you mean v2.6.34,
> and May 2010?
> 
No idea I'm not much into Linux these days the website describing
the info seems to indicate its in 2.6.24 and later if that's 4 years
old then it been there a bit longer only no one used it or nobody
did look at it.

> > Yup add acl = yes and xattr = yes to your fileset and you should
> > be set to backup most of the future options. Bacula is one of
> 
> Hm... I have these settings in the FileSet definition:
> 
>   Include {
> Options {
>   signature = MD5
>   xattrsupport = yes
>   aclsupport = yes
> }
> File = /usr/bin
>   }
> 
> When restoring, the file attributes were lost anyway.
> 
Ok interesting.

> Is there any other place I need to give extra options?  When
> restoring?
> 
Nope when its saved it will be restored unless you restore
to a filesystem where no xattr can be restored. So restore
to a real filesystem not to things like ramfs etc because
those are known to be very limited.

> > the few Open Source backup products (probably the only)
> > which has very broad support for all these kind of exotic
> > acl's, extended attributes and extensible attributes. I had to
> > write everything from scratch as no other projects address all
> > know interfaces. So we are quite good in doing the exotic stuff.
> 
> Guess why I've been using bacula for so long...
> 
No idea I only have been for 3 years+ and the support was
only added in these 3 years before that the support was rather
sparse.

> And btw: thanks 
> 
> > We already found out that Novell uses extended attributes for
> > storing additional access control lists on there NSS filesystem.
> > And those also backup and restore fine with the generic xattr code.
> 
> I'm just a user of bacula, no developer of it, so I don't care much
> about the implementation or the interface. As long as the
> functionality is present and working I'm fine with it.
> 
But I do because I don't want to code and support code when
it not needed and we can use a generic support layer.

> > > Note that this is probably a bigger problem - it appears that
> > > neither cpio nor tar nor rsync etc. can deal with file capabilities.
> > > At the moment I don't know how to create a 100% correct backup of a
> > > plain vanilla Linux root filesystem...  
> > > 
> > If you look at the linked webpage you will see that rsync and cpio
> > have support for extended attributes and that is used to copy these
> > posix file capabilities.
> 
> In the linked PDF file I cannot find a reference to cpio or rsync.
> 
The PDF linked is about the NSS stuff the website linked has quite
some info on how they are implemented and how they are stored and retrieved
using normal tools like attr etc.

> But rsync does indeed work as needed when using -X.  Sorry, I missed that.
> 
Ok that is at least something as rsync uses the same interface
we use on Linux for extended attributes so either you are restoring
to a filesystem without xattr support or we are for whatever reason
not getting these xattr saved,

> The cpio in Fedora 16 does not appear to support this.
> 
> > So I would say give the xattr=yes a go on your install and see
> > if it works for these attributes. You could create a test fileset
> > with a known file with a posix file capability and run the bacula-fd
> > with a debug level of 100 and watch for xattr save messages.
> 
> Done that, but I could not see any.
> 
Ok, so its on Fedora 16 will install a VM then and see what
is going on in that respect. You got me curious on why the
xattr doesn't get saved.

> This is with bacula as distributed with Fedora 16, most recent
> updates installed:
> 
>   bacula-client-5.0.3-13.fc16.x86_64
>   bacula-common-5.0.3-13.fc16.x86_64
>   bacula-console-5.0.3-13.fc16.x86_64
>   bacula-console-bat-5.0.3-13.fc16.x86_64
>   bacula-director-common-5.0.3-13.fc16.x86_64
>   bacula-director-mysql-5.0.3-13.fc16.x86_64
>   bacula-docs-5.0.3-13.fc16.x86_64
>   bacula-storage-common-5.0.3-13.fc16.x86_64
>   bacula-storage-mysql-5.0.3-13.fc16.x86_64
> 
> Anything ales I could look for?
I guess its compiled with xattr support otherwise you
would get fatal errors on backup trying to enable xattrsupport.

I'll see if I can find something obvious, but as rsync works
I'm confident that we should just save them without additional code.

Marco


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT reso

[Bacula-users] Inegrity of the volumes after a sector error

2012-01-02 Thread afuentes
I have some volumes in a disk that gave me some sector errors. Ive fixed
the sector errors on the disk. Is there a way to check the integrity of
the data in the volumes?

thank you!


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] backupé sur des cartouche spécifique

2012-01-02 Thread zoubeir elguesmi
Bonjour,

je suis en coure de mise en place d'une solution de backup avec bacula
je suis bloqué dans la phase suivante :

je veux backuper chaque jour sur une cartouche nommé du jour même par
exemple :

backuper lundi sur une cartouche nommé lundi
backuper mardi sur une cartouche nommé mardi ..

commebnt fait l'appel des cartouche dans chaque JOb

Merci d'avance
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] New user struggling to get staging to work

2012-01-02 Thread Jonathon Royle
Hi,

I have recently moved from commercial backup software to bacula and I like the 
flexibility (shame VSS is not currently Win08 R2 optimised) however I am 
struggling to get staging to work.

Current backup schedule
5 clients including bacula-fd (3 Linux, 2 Win)
1st Month Full backup to FileStorage
Daily incremental backups to FileStorage
Two Pools - MonthlyFullFile and DailyIncrementalFIle  all backup jobs ref 
Default Backup
Individual volumes created for each job

Objective

Yearly Full copy from FileStorage to OffSiteFileStorage
Weekly Incremental from FileStorage OffSiteFileStorage

I have created the config files below however every time I run the 
'offsite-copy' job I get an error that Level="" not valid.  Suggestions 
appreciated.

Regards,

Jon



Job {
  Name = "offsite-copy"
 Type = copy
  Client = bacula-fd
  Level = Full  # must be defined but is ignored
  FileSet = "Full Set"
  Selection Type = Volume
  Selection Pattern = "File"
  Priority = 200
  Storage = OffSiteFileStorage
  Pool = Default  # will be overwritten by Next Pool flag
}

Pool {
  Name = Default
  Pool Type = Backup
  Next Pool = OffSiteWeeklyIncrementalFile
}

Pool {
  Name = OffSiteWeeklyIncrementalFile
  Pool Type = Backup
  Recycle = no
  AutoPrune = no
  Label Format = 
"OffSite_$(Client)_Incr_${Year}-${Month:p/2/0/r}}-${Day:p/2/0/r}"
Storage = OffSiteFile
}


Centos 6.2
Bacula 5.2.3


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Wolfgang Denk
Dear Marco,

I wrote:

> > So I would say give the xattr=yes a go on your install and see
> > if it works for these attributes. You could create a test fileset
> > with a known file with a posix file capability and run the bacula-fd
> > with a debug level of 100 and watch for xattr save messages.
> 
> Done that, but I could not see any.

The log file is available here: ftp://ftp.denx.de/pub/tmp/log.gz

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
"They that can give up essential liberty to obtain a little temporary
saftey deserve neither liberty not saftey." - Benjamin Franklin, 1759

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Wolfgang Denk
Dear Marco,

In message  you wrote:
>
> > It appears that bacula does not save, and thus cannot restore, such
> > file capabilities.
> > 
> Thats not really true. I did some searching on google to find out
> how these so called POSIX file capabilities are implemented.
> Its also quite new code it went into Linux 2.6.24 in may last year or so.

Hm... v2.6.24 is four years old...  Maybe you mean v2.6.34,
and May 2010?

> Yup add acl = yes and xattr = yes to your fileset and you should
> be set to backup most of the future options. Bacula is one of

Hm... I have these settings in the FileSet definition:

  Include {
Options {
  signature = MD5
  xattrsupport = yes
  aclsupport = yes
}
File = /usr/bin
  }

When restoring, the file attributes were lost anyway.

Is there any other place I need to give extra options?  When
restoring?

> the few Open Source backup products (probably the only)
> which has very broad support for all these kind of exotic
> acl's, extended attributes and extensible attributes. I had to
> write everything from scratch as no other projects address all
> know interfaces. So we are quite good in doing the exotic stuff.

Guess why I've been using bacula for so long...

And btw: thanks :-)


> We already found out that Novell uses extended attributes for
> storing additional access control lists on there NSS filesystem.
> And those also backup and restore fine with the generic xattr code.

I'm just a user of bacula, no developer of it, so I don't care much
about the implementation or the interface. As long as the
functionality is present and working I'm fine with it.

> > Note that this is probably a bigger problem - it appears that
> > neither cpio nor tar nor rsync etc. can deal with file capabilities.
> > At the moment I don't know how to create a 100% correct backup of a
> > plain vanilla Linux root filesystem...  
> > 
> If you look at the linked webpage you will see that rsync and cpio
> have support for extended attributes and that is used to copy these
> posix file capabilities.

In the linked PDF file I cannot find a reference to cpio or rsync.

But rsync does indeed work as needed when using -X.  Sorry, I missed that.

The cpio in Fedora 16 does not appear to support this.

> So I would say give the xattr=yes a go on your install and see
> if it works for these attributes. You could create a test fileset
> with a known file with a posix file capability and run the bacula-fd
> with a debug level of 100 and watch for xattr save messages.

Done that, but I could not see any.

This is with bacula as distributed with Fedora 16, most recent
updates installed:

bacula-client-5.0.3-13.fc16.x86_64
bacula-common-5.0.3-13.fc16.x86_64
bacula-console-5.0.3-13.fc16.x86_64
bacula-console-bat-5.0.3-13.fc16.x86_64
bacula-director-common-5.0.3-13.fc16.x86_64
bacula-director-mysql-5.0.3-13.fc16.x86_64
bacula-docs-5.0.3-13.fc16.x86_64
bacula-storage-common-5.0.3-13.fc16.x86_64
bacula-storage-mysql-5.0.3-13.fc16.x86_64

Anything ales I could look for?

Thanks in advance.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
Punishment becomes ineffective after a certain point. Men become  in-
sensitive.
-- Eneg, "Patterns of Force", stardate 2534.7

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Linux: backup and restore of file capabilities ?

2012-01-02 Thread Marco van Wieringen
Wolfgang Denk  denx.de> writes:

> 
> A number of tools in recent Linux distributions (say, Fedora 16) rely
> on file capabilities for correct operation.  For example, "rlogin"
> will only work for regular uses when the "cap_net_bind_service"
> capability is set:
> 
>   -> getcap -v /usr/bin/rlogin
>   /usr/bin/rlogin = cap_net_bind_service+ep
> 
> Without this capability, non-root users will only get:
> 
>   -> rlogin 
>   rcmd: socket: Permission denied
> 
> It appears that bacula does not save, and thus cannot restore, such
> file capabilities.
> 
Thats not really true. I did some searching on google to find out
how these so called POSIX file capabilities are implemented.
Its also quite new code it went into Linux 2.6.24 in may last year or so.

There is quite some info on the new option at

http://www.friedhoff.org/posixfilecaps.html

As it seems there is a new interface which mimics the acl subsytem.
But the low level implementation is based on extended attributes.
So probably if you enable xattr = yes and save the extended
attributes you are set and things backup fine and restore fine.

> The result is that any restore of a root file system will have a
> (usually unknown) number of files that don't work correctly any more.
> 
> I searched the mailing list archives and the documentation, but could
> not find any reference to dealing with file capabilities.  Am I
> missing something?
> 
Nope they are so new and no mainstream distro seems to have
implemented them already. (Fedora is probably one of the first
to do so.)

> Is there a way to perform "correct" backups under Linux, i. e. to
> backup and be able to restore things like ACLs and especially file
> capabilities?
> 
Yup add acl = yes and xattr = yes to your fileset and you should
be set to backup most of the future options. Bacula is one of
the few Open Source backup products (probably the only)
which has very broad support for all these kind of exotic
acl's, extended attributes and extensible attributes. I had to
write everything from scratch as no other projects address all
know interfaces. So we are quite good in doing the exotic stuff.
You want to do xattrs anyhow as selinux also uses it a lot.

> If not, are there any plans to add such a feature?
> 
I don't plan on adding the additional interface for capabilities
as the generic xattr interface should be sufficient. If its not
we may look at cloning the acl code and interface to the 
posix file capabilities API. Its quite the same as acl, but
as acl's on Linux are also stored as extended attributes we
already have enough overhead in supporting both the ACL and XATTR
interfaces on Linux so I would prefer not to add an other interface
if the generic extended attribute code works.

We already found out that Novell uses extended attributes for
storing additional access control lists on there NSS filesystem.
And those also backup and restore fine with the generic xattr code.

See
http://www.bacula-konferenz.de/historie/2011/sicherung-von-nss-filesystemen-mit-bacula/at_download/file

> Note that this is probably a bigger problem - it appears that
> neither cpio nor tar nor rsync etc. can deal with file capabilities.
> At the moment I don't know how to create a 100% correct backup of a
> plain vanilla Linux root filesystem...  
> 
If you look at the linked webpage you will see that rsync and cpio
have support for extended attributes and that is used to copy these
posix file capabilities.

So I would say give the xattr=yes a go on your install and see
if it works for these attributes. You could create a test fileset
with a known file with a posix file capability and run the bacula-fd
with a debug level of 100 and watch for xattr save messages.

Marco


--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Fedora 16 - RHEL 5/6 Bacula RPM repository

2012-01-02 Thread Simone Caronni
It is now working for RHEL 5; it was a problem of the different default
algorithm used by yum:

http://lists.fedoraproject.org/pipermail/users/2010-January/365300.html

Please type the following as root and try again:

rm -fr /var/cache/yum/epel-bacula/

Thanks,
--Simone



On 2 January 2012 13:14, Simone Caronni  wrote:

> I'm installing a RHEL 4 and 5 vm right now for spotting problems.
>
> Thanks,
> --Simone
>
>
>
> On 2 January 2012 12:47, Rodrigo Renie Braga wrote:
>
>> Hello Simone, just to give you a feedback: I've tried again on a i386
>> CentOS 5.7 box and the problem persists:
>>
>> *[root@ptiap yum.repos.d]# yum --enablerepo epel update
>>
>> Loaded plugins: fastestmirror
>> Determining fastest mirrors
>>  * epel: mirror.symnds.com
>>
>> base  | 1.1 kB 00:00
>> base/primary  | 961 kB 00:00
>> base  2705/2705
>> epel  | 3.7 kB 00:00
>> epel/primary_db   | 3.2 MB 00:08
>>  epel-bacula   | 2.9 kB 00:00
>> epel-bacula/primary_db| 9.4 kB 00:00
>>
>> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/i386/repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz:
>> [Errno -3] Error performing checksum
>> Trying other mirror.
>> epel-bacula/primary_db| 9.4 kB 00:00
>>
>> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/i386/repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz:
>> [Errno -3] Error performing checksum
>> Trying other mirror.
>> Error: failure:
>> repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz
>> from epel-bacula: [Errno 256] No more mirrors to try.*
>>
>> Just strange, and apparently it does not happens on a CentOS 6 box...
>> Anyway, thanks again for you contribution, I'm installing using the .rpm
>> directly.
>>
>>
>> Em 29 de dezembro de 2011 16:10, Simone Caronni 
>> escreveu:
>>
>> Hello,
>>>
>>> I've checked the checksums on the files and everything seems correct.
>>>
>>> The weird thing is the second message you get, "Error: file is
>>> encrypted or is not a database"; I''ve never seen that message.
>>> The next thing is that appears after "updates/primary_db"; so it
>>> doesn't seem related to the bacula repository.
>>>
>>> Can you please try to run "yum clean all" and then trying updating again?
>>>
>>> I'm on holiday now and I don't have any rhel 5 platform at hand at the
>>> moment to check that the repo is working.
>>>
>>> Regards,
>>> --Simone
>>>
>>>
>>> On 29 December 2011 12:56, Rodrigo Renie Braga 
>>> wrote:
>>> > Simone, I'm trying to use your repository on a CentOS 5.7 adm64
>>> machine, and
>>> > "yum update" returns the following:
>>> >
>>> > Loaded plugins: fastestmirror
>>> > Determining fastest mirrors
>>> > addons
>>> > |  951 B 00:00
>>> > addons/primary
>>> > |  204 B 00:00
>>> > base
>>> > | 1.1 kB 00:00
>>> > base/primary
>>> >   | 1.2 MB 00:00
>>> > base
>>> > 3566/3566
>>> > epel-bacula
>>> > | 2.9 kB 00:00
>>> > epel-bacula/primary_db
>>> > | 9.3 kB 00:00
>>> >
>>> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/x86_64/repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
>>> :
>>> > [Errno -3] Error performing checksum
>>> > Trying other mirror.
>>> > epel-bacula/primary_db
>>> > | 9.3 kB 00:00
>>> >
>>> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/x86_64/repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
>>> :
>>> > [Errno -3] Error performing checksum
>>> > Trying other mirror.
>>> > Error: failure:
>>> >
>>> repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
>>> > from epel-bacula: [Errno 256] No more mirrors to try.
>>> >
>>> > Then, after trying yum update again:
>>> >
>>> > Loaded plugins: fastestmirror
>>> > Loading mirror speeds from cached hostfile
>>> > extras
>>> > | 2.1 kB 00:00
>>> > extras/primary_db
>>> > | 175 kB 00:00
>>> > updates
>>> > | 1.9 kB 00:00
>>> > updates/primary_db
>>> > | 510 kB 00:00
>>> > Error: file is encrypted or is not a database
>>> >
>>> > The weird thing is that on a CentOS 6.2 amd64 machine, your repo worked
>>> > perfectly. Do you have any idea of what's going on? I've tried "yum
>>> clean
>>> > all" and trying again several times, but it always come back to the
>>> same
>>> > problem.
>>> >
>>> > Thanks again!
>>> >
>>> > Em 6 de dezembro de 2011 14:06, Simone Caronni 
>>> > escreveu:
>>> >>
>>> >> Hello,
>>> >>
>>> >> the company I was working for has been a Bacula customer for some
>>> years
>>> >> and went through many iterations with the Bacula developer themselves
>>> to fix
>>> >> and change the Enterprise Edition behaviour when we move

Re: [Bacula-users] Fedora 16 - RHEL 5/6 Bacula RPM repository

2012-01-02 Thread Simone Caronni
I'm installing a RHEL 4 and 5 vm right now for spotting problems.

Thanks,
--Simone


On 2 January 2012 12:47, Rodrigo Renie Braga  wrote:

> Hello Simone, just to give you a feedback: I've tried again on a i386
> CentOS 5.7 box and the problem persists:
>
> *[root@ptiap yum.repos.d]# yum --enablerepo epel update
>
> Loaded plugins: fastestmirror
> Determining fastest mirrors
>  * epel: mirror.symnds.com
>
> base  | 1.1 kB 00:00
> base/primary  | 961 kB 00:00
> base  2705/2705
> epel  | 3.7 kB 00:00
> epel/primary_db   | 3.2 MB 00:08
> epel-bacula   | 2.9 kB 00:00
> epel-bacula/primary_db| 9.4 kB 00:00
>
> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/i386/repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz:
> [Errno -3] Error performing checksum
> Trying other mirror.
> epel-bacula/primary_db| 9.4 kB 00:00
>
> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/i386/repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz:
> [Errno -3] Error performing checksum
> Trying other mirror.
> Error: failure:
> repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz
> from epel-bacula: [Errno 256] No more mirrors to try.*
>
> Just strange, and apparently it does not happens on a CentOS 6 box...
> Anyway, thanks again for you contribution, I'm installing using the .rpm
> directly.
>
>
> Em 29 de dezembro de 2011 16:10, Simone Caronni 
> escreveu:
>
> Hello,
>>
>> I've checked the checksums on the files and everything seems correct.
>>
>> The weird thing is the second message you get, "Error: file is
>> encrypted or is not a database"; I''ve never seen that message.
>> The next thing is that appears after "updates/primary_db"; so it
>> doesn't seem related to the bacula repository.
>>
>> Can you please try to run "yum clean all" and then trying updating again?
>>
>> I'm on holiday now and I don't have any rhel 5 platform at hand at the
>> moment to check that the repo is working.
>>
>> Regards,
>> --Simone
>>
>>
>> On 29 December 2011 12:56, Rodrigo Renie Braga 
>> wrote:
>> > Simone, I'm trying to use your repository on a CentOS 5.7 adm64
>> machine, and
>> > "yum update" returns the following:
>> >
>> > Loaded plugins: fastestmirror
>> > Determining fastest mirrors
>> > addons
>> > |  951 B 00:00
>> > addons/primary
>> > |  204 B 00:00
>> > base
>> > | 1.1 kB 00:00
>> > base/primary
>> >   | 1.2 MB 00:00
>> > base
>> > 3566/3566
>> > epel-bacula
>> > | 2.9 kB 00:00
>> > epel-bacula/primary_db
>> > | 9.3 kB 00:00
>> >
>> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/x86_64/repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
>> :
>> > [Errno -3] Error performing checksum
>> > Trying other mirror.
>> > epel-bacula/primary_db
>> > | 9.3 kB 00:00
>> >
>> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/x86_64/repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
>> :
>> > [Errno -3] Error performing checksum
>> > Trying other mirror.
>> > Error: failure:
>> >
>> repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
>> > from epel-bacula: [Errno 256] No more mirrors to try.
>> >
>> > Then, after trying yum update again:
>> >
>> > Loaded plugins: fastestmirror
>> > Loading mirror speeds from cached hostfile
>> > extras
>> > | 2.1 kB 00:00
>> > extras/primary_db
>> > | 175 kB 00:00
>> > updates
>> > | 1.9 kB 00:00
>> > updates/primary_db
>> > | 510 kB 00:00
>> > Error: file is encrypted or is not a database
>> >
>> > The weird thing is that on a CentOS 6.2 amd64 machine, your repo worked
>> > perfectly. Do you have any idea of what's going on? I've tried "yum
>> clean
>> > all" and trying again several times, but it always come back to the same
>> > problem.
>> >
>> > Thanks again!
>> >
>> > Em 6 de dezembro de 2011 14:06, Simone Caronni 
>> > escreveu:
>> >>
>> >> Hello,
>> >>
>> >> the company I was working for has been a Bacula customer for some years
>> >> and went through many iterations with the Bacula developer themselves
>> to fix
>> >> and change the Enterprise Edition behaviour when we moved away from the
>> >> Community Version. Their support was awesome.
>> >>
>> >> Now I've changed job and I've been recently accepted as Bacula
>> >> co-mantainer in Fedora. I've given a spin to the current Bacula
>> packages in
>> >> rawhide and rebuilt them for RHEL 5/6 and Fedora 16.
>> >> So far, compared to the last packages in Fedora (5.0.3) this is what is
>> >> implemented:
>> >>
>> >> - Nagios plugin.
>> >> - Removal of bwxconsole, gnome-console and tray-moni

Re: [Bacula-users] Fedora 16 - RHEL 5/6 Bacula RPM repository

2012-01-02 Thread Rodrigo Renie Braga
Hello Simone, just to give you a feedback: I've tried again on a i386
CentOS 5.7 box and the problem persists:

*[root@ptiap yum.repos.d]# yum --enablerepo epel update
Loaded plugins: fastestmirror
Determining fastest mirrors
 * epel: mirror.symnds.com
base  | 1.1 kB 00:00
base/primary  | 961 kB 00:00
base  2705/2705
epel  | 3.7 kB 00:00
epel/primary_db   | 3.2 MB 00:08
epel-bacula   | 2.9 kB 00:00
epel-bacula/primary_db| 9.4 kB 00:00
http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/i386/repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz:
[Errno -3] Error performing checksum
Trying other mirror.
epel-bacula/primary_db| 9.4 kB 00:00
http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/i386/repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz:
[Errno -3] Error performing checksum
Trying other mirror.
Error: failure:
repodata/896d43a07a0d4bdce72f22ccf315af1a5f179920599a9a9a9b9e278a12a91754-primary.sqlite.gz
from epel-bacula: [Errno 256] No more mirrors to try.*

Just strange, and apparently it does not happens on a CentOS 6 box...
Anyway, thanks again for you contribution, I'm installing using the .rpm
directly.


Em 29 de dezembro de 2011 16:10, Simone Caronni escreveu:

> Hello,
>
> I've checked the checksums on the files and everything seems correct.
>
> The weird thing is the second message you get, "Error: file is
> encrypted or is not a database"; I''ve never seen that message.
> The next thing is that appears after "updates/primary_db"; so it
> doesn't seem related to the bacula repository.
>
> Can you please try to run "yum clean all" and then trying updating again?
>
> I'm on holiday now and I don't have any rhel 5 platform at hand at the
> moment to check that the repo is working.
>
> Regards,
> --Simone
>
>
> On 29 December 2011 12:56, Rodrigo Renie Braga 
> wrote:
> > Simone, I'm trying to use your repository on a CentOS 5.7 adm64 machine,
> and
> > "yum update" returns the following:
> >
> > Loaded plugins: fastestmirror
> > Determining fastest mirrors
> > addons
> > |  951 B 00:00
> > addons/primary
> > |  204 B 00:00
> > base
> > | 1.1 kB 00:00
> > base/primary
> >   | 1.2 MB 00:00
> > base
> > 3566/3566
> > epel-bacula
> > | 2.9 kB 00:00
> > epel-bacula/primary_db
> > | 9.3 kB 00:00
> >
> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/x86_64/repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
> :
> > [Errno -3] Error performing checksum
> > Trying other mirror.
> > epel-bacula/primary_db
> > | 9.3 kB 00:00
> >
> http://repos.fedorapeople.org/repos/slaanesh/bacula/epel-5/x86_64/repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
> :
> > [Errno -3] Error performing checksum
> > Trying other mirror.
> > Error: failure:
> >
> repodata/2c522829a11dc7d0e4cc27c9f76a4f72a0243255ff2bc4c078a139f4d220c754-primary.sqlite.gz
> > from epel-bacula: [Errno 256] No more mirrors to try.
> >
> > Then, after trying yum update again:
> >
> > Loaded plugins: fastestmirror
> > Loading mirror speeds from cached hostfile
> > extras
> > | 2.1 kB 00:00
> > extras/primary_db
> > | 175 kB 00:00
> > updates
> > | 1.9 kB 00:00
> > updates/primary_db
> > | 510 kB 00:00
> > Error: file is encrypted or is not a database
> >
> > The weird thing is that on a CentOS 6.2 amd64 machine, your repo worked
> > perfectly. Do you have any idea of what's going on? I've tried "yum clean
> > all" and trying again several times, but it always come back to the same
> > problem.
> >
> > Thanks again!
> >
> > Em 6 de dezembro de 2011 14:06, Simone Caronni 
> > escreveu:
> >>
> >> Hello,
> >>
> >> the company I was working for has been a Bacula customer for some years
> >> and went through many iterations with the Bacula developer themselves
> to fix
> >> and change the Enterprise Edition behaviour when we moved away from the
> >> Community Version. Their support was awesome.
> >>
> >> Now I've changed job and I've been recently accepted as Bacula
> >> co-mantainer in Fedora. I've given a spin to the current Bacula
> packages in
> >> rawhide and rebuilt them for RHEL 5/6 and Fedora 16.
> >> So far, compared to the last packages in Fedora (5.0.3) this is what is
> >> implemented:
> >>
> >> - Nagios plugin.
> >> - Removal of bwxconsole, gnome-console and tray-monitor.
> >> - Removal of sqlite2.
> >> - Added html docs.
> >> - Reduced the number of patches.
> >> - Made "bat" compile only on platforms that provide QT >= 4.6.2 (this
> and
> >> systemd are the "ifs" for building on all releases).
> >> - Enablement of bpipe-fd.so.
> >> - Converged all the storage backends t

Re: [Bacula-users] Can not update slots

2012-01-02 Thread ninyo
>>  Placing your reply AFTER the question enables reading of the thread
without scrolling up and down and up and down…

Thanks Dan, i will keep that in mind. Sorry for the inconvenience. :)

>> Given that your tapes do not have barcodes, this output is expected.
 There is no way for
>>Bacula to know the labels without barcodes.
>>
>>That said, I do recall some mechanism for manually creating a file which
contains the labels…
>>
>> do not recall where I saw that reference..

This is my updateslots.sh script:

*echo 'update slots=1-24 storage=cinta scan' | /sbin/bconsole -c
/etc/bacula/bconsole.conf*

This script works without problems in previous versión.

Anyway, for reasons unknown (i suspect machine reboot) now it works.
Updteslots job is placed to work on friday and when i see it was working
and updating the slots i cant belive it. Im repeating the tests now,
launching again the script and trying to understand why is working now.

Im totally confused
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users