Re: [Bacula-users] Status of Python api?
On Thu, Feb 26, 2015 at 10:06 PM, S McGraw smcg2...@frii.com wrote: On 02/26/2015 03:08 PM, Heitor Faria wrote: [...] I was auto-labeling the volumes for each job like: xxx-1.bac, xxx-2.bac, xxx-n.bac, etc where n starts at 1 for each job. Is there some variable that has that behavior? [...] Hey Mr. McGraw: you should try LabelFormat = xxx-${NumVols}.bac What is xxx? If is the client name you can uses ${Client}. You could check all Bacula Variables via Google: http://www.bacula.org/5.2.x-manuals/en/misc/misc/Variable_Expansion.html Thanks for that suggestion. I read the Variable Expansion chapter many times but interpreted current number of Volumes in the Pool as being a fixed number for a pool with a large number of pre-labeled volumes. I just tried using NumVols but the number it produced was 5177. I guess was wrong about the pre-labeled part but it does seem to be total number of volumes in the pool and not a number for the volumes used in the current job so far which is what I need. 1. Sorry for misunderstanding it. I really don't see the need of associating volumes names with their jobs and it can be very messy when they are recycled, since a Job can take a variable amount of volumes and Bacula already provide that association (e.g: list jobmedia, restore job..., etc.). I agree it is messy (I would say unworkable) when recycling is used but I don't do recycling. I backup to smaller-than-DVD sized disk volumes and write those to DVD. In such an environment, volume recycling is pointless. All post-bacula handling (write to DVD, off-siting, moving storage locations around to fit varying storage needs/capacities, etc) are done by hand or with the help of scripts since Bacula provides no support for DVD as a storage medium. I find it easier to manage those tasks when I can look at filename and be able to determine information about what is in the volume than to have to go though a level of indirection for that information, either by asking Bacula or querying the catalog database directly. And of course the current labeling scheme is baked into the scripts that I have to help with the post-bacula volume management. I've been using the current labeling scheme successfully for 5 years, including disaster recovery simulation so I don't see a strong reason to change now unless I have to. Hi, are you sure that you cant configure bacula to make a backup direct to DVD ??? I have one client configured to use a DVD storage just now. basicaly, I backup all information from clients to internal bacula disk and after this I make a job copy to DVD (internal disk to DVD). about the label name, if the idea is just to make easy to manual select the volume... maybe you can use: Client_name-Date-JodID good luck -- -- Victor Hugo dos Santos http://www.vhsantos.net Linux Counter #224399 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Webacula 7. Coming…
On Sat, Oct 25, 2014 at 3:09 PM, Kern Sibbald k...@sibbald.com wrote: On 14-10-05 03:36 AM, Yuriy Tim wrote: What I have in mind: 1 store all config files in the database 2 to store all the jobs in the database (for example, scheduled tasks, and not only already made) 3 to store other information in the same database 4 to have a function that preserves the tree to the the database for select the files and restore. Now it makes BVFS,but for Web-UI is useless. I once wrote in the bacula-devel but Bacula configuration files editing ? NOO! :) I am not sure why any one would object to doing configuration file editing in a Web based GUI -- we have that in Bacula Enterprise. Also who you asked to program it and when could make a big difference in the response ... Where I am not very enthusiastic is to put the configuration files in the SQL database. This would make it harder to recover Bacula during disaster recovery, and if you destroyed your database, it could make it impossible to even start Bacula. Hi I think the same with you about the posibility to store the configuration in database (is a very, very, very bad idea) !!! but, maybe the idea of this mail (If not, Yuriry can use this idea to improve webacula) is to use a database to save all the hosts, files, storages and others only to webacula interface... After the end, the user will apply the changes and so, the GUI get all the information from the database and generate a new bacula-dir.conf for example. that is the same idea that the Centreon project use to make the nagios configuration files, and IMHO, I believe that is a good idea. salu2 -- -- Victor Hugo dos Santos http://www.vhsantos.net Linux Counter #224399 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-Web 5.2.12 released
On Fri, Jan 25, 2013 at 3:40 AM, bacula-...@dflc.ch wrote: Dear all, I'm proud to announce that Bacula-Web 5.2.12 is available from now. This version is major bug fix release, I'd suggest to all users using a previous version of Bacula-Web to upgrade to the latest version. More information are available in the release note. http://www.bacula-web.org/news.html Hi, what you think about the posibility to put a option to select/change a diferente database/director in the bacula-web interface ?? I have, many instances of bacula server installed in different places/clients and I thinks that install web-server + bacula-web in all they is a lost of time and now I have configured a different virtual host to host in apache each of it with a bacula-web for any of this clients. but, maybe a simples combobox in the bacula-web interface is more easy to manage more that one server. that is my idea. thanks for your excelent work. bye -- -- Victor Hugo dos Santos http://www.vhsantos.net Linux Counter #224399 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Off site backups
2012/2/24 Johannes Fabian Rußek jrus...@spotify.com: Hi everybody, I'm planning on how move off-site backups around from bacula. Originally I thought something like the copy or migration job from one SD on one site to another SD at a second site, but I realized that migration jobs only work within one SD. I guess I am not the first or only person that needs to store backups in several places and does not want to rely on NFS across datacenters or rsyncing, for various reasons (throughput, security, reliability...) How do people generally do this kind of job or what is the advised way to do that? Hello, I have a remote off-site configured with a NAS !!! the NAS have a ISCSI configuration that allowed me to put it in the same SD. so, in the same SD I have the local storage (disks) and the remote (NAS). and, after run the backup, I run a copy job from local to remote. bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Send Bacula Backup Report new version for PostgreSQL
On Wed, Jan 25, 2012 at 1:45 PM, Davide Giunchi davide.giun...@soasi.com wrote: http://www.soasi.com/send-bacula-backup-report/ I've released Send Bacula Backup Report version 0.4, this is the ChangeLog: * added support for PostgreSQL catalog * tested with Bacula Enterprise Hi Davide, I made a changes in your script !!! the idea is that the administrator can get a general status of backup only reading the mail subject (like tripiwire report). thanks. -- -- Victor Hugo dos Santos Linux Counter #224399 --- send_bacula_backup_report.pl-old 2012-02-02 14:16:42.0 -0300 +++ send_bacula_backup_report.pl 2012-02-02 14:42:57.0 -0300 @@ -26,6 +26,12 @@ ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $year += 1900; $mon += 1; +$status_ok=0; +$status_warn=0; +$status_run=0; +$status_wait=0; +$status_error=0; + # acquire the conf require '/etc/bacula/send_bacula_backup_report.conf'; @@ -67,14 +73,19 @@ # color list for various job status if ( ($ref-{'jobstatus'} =~ 'T') ($ref-{'joberrors'} == 0) ) { $status = 'font color=greenOK/font'; + $status_ok++; } elsif ( ($ref-{'jobstatus'} =~ 'T') ($ref-{'joberrors'} != 0) ) { $status = 'font color=purpleWARNING/font'; + $status_warn++; } elsif ( ($ref-{'jobstatus'} =~ 'R') ) { $status = 'font color=blueRUNNING/font'; + $status_run++; } elsif ( ($ref-{'jobstatus'} =~ 'C') ) { $status = 'font color=blueWAITING/font'; + $status_wait++; } else { $status = 'font color=redERROR/font'; + $status_error++; } @@ -110,7 +121,7 @@ my $msg = MIME::Lite-new ( -Subject = $email_subject, +Subject = $email_subject - OK:$status_ok WARN:$status_warn ERROR:$status_error RUN:$status_run WAIT:$status_wait, From= $email_from, To = $email_to, Type= 'text/html', -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] problem with job copy and retention period
Hi... I have this situation: A small SD in the server (2TB) with a retention period of 3 months. and a other SD in a disk USB (1TB) with a retention period of 1 month. Note: the idea is leave only the more recently backups (one month) in internal and external disk.. .and the oldest backup in the internal disk (we don't believe that we will need this old backups in the future). I have configured the bacula director to copy all jobs from server to disk USB... that worded OK.. but after a month.. the director purge the volumes with one month or more at the disk USB and after this the director copy the old jobs again to usb disk !! :-( my job copy is configured to copy all uncopied jobs (PoolUncopiedJobs).. but, apparently the director consider that if the volume don't exist in the other SD, the volume isn't copied and make a new copy job !!! any idea to workaround this ?? extract from director configuration Job { Name = CopyToTape Type = Copy Level= Full JobDefs = DefaultJob Client = bacula-fd Priority = 200 Selection Type = PoolUncopiedJobs Schedule= WeeklyCycleForCopyingToUSB } # Scratch pool definition Pool { Name = Scratch Pool Type = Backup } Pool { Name = Mensual-Completo Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 3 months Maximum Volume Jobs = 1 Label Format = mensual-completo- Next Pool = Pool-DiscoUSB } Pool { Name = Semanal-Diferencial Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 35 days Maximum Volume Jobs = 1 Label Format = semanal-diferencial- Next Pool = Pool-DiscoUSB } Pool { Name = Diario-Incremental Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 14 days Maximum Volume Jobs = 1 Label Format = diario-incremental- Next Pool = Pool-DiscoUSB } Pool { Name = Pool-DiscoUSB Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 35 days Maximum Volume Jobs = 1 Storage = DiscoUSB } Schedule { Name = WeeklyCycleForCopyingToUSB Run = Level=Full mon-fri at 11:06 Run = Level=Differential mon-fri at 11:06 Run = Level=Incremental mon-fri at 11:06 } -- -- Victor Hugo dos Santos Linux Counter #224399 -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Send Bacula Backup Report
On Wed, Jul 13, 2011 at 11:15 AM, Davide Giunchi davide.giun...@soasi.com wrote: http://www.soasi.com/send-bacula-backup-report/ I've released the first pubblic version of Send Bacula Backup Report. Hello Davide... that is a good idea !!! I din't read/download it, but I read this in the web site: You need to install the program in the Bacula Director server that use MySQL server and Bweb. only work with Mysql ?? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula vchanger
On Tue, May 3, 2011 at 11:05 AM, Josh Fisher jfis...@pvct.com wrote: On 5/3/2011 5:55 AM, Koenraad Lelong wrote: ... # chmod 770 /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ # ls -la /mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663/ totaal 196768 drwxrwx--- 6 bacula bacula 4096 3 mei 10:36 . drwxr-xr-x 3 root root 0 3 mei 10:51 .. drwx-- 2 bacula bacula 16384 21 apr 11:39 lost+found ... ls -la /var/lib/bacula/c2/ totaal 12 drwxr-x--- 2 bacula bacula 4096 3 mei 11:29 . drwxr-xr-x 3 bacula bacula 4096 3 mei 11:29 .. -rw-r--r-- 1 bacula bacula 1 3 mei 11:29 bay1 -rw-r--r-- 1 bacula bacula 0 3 mei 11:29 state0 So I'm still stuck. Just for fun I tried again : # vchanger -u bacula -g bacula /etc/bacula/c2.conf initmag 1 magazine bay 1 has no magazine mounted # vchanger -u bacula -g disk /etc/bacula/c2.conf initmag 1 created magazine 1 in bay 1 [/mnt/vchanger/49299ccc-6489-43f8-9536-d63dd3de9663] So the disk-group can initialize the magazine, the bacula-group has problems. I looked at the udev-rules, but there is nothing there that rings a bell. So, bacula:bacula cannot write, but bacula:disk can, yet all accessed directories appear to be owned by bacula:bacula? What group does the bacula-sd daemon run as? On Fedora, it is typical for bacula-dir to run as bacula:bacula, while bacula-sd runs as bacula:disk. Perhaps this is an selinux thing? Maybe the simple solution is to change everything to be owned by bacula:disk and run bacula-sd as bacula:disk. Hi... I had the same error today in ubuntu server: $ sudo vchanger -u bacula -g bacula /etc/bacula/disco_usb.conf initmag 1 magazine bay 1 has no magazine mounted $ sudo vchanger -u bacula -g tape /etc/bacula/disco_usb.conf initmag 1 magazine bay 1 has no magazine mounted $ sudo vchanger -u bacula -g disk /etc/bacula/disco_usb.conf initmag 1 magazine in bay 1 (/mnt/vchanger/29d9d497-62dd-4903-9054-a3fb9777b79d) already initialized as magazine 1 bacula-dir and bacula-sd are working in bacula and tape groups respectively and all folders and files have this groups. = $ find /var/lib/bacula/ /var/log/bacula/ /var/bacula -not -group bacula -and -not -group tape /var/log/bacula/ = and after check the output of strace = $ sudo strace -s 100 vchanger -u bacula -g bacula /etc/bacula/disco_usb.conf initmag 1 stat64(/dev/sdc1, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0 time(NULL) = 1309454624 stat64(/dev/sdc1, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 33), ...}) = 0 open(/dev/sdc1, O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission denied) read(4, , 1024) = 0 close(4) = I found that the problem is that vchanger try to access the device (/dev/sd*) directly and not the directory/mountpoint configured.. and how the script are running with a group (bacula/tape) that don't have access do /dev/sd*, the script don't work... === $ ls -ltr /dev/sd* brw-rw 1 root disk 8, 16 2011-06-28 11:16 /dev/sdb brw-rw 1 root disk 8, 0 2011-06-28 11:16 /dev/sda brw-rw 1 root disk 8, 1 2011-06-28 11:16 /dev/sda1 brw-rw 1 root disk 8, 17 2011-06-28 11:16 /dev/sdb1 brw-rw 1 root disk 8, 21 2011-06-28 11:16 /dev/sdb5 brw-rw 1 root disk 8, 18 2011-06-28 11:16 /dev/sdb2 brw-rw 1 root disk 8, 32 2011-06-30 12:10 /dev/sdc brw-rw 1 root disk 8, 33 2011-06-30 12:10 /dev/sdc1 === solution... mmm .. include bacula in disk group ?? attentive -- -- Victor Hugo dos Santos Linux Counter #224399 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] devices with bacula inside (was: compiling static)
Hello, I'm interesting in make a list with all (o many) devices (NAS, disks boxs, etc, etc) that have the possibility of install bacula (director and/or storage) in him. for example: - device with FreeNAS - Iomega Storcenter Ix2-200 Nas (Linux in a AMR with 128MB) - others and others. In principle, we only make the list of devices (and some characteristics), but, if we have a good acceptation, we can make how-to to install bacula for which device too. well.. anyone have any device with bacula ?? Wish shared this information ??? Has conserved the notes of installation ?? byebye -- -- Victor Hugo dos Santos Linux Counter #224399 -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Howto restore with SSH-tunnel.
On Mon, Jan 3, 2011 at 10:18 AM, Jari Fredriksson ja...@iki.fi wrote: On 3.1.2011 14:54, Mister IT Guru wrote: [...] Our LAN (where Bacula server is) is behind NAT, in 10.x.x.x network, we can only be contacted via SSH from internet. The backed up servers do have public IP, but they are behind SSH port only. Would OpenVPN work? OpenVPN work for both protocols (tcp/udp) and in tour case, you can change the default port to 22/tcp. bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Invalid command for a Director with Monitor directive enable
On Mon, Dec 20, 2010 at 8:21 AM, abeku bacula-fo...@backupcentral.com wrote: Hi All, My bacula installation just stopped working with the following error for all jobs : Fatal error: File daemon webmail2.ucomgh.com-fd rejected Job command: 2997 Invalid command for a Director with Monitor directive enabled. am using bacula 5.03 on centos 5.5. pls find my config below.. help wil b aprecited bacula-fd.conf Director { Name = callcentre.ucomgh.com-dir Password = s3kv8/zmszwU1Auqch7YXhOJpQKCOA2grrHY5tdvp16O Monitor = yes } Director { Name = callcentre.ucomgh.com-mon Password = gFOP5NE+Oeila/lndbfNE8xZNZisttpdtacBQ4ewQKpQ Monitor = yes } Hi, Already you looked the two directors with two monitors parameters repeated??? May that you only need one !! :D bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-users-es] Documentation and translations
On Sun, Jan 3, 2010 at 4:08 PM, Kern Sibbald k...@sibbald.com wrote: Hello, The other day, Eric pointed out to me that some of the manuals that we have posted in different languages are quite out of date -- in fact, the partial French translation apparently dates from version 1.38. Hello Masters, well, I believe that the big problem is that documentation don't have a friendly interface to translate or easy of compare. IMHO, I think that a tool or interface as http://l10n.openoffice.org/ is a good idea (maybe not is the tool that we need, but is a good example).. On resume, anyone know a collaborative tool for translation that can import/export latex documents, that show paragraphs no translated and that make a good coffee ?? :D I hope you all had a great holiday season and survived seeing the New Year in ... idem salu2 -- -- Victor Hugo dos Santos Linux Counter #224399 -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] introducción a bacula / introduct ion to bacula
== Hola Maestros En este enlace http://vimeo.com/7648923 Hay una pequeña introducción a una de las presentaciones que hice de bacula hace poco (en el Encuentro Linux 2009). en la siguiente semana, pienso que ya tendré listo la siguiente parte (la parte formal de la presentación). (Nota.: Perdón por los errores de ortografía y pronunciación) salu2 y atento a comentarios == Hello Masters in this link http://vimeo.com/7649344 I have a small introduction to presentation about bacula (shown on Encuentro Linux 2009) On next week, I think that I'll have the next part of bacula's presentation (the part more formal of presentation) (Nota.: Sorry for the errors of translate) bye == -- -- Victor Hugo dos Santos Linux Counter #224399 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore job don't know in which storage is the volume
On Wed, Nov 4, 2009 at 9:45 AM, Martin Simmons mar...@lispworks.com wrote: On Fri, 30 Oct 2009 16:13:58 -0300, Victor Hugo dos Santos said: ... If I select yes... bacula show this message: == 30-Oct 15:13 bacula-sd JobId 16787: Please mount Volume oracle-completo-0901 for: Job: Restaurar.2009-10-30_15.13.09 Storage: FileStorage (/var/bacula) Pool: Default Media type: File == because the volumen isn't on storage0, but yes on storage1. well.. IMHO, the problem is in this line: -- Storage not found, using Storage Storage0 from MediaType File. Bootstrap records written to /var/lib/bacula/bacula-dir.restore.2.bsr -- why bacula, don't know in which local/storage it saved the volume and try to use the storage0 for default ?? Bacula uses the media type to choose the storage. You need to configure different media types for each storage and then update the existing volumes to match. Hello Martin... OK.. I read the documentation and Basica Volume Management (http://www.bacula.org/en/rel-manual/Basic_Volume_Management.html) and for me is clear how work (or as should work) bacula with multiples storages... now.. I changed my configuration to: director Storage { Name = Storage0 Address = bacula.mydomain.com SDPort = 9103 Password = XX Device = FileStorage Media Type = File } Storage { Name = Storage1 Address = bacula-st1.mydomain.com SDPort = 9103 Password = YY Device = FileStorage1 Media Type = File1 } storage0 Device { Name = FileStorage Media Type = File Archive Device = /var/respaldo/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } storage1 (there is the change) Device { Name = FileStorage1 Media Type = File1 Archive Device = /var/respaldo/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } basically, I changed the parameter Media Type from File to File1 on section storage in director's configuration file and device in storage's configuration file.. after this changes, I restarted the director and storage and on console I tried to update the volumes with update command, but don't worked... :-( In documentation of console (http://www.bacula.org/en/rel-manual/Bacula_Console.html#SECTION00215), I don't see options for update the parameter Media Type of current volumes !!! When you wrote then update the existing volumes to match. You wanted make reference to command update of console or other method ?? some documentation or help about this ?? very much thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restore job don't know in which storage is the volume
Hello Masters.. I have a small problem with bacula (2.4.2) and a restore job.. My structure is very simples, one director and 2 storages. Some servers backup your files on storage1 and other servers on the storage2. the problem is that when I run the restore job (command restore in console), all work fine until I select the files and go to next step, look: (any irrelevant part are deleted) == *restore Automatically selected Catalog: MyCatalog Using Catalog MyCatalog To select the JobIds, you have the following choices: 1: List last 20 Jobs run [...] 11: Enter a list of directories to restore for found JobIds 12: Cancel Select item: (1-12): 5 Defined Clients: 1: proxy-fd 2: pink-fd 3: fds2-fd 4: blue-fd [...] 125: bacula-st1-fd 126: red-fd 127: gridapps-fd Select the Client (1-27): 4 The defined FileSet resources are: 1: Linux-Oracle-ARCs 2: Linux-Oracle-HOTBACKUP 3: Linux-Servers Select FileSet resource (1-3): 2 ++---+--++-+--+ | jobid | level | jobfiles | jobbytes | starttime | volumename | ++---+--++-+--+ | 16,777 | F | 38,540 | 15,077,758,132 | 2009-10-30 04:30:02 | oracle-completo-0901 | ++---+--++-+--+ You have selected the following JobId: 16777 Building directory tree for JobId 16777 ... +++ 1 Job, 36,519 files inserted into the tree. [...] cwd is: / $ ls opt/ usr/ var/ $ mark usr 4 files marked. $ done Storage not found, using Storage Storage0 from MediaType File. Bootstrap records written to /var/lib/bacula/bacula-dir.restore.2.bsr The job will require the following Volume(s) Storage(s)SD Device(s) === oracle-completo-0901 4 files selected to be restored. Run Restore job JobName: Restaurar Bootstrap: /var/lib/bacula/bacula-dir.restore.2.bsr Where: /tmp/bacula-restores Replace: always FileSet: Completo Backup Client: blue-fd Restore Client: blue-fd Storage: Storage0 When:2009-10-30 15:51:23 Catalog: MyCatalog Priority:10 OK to run? (yes/mod/no): == If I select yes... bacula show this message: == 30-Oct 15:13 bacula-sd JobId 16787: Please mount Volume oracle-completo-0901 for: Job: Restaurar.2009-10-30_15.13.09 Storage: FileStorage (/var/bacula) Pool: Default Media type: File == because the volumen isn't on storage0, but yes on storage1. well.. IMHO, the problem is in this line: -- Storage not found, using Storage Storage0 from MediaType File. Bootstrap records written to /var/lib/bacula/bacula-dir.restore.2.bsr -- why bacula, don't know in which local/storage it saved the volume and try to use the storage0 for default ?? I my case, I have only two storage, but if I have more storages ??? will be need select one for one to locate which storage have the volumen ??? My restore job on director is: == Job { Name = Restaurar Type = Restore Client = bacula-fd FileSet=Completo Storage = Storage0 Pool = Default Messages = Standard Where = /tmp/bacula-restores } == understand my problem??? there a workaround? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-users-es] Bacula Status
On Tue, Sep 29, 2009 at 2:30 PM, Kern Sibbald k...@sibbald.com wrote: Hello, [...] Travel: = Recently I did a bit of traveling -- first 4 days in Moscow as part of the Economic Promotion delegation of the canton of Vaud where I live in Switzerland. It was very interesting, and I had the good luck to be able to visit the offices of AltLinux. They have created a backup release based on their Linux OS and Bacula which can be used as a backup appliance, and they have made some nice submissions to the project. that good life !! not need an assistant in travels? :-) Last week I visited Köln (Cologne in English I think) Germany where dassIT held an all day Bacula conference on the 23rd of September. It was very nice to meet and discuss with a large group of Bacula users (something like 55-60 people). Hopefully in the not so distant future we can organize more such Bacula conferences. WOL... I never thinks on a Bacula's Day !!! Because I thought that we were a small and dispersed community, but apparently I'm wrong !!! Yesterday Germany, today the world, tomorrow the infinity, and beyond! salu2 -- -- Victor Hugo dos Santos Linux Counter #224399 -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Two questions concerning Bacula (Off Course)
2009/9/7 Reynier Pérez Mira rper...@uci.cu: Julien Cigar wrote: http://wiki.bacula.org/doku.php?id=application_specific_backups:oracle_rdbms This describe the process when both applications Oracle DB and Bacula are in the same system (server as far as I understood) but I have this separated: Bacula is running on Ubuntu Server 9.04 and Oracle 10g R2 is running on RH AS 4.6 as I said before. So what's the best approach to follow here? review this link: http://wiki.bacula.org/doku.php?id=application_specific_backups:oracle bye and comment your resulteds. -- -- Victor Hugo dos Santos Linux Counter #224399 -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] file data encryption
On Thu, Jul 23, 2009 at 12:43 PM, Jean-Philippe Farcyjfa...@sigma.fr wrote: Hello, first excuse my English, I'm french. I'm new on the mailing list, and i have a question. My config: bacula server: Debian Lenny / bacula 2.4.3 bacula client: Red Hat Enterprise Linux Server release 5.3 / bacula 2.4.4 I have several file system backuped and everything work fine. I try file data encryption and everything work fine. Today I want to backup 5 file system without encryption and a file system with encryption. Is this possible ? yes.. is possible.. basically, bacula consider all files type as files !! :D I want to make 2 FileSet on the server and 2 bacula-fd listenning on 2 differents ports on the client. Is this a good solution ? noo.. you only need specific the directory or path of files (with or without encryptation) in FileSet resources http://www.bacula.org/manuals/en/install/install/Configuring_Director.html#SECTION0067 for example: Include { File = /folder/with/encrypted/files File = /other/folder/without/encrypted/files Options { compression=GZIP } } bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FileSets
On Fri, Jul 24, 2009 at 10:50 AM, João Kuchnierjoao.kuchn...@gmail.com wrote: Hi everyone! I'm having some difficulties while configuring some filesets. Here is one example: FileSet { Name = web01-fs Include { Options { signature = MD5 compression = GZIP } File = /etc/bacula/ File = /etc/apache2/ File = /etc/network/interfaces File = /etc/hosts File = /etc/hostname File = /home/intranet/Intranet/ File = /opt/proxyadmin/ } } Note that interfaces, hosts and hostname are single files, but they are no included in my Backups. With the folders included, everything is fine, but I need to backup that files too. Can anyone help me? you receive any error when you run this job ?? what version of bacula you are running ?? this is all FileSet resource ?? is the same that you use actualy on bacula dir ?? bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Compression
On Fri, Jul 17, 2009 at 6:53 PM, John Drescherdresche...@gmail.com wrote: On Fri, Jul 17, 2009 at 5:59 PM, Simone S. Santiagosim...@magistrainfo.com.br wrote: Hey co-workers, I wonder if it is possible improve the Bacula compression? I am using compression = GZIP but sometimes it compress only 15% of all volume. Note: My backup is FILE Type. Try: compression=GZIP9 http://www.bacula.org/en/rel-manual/Configuring_Director.html#SECTION00147 Note that this will take much longer to compress however. .. GZIP9 no represent exactly best compression method.. I send one or two mail to list, about this theme and I ran various tests with distinct values to GZIP and basically this are the results: Reporte de hoy (con GZIP=5 y 140GB) Scheduled time: 17-Mar-2009 04:30:00 Start time: 17-Mar-2009 04:51:20 End time: 17-Mar-2009 05:44:24 Elapsed time: 53 mins 4 secs FD Bytes Written: 18,119,898,810 (18.11 GB) SD Bytes Written: 18,119,923,547 (18.11 GB) Rate: 5690.9 KB/s Software Compression: 87.9 % Reporte de ayer (con GZIP=6 y 140GB) Scheduled time: 16-Mar-2009 04:30:00 Start time: 16-Mar-2009 04:35:28 End time: 16-Mar-2009 05:55:55 Elapsed time: 1 hour 20 mins 27 secs FD Bytes Written: 17,570,761,480 (17.57 GB) SD Bytes Written: 17,570,786,217 (17.57 GB) Rate: 3640.1 KB/s Software Compression: 88.2 % Reporte del domingo pasado (con GZIP=9 y 145GB) Scheduled time: 08-Mar-2009 04:30:00 Start time: 08-Mar-2009 04:30:27 End time: 08-Mar-2009 08:34:00 Elapsed time: 4 hours 3 mins 33 secs Priority: 10 FD Bytes Written: 18,452,613,999 (18.45 GB) SD Bytes Written: 18,458,242,303 (18.45 GB) Rate: 1262.8 KB/s Software Compression: 88.1 % well.. as you can see, for me, the GZIP=6 (default) is the bester method...because is more faster and compress better that GZIP9. bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Compression
On Sun, Jul 19, 2009 at 5:46 AM, Gavin McCullaghgavin.mccull...@gcd.ie wrote: Hi, [...] Another useful feature might be a wildcard excludefromcompression directive so you could say: excludefromcompression { pattern = *.zip pattern = *.gz pattern = *.mp3 pattern = *.mpeg pattern = *.flv } this is a very good recommendation.. I think that this options for exclude zip, gz, mp3 and other compressed files should be for default in bacula configuration. or not ?? salu2 -- -- Victor Hugo dos Santos Linux Counter #224399 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Compression
On Mon, Jul 20, 2009 at 10:57 AM, John Drescherdresche...@gmail.com wrote: On Mon, Jul 20, 2009 at 10:37 AM, Victor Hugo dos Santoslistas@gmail.com wrote: [...] You are not using the same exact dataset (145GB versus 140GB source data ) in both tests so its meaningless that GZIP6 is better than GZIP9. yes.. one report is a little more big that other, but are the same files in distinct dates and only 5GB of extra data !!! IMHO, serves of base of comparative. In the compression rate (point more important) of this 3 reports, the difference between GZIP6 and GZIP9 is of 0.1% but elapsed time is extremely distinct. bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup size is bigger that sum of size of files
On Wed, Jul 8, 2009 at 12:26 PM, Martin Simmonsmar...@lispworks.com wrote: On Mon, 6 Jul 2009 09:42:37 -0400, Victor Hugo dos Santos said: hello, [...] Maybe you have some sparse files? You could check this by looking for large files using something like this: sudo find /home /etc /root /var/log/squid3 /var/log/dansguardian /var/spool/cron -xdev -size +200 -ls no. :-( vic...@proxy1:~$ sudo find /home /etc /root /var/log/squid3 /var/log/dansguardian /var/spool/cron -xdev -size +200 -ls vic...@proxy1:~$ sudo find /home /etc /root /var/log/squid3 /var/log/dansguardian /var/spool/cron -xdev -size +20 -ls 4014246 117028 -rw-r- 1 proxywinbindd_priv 119711685 Jul 5 06:57 /var/log/squid3/store-auth.log.1 You could also do this in bconsole to see which files are in the Incremental backup and check their sizes: list files jobid=13246 mmm.. before of send my mail. I ran this commando to check files included on backup, but not show problem or extra files for this job. +++-+--+---+--+---+---+ | jobid | name | starttime | type | level | jobfiles | jobbytes | jobstatus | +++-+--+---+--+---+---+ | 13,246 | proxy2 | 2009-07-06 00:19:57 | B| I | 431 | 6,296,577,452 | T | +++-+--+---+--+---+---+ I assume one of those files is sparse. other idea ? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup size is bigger that sum of size of files
hello, today I receive a strange report from bacula (about my two proxys servers), see: = yesterday JobId: 13223 Job:proxy2.2009-07-05_00.05.41 Backup Level: Full FileSet:Linux-Proxy 2008-02-29 00:05:14 Scheduled time: 05-Jul-2009 00:05:00 Start time: 05-Jul-2009 03:40:54 End time: 05-Jul-2009 03:57:52 Elapsed time: 16 mins 58 secs FD Files Written: 2,275 SD Files Written: 2,275 FD Bytes Written: 6,381,070,677 (6.381 GB) SD Bytes Written: 6,381,342,582 (6.381 GB) === today == JobId: 13246 Job:proxy2.2009-07-06_00.05.40 Backup Level: Incremental, since=2009-07-05 03:40:54 FileSet:Linux-Proxy 2008-02-29 00:05:14 Scheduled time: 06-Jul-2009 00:05:00 Start time: 06-Jul-2009 00:19:57 End time: 06-Jul-2009 00:35:26 Elapsed time: 15 mins 29 secs FD Files Written: 431 SD Files Written: 431 FD Bytes Written: 6,296,577,452 (6.296 GB) SD Bytes Written: 6,296,630,147 (6.296 GB) = now.. my FileSet: = FileSet { Name = Linux-Proxy Include { Options { signature = SHA1; compression=GZIP5 } File = /home File = /etc File = /root File = /var/log/squid3 File = /var/log/dansguardian File = /var/spool/cron } } = and finally the size of my folders. = $ sudo du --max-depth=0 -h /home/ /etc/ /root/ /var/log/squid3/ /var/log/dansguardian/ /var/spool/cron/ -c 67M/home/ 156M /etc/ 36K/root/ 2.5G /var/log/squid3/ 43M /var/log/dansguardian/ 20K /var/spool/cron/ 2.8G total = can you view the problem ??.. my file system only have 2.8GB, but my backup have a a size that 6 GB. any idea ?? bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Feature request: relative rentention times
On Tue, Apr 7, 2009 at 4:21 AM, Kevin Keane subscript...@kkeane.com wrote: [...] Notes: This feature may only makes sense for jobs and files, maybe not for volumes. I haven't fully thought through the implications yet. The interaction between Keep Copies and Volume Retention needs to be defined. A possible alternate implementation might be to have a relative retention time instead of the number of copies: keep a backup until two days after the next full backup. I believe that Keep Copies is better, though, because the relative retention time mechanism would not allow for an easy mechanism to specify that you want to keep several full backups before expiring the oldest one. well, yesterday I was thinking about this theme and the idea is great. but, exist a problem, for example: imagine if I have a backup retention period of 6 months (for full backup for example) and I setup director to run 1 full backup on month (in six months I have 6 backup): - if for any motive I run a manual full backup and I have configured Keep Copies in 6. so, the director mark the first backup as purged/pruned. and now, I have 2 full backups of this months and 5 full backups of last 5 months - If I run a 4 manual backups in the same day. Now I have 4 full backup of the same day and 2 full backups (one of this month and other of 2 moths ago). and if I need restore a job/file of 3 o more moths ago ?? understand ? salu2 -- -- Victor Hugo dos Santos Linux Counter #224399 -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] don't compress files only in my PC [was: Re: bacula not use all bandwidth of network]
On Sat, Apr 4, 2009 at 6:47 AM, Mordechai T. Abzug mo...@frakir.org wrote: On Fri, Apr 03, 2009 at 09:38:13AM -0400, Victor Hugo dos Santos wrote: would be necessary have unencrypted files in my machine and after of backup, compress the files in the server. or, compress the files in my machine before backup in my encrypted folder, but in this case I have the double information (data and encrypted data) in my hard drive. mmm.. I don't think it good idea !! others alternatives ??? What are you using to do encryption on your system? Some of the apps in this space support compression as well. PGP does, IIRC. encfs http://www.arg0.net/encfs thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] don't compress files only in my PC [was: Re: bacula not use all bandwidth of network]
On Thu, Apr 2, 2009 at 8:30 PM, mo...@frakir.org wrote: On Thu, Apr 02, 2009 at 06:11:16PM -0400, Victor Hugo dos Santos wrote: is true that bacula don't compress encrypted files or data ?? and in positive case, why ??? Compression works by reducing redundancy in low-entropy data (e.g. eliminating patterns in data with patterns.) Good encryption schemes produce output that is nearly indistinguishable from random, high entropy data (e.g. removes any obvious patterns.) So the output of good encryption is mathematically uncompressable. This is related to the reason why you can't compress data that has already been compressed. I didn't know this. but, now (with your explication) is very comprehensible !! :D and a bit test: == $ ls -l 6zW0Zf4XPFhvoPTzgb1pWdjxHE0EnPldK65* 430806 2009-04-03 09:21 6zW0Zf4XPFhvoPTzgb1pWdjxHE0EnPldK65 $ gzip -9 6zW0Zf4XPFhvoPTzgb1pWdjxHE0EnPldK65 $ ls -l 6zW0Zf4XPFhvoPTzgb1pWdjxHE0EnPldK65* 430930 2009-04-03 09:21 6zW0Zf4XPFhvoPTzgb1pWdjxHE0EnPldK65.gz == LOL... the final file is a little bigger that original !! :-( Note that you *can* go the other way, i.e. you can encrypt compressed data. Encryption doesn't care whether the input is low entropy or high entropy. mmm..mmm.. and mmm.. would be necessary have unencrypted files in my machine and after of backup, compress the files in the server. or, compress the files in my machine before backup in my encrypted folder, but in this case I have the double information (data and encrypted data) in my hard drive. mmm.. I don't think it good idea !! others alternatives ??? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] don't compress files only in my PC [was: Re: bacula not use all bandwidth of network]
On Fri, Mar 13, 2009 at 4:46 PM, Victor Hugo dos Santos listas@gmail.com wrote: On Fri, Mar 13, 2009 at 5:34 PM, Victor Hugo dos Santos listas@gmail.com wrote: On Thu, Mar 12, 2009 at 10:22 AM, Thomas Glatthor thomas.glatt...@ic3s.de wrote: [...] Software Compression: 88.1 % have you ever tried without compression? well.. is true.. when I configure jobs to use compression, the time is very superior and rate (rate=time / MB, I belive) is slow. :-( before, I had configured GZIP option as 9 and: time 03:55:40 compression 88.7 % rate 1193.9 KB/s after I configure GZIP option as 7, and: time 01:28:18 compression 87.9 % rate 3531.5 KB/s unhappily, I can't configure GZIP with lower value... because I use HD in storages and space is very, very precious. one other question: I was looking, why my machine have a best rate/speed of all clients.. and this is the answer: Rate: 8391.2 KB/s Software Compression: None but.. I have configured my PC like all other clients.. how I can check why bacula don't compress data of my PC ?? some debug option ?? thanks again :D well.. I update all bacula software (clients and servers) in my network.. now, all have the same version.. but my problem persist. I create a other FileSet in director that contain only the /etc folder and running a backup of my machine, changed only fileset option to backup /etc folder.. work fine the compresion now.. I was reading backup.c, bfile.c, attribs.c files and apparently not is possible compress encrypted data (Obs.: I'm not a programmer/developer !!!) and in my system (/home/ partition), I use encfs to encrypt files !!! :-( is true that bacula don't compress encrypted files or data ?? and in positive case, why ??? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] don't compress files only in my PC [was: Re: bacula not use all bandwidth of network]
On Fri, Mar 13, 2009 at 5:13 PM, John Drescher dresche...@gmail.com wrote: On Fri, Mar 13, 2009 at 4:46 PM, Victor Hugo dos Santos [...] Did you install the same bacula version? mmm.. I have clients with distinct versions: 1.38.11 = 10% (debian 4.0) 2.2.8 = 20% (RHEL 4 and windows) 2.4.2 = 70% (ubuntu 8.10 ) 2.4.4 = My machine with ubuntu 9.04 from 25/02/2009. director is 2.2.8 version. and all clients use compression, except on my machine. but, this problem is very old .. because in director logs, I see that from December haven't used compression in my machine !! :-( JobId: 7379 Client: vhs-fd 2.2.8 (26Jan08) i486-pc-linux-gnu,debian,lenny/sid Start time: 23-Dec-2008 00:05:04 Software Compression: 62.4 % JobId: 7401 Client: vhs-fd 2.2.8 (26Jan08) i486-pc-linux-gnu,debian,lenny/sid Start time: 24-Dec-2008 00:05:02 Software Compression: 59.6 % JobId: 7423 Client: vhs-fd 2.2.8 (26Jan08) i486-pc-linux-gnu,debian,lenny/sid Start time: 25-Dec-2008 00:05:02 Software Compression: None JobId: 7445 Client: vhs-fd 2.2.8 (26Jan08) i486-pc-linux-gnu,debian,lenny/sid Start time: 26-Dec-2008 00:05:02 Software Compression: None any idea ??? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula not use all bandwidth of network
On Thu, Mar 12, 2009 at 10:22 AM, Thomas Glatthor thomas.glatt...@ic3s.de wrote: [...] Software Compression: 88.1 % have you ever tried without compression? well.. is true.. when I configure jobs to use compression, the time is very superior and rate (rate=time / MB, I belive) is slow. :-( before, I had configured GZIP option as 9 and: time 03:55:40 compression 88.7 % rate 1193.9 KB/s after I configure GZIP option as 7, and: time 01:28:18 compression 87.9 % rate 3531.5 KB/s unhappily, I can't configure GZIP with lower value... because I use HD in storages and space is very, very precious. thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] don't compress files only in my PC [was: Re: bacula not use all bandwidth of network]
On Fri, Mar 13, 2009 at 5:34 PM, Victor Hugo dos Santos listas@gmail.com wrote: On Thu, Mar 12, 2009 at 10:22 AM, Thomas Glatthor thomas.glatt...@ic3s.de wrote: [...] Software Compression: 88.1 % have you ever tried without compression? well.. is true.. when I configure jobs to use compression, the time is very superior and rate (rate=time / MB, I belive) is slow. :-( before, I had configured GZIP option as 9 and: time 03:55:40 compression 88.7 % rate 1193.9 KB/s after I configure GZIP option as 7, and: time 01:28:18 compression 87.9 % rate 3531.5 KB/s unhappily, I can't configure GZIP with lower value... because I use HD in storages and space is very, very precious. one other question: I was looking, why my machine have a best rate/speed of all clients.. and this is the answer: Rate: 8391.2 KB/s Software Compression: None but.. I have configured my PC like all other clients.. how I can check why bacula don't compress data of my PC ?? some debug option ?? thanks again :D -- -- Victor Hugo dos Santos Linux Counter #224399 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula not use all bandwidth of network
On Wed, Mar 11, 2009 at 6:37 PM, John Drescher dresche...@gmail.com wrote: On Wed, Mar 11, 2009 at 5:01 PM, Victor Hugo dos Santos listas@gmail.com wrote: [...] This is expected for incremental backups because the hard drive spends most of the time thrashing finding the files to backup. However in most cases even with the low data rate this is much faster than running a full backup with a much higher backup rate. the same problem in FULL backup.. look: = Build OS: i486-pc-linux-gnu debian lenny/sid JobId: 9610 Job:red-oracle.2009-03-08_04.30.02 Backup Level: Full Client: red-fd 2.4.2 (26Jul08) x86_64-redhat-linux-gnu,redhat, FileSet:Linux-Oracle-HOTBACKUP 2009-02-18 04:30:00 Pool: Oradata-Quincenal-Completo (From Job FullPool override) Storage:Storage0 (From Job resource) Scheduled time: 08-Mar-2009 04:30:00 Start time: 08-Mar-2009 04:30:27 End time: 08-Mar-2009 08:34:00 Elapsed time: 4 hours 3 mins 33 secs Priority: 10 FD Files Written: 35,952 SD Files Written: 35,952 FD Bytes Written: 18,452,613,999 (18.45 GB) SD Bytes Written: 18,458,242,303 (18.45 GB) Rate: 1262.8 KB/s Software Compression: 88.1 % VSS:no Storage Encryption: no Volume name(s): Oradata-Quincenal-0700 Volume Session Id: 745 Volume Session Time:1231525788 Last Volume Bytes: 18,498,014,998 (18.49 GB) Non-fatal FD errors:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK = thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula not use all bandwidth of network
On Wed, Mar 11, 2009 at 6:31 PM, Dan Langille d...@langille.org wrote: Victor Hugo dos Santos wrote: Hello, I have this network topology: - ~ 40 servers/clients - 1 director - 2 storages - all servers connect in Gigabits switches and GB network cards too. :-) - all baculas (director and sotrages) and all linux servers connect with 2 network card in bonding mode 6 well.. my problem is that jobs, don't exceed more that 1500 KB/s !!! :-( this is a report, with 20 faster jobs of today. 9.2 KB/s 10.6 KB/s 16.2 KB/s 53.9 KB/s 72.2 KB/s 98.2 KB/s 311.3 KB/s 380.5 KB/s 521.6 KB/s 720.1 KB/s 805.8 KB/s 1044.6 KB/s 1188.1 KB/s 1325.9 KB/s 1381.5 KB/s 1409.5 KB/s 1419.9 KB/s 1446.9 KB/s 1462.8 KB/s 8597.6 KB/s ridiculously, the last job in the list (the fastest).. is my own machine.. a PC connected in 100MB switch !!! :-( testing performance between clients and bacula servers (with rsync, scp, nc) ... the worst result is 40 MB/s Bacula does much more than what rsync etc do. Bacula also updates the Catalog database, for example. That is the usual bottleneck. I have jobs with unless 25 files and 200MB, running alone (no parallel jobs in director and storage). this should not a bottleneck to catalog !! :-( ideas ?? commentaries ?? Note: I believe that the bandwidth you are looking at is 'data transfered' / 'time for job'. The time for a job is longer than that taken to transfer the data. Thus, the bandwidth used will ALWAYS be less than the practical maxiumu. I'm looking information in logs of executed jobs: == Build OS: i486-pc-linux-gnu debian lenny/sid JobId: 9727 Job:Respaldar_BDCatalogo.2009-03-12_00.10.17 Backup Level: Full Client: bacula-fd 2.2.8 (26Jan08) i486-pc-linux-gnu,debian,lenny/sid FileSet:MyCatalog 2007-09-28 17:10:40 Pool: Default (From Job resource) Storage:Storage1 (From Job resource) Scheduled time: 12-Mar-2009 00:10:00 Start time: 12-Mar-2009 00:56:59 End time: 12-Mar-2009 00:58:04 Elapsed time: 1 min 5 secs Priority: 15 FD Files Written: 1 SD Files Written: 1 FD Bytes Written: 95,091,659 (95.09 MB) SD Bytes Written: 95,091,772 (95.09 MB) Rate: 1462.9 KB/s Software Compression: 63.4 % == this is a output of full catalog backup from director in one machine and storage in other machine. 1 file - 1 jobs running - 100 MB - no more access/services in both servers - and 1462 KBs of bandwidth. :-( thanks of any other idea. -- -- Victor Hugo dos Santos Linux Counter #224399 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula not use all bandwidth of network
Hello, I have this network topology: - ~ 40 servers/clients - 1 director - 2 storages - all servers connect in Gigabits switches and GB network cards too. :-) - all baculas (director and sotrages) and all linux servers connect with 2 network card in bonding mode 6 well.. my problem is that jobs, don't exceed more that 1500 KB/s !!! :-( this is a report, with 20 faster jobs of today. 9.2 KB/s 10.6 KB/s 16.2 KB/s 53.9 KB/s 72.2 KB/s 98.2 KB/s 311.3 KB/s 380.5 KB/s 521.6 KB/s 720.1 KB/s 805.8 KB/s 1044.6 KB/s 1188.1 KB/s 1325.9 KB/s 1381.5 KB/s 1409.5 KB/s 1419.9 KB/s 1446.9 KB/s 1462.8 KB/s 8597.6 KB/s ridiculously, the last job in the list (the fastest).. is my own machine.. a PC connected in 100MB switch !!! :-( testing performance between clients and bacula servers (with rsync, scp, nc) ... the worst result is 40 MB/s ideas ?? commentaries ?? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Howto Backup Oracle with Bacula
On Sat, Feb 28, 2009 at 7:03 AM, Mike Holden bac...@mikeholden.org wrote: Victor Hugo dos Santos wrote: In production environment downtimes of DB isn't allowed, for around this problem, we will need: 1 - Configure Oracle DB in backup mode 2 - Create a Snapshot from files 3 - Run a backup from files with bacula 4 - Configure Oracle DB in backup mode off. 5 - Destroy the Snapshot You need to swap items 3 and 4 if you use a snapshot. You need to aim to keep the database in backup mode for as short a time as possible, as performance is impacted during that time. Yes... my brain thought this... but, my hands works different !! :D thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Howto Backup Oracle with Bacula
On Sat, Feb 28, 2009 at 5:05 AM, Ulrich Leodolter ulrich.leodol...@obvsg.at wrote: Hello, optionally use strippath=2 for snapshot fileset it's easier to restore to original location. cool... I don't know strippath directive of director... and I needed to strip the path manually in moment of restore. File = /mnt/snap/var/oradata File = /mnt/snap/opt/oraappl # why this ? File = /usr/local/bin/ others binaries files from oracle installation. thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Howto Backup Oracle with Bacula
On Sat, Feb 28, 2009 at 3:58 PM, David Ballester ballester.da...@gmail.com wrote: El vie, 27-02-2009 a las 16:50 -0300, Victor Hugo dos Santos escribió: the principle of idea: In production environment downtimes of DB isn't allowed, for around this problem, we will need: 1 - Configure Oracle DB in backup mode 2 - Create a Snapshot from files 3 - Run a backup from files with bacula 4 - Configure Oracle DB in backup mode off. 5 - Destroy the Snapshot Hi Hugo: Hello David, how are you ?? Use rman and backup with bacula the resulting backupset. This procedures had been discussed here before. rman is much secure, feature enabled, quick and less invasive than the 'copy' datafiles. Take a look in the mail archives or google for 'bacula oracle backup' I think that LVM is a valid alternative !!! because, is with running a cold-backup and is more fast and less complicate that rman. but.. this is my humid opinion... I don't know rman very, very well. Best regards idem. bye -- -- Victor Hugo dos Santos Linux Counter #224399 -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] purge/prune files in all storages
Hello, I have a system with 1 director, two storage (both use hard disks) and much clients !!! :-) I have enable auto purge and auto prune for volumes and jobs, but my problem is with volumes, because : 1 - bacula create a job and one volume called volume-1 in storage1 2 - bacula create a job and one volume called volume-2 in storage1 3 - bacula create a job and one volume called volume-3 in storage2 [...] now I have, this volumes/files: volume-1, volume-2 in storage1 volume-3 in storage2 about a time (six months).. the system begin a recycled volumes process, and this is the problem. 1 - bacula create a job and recycle volume-3 in storage1 and use volume-3 in storage1, but don't reuse this volume, because not is in storage1 and create a new file 2 - bacula create a job and recycle volume-2 in storage1 and use volume-2 in storage1.. OK, this volume is recycled 3 - bacula create a job and recycle volume-1 in storage2 and use volume-1 in storage2, but don't reuse this volume, because not is in storage2 and create a new file terminate the process, I have: volume-1, volume-2, volume-3 in storage1 volume-3, volume-1, in storage2 and I expected this resulted: volume-3, volume-2 in storage1 volume-1 in storage2 In other words.. How to I can purge recycles files/volumes from all storages ?? thanks -- -- Victor Hugo dos Santos Linux Counter #224399 -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users