[Bacula-users] bacula on centos with different filesystems, recovery
Hello, I've got a centos5 box that needs to be fully backed up because it's going to be reinstalled with raid. I don't want to loose any data. I set up a backup job that backed up / and /boot do i need to do anymore? The job completed successfully, but i'm getting in the email output: wserv-fd: /sys is a different filesystem. Will not descend from / into /sys wserv-fd: /dev is a different filesystem. Will not descend from / into /dev Do i need either of these filesystems if i'm going to be recreating the system then installing from backup? Thanks. Dave. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup-Proxy-Solution needed
Hi, we'd like to use Bacula as our one and only backup solution. But we have a problem with all home-office-installations. They normaly work with an asynchron DSL connection. It would take days to backup to our normal backup server in the internet. And normaly they only have a couple of hours during the night. Having a bright moment I thought: hmmm... why don't we install some sort of proxy at the home offices? People could backup their stuff to the proxy and the proxy syncs with the central server. Time wouldn't be such a big issue (even if it takes a couple of days to sync). Has anybody a solution for that problem? Stefan -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.de Geschäftsführer: Stefan Wintermeyer Handelsregister: Neuwied B 14998 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] tls and pki on windows
Hello Dave, Please always copy the list -- thanks. On Sunday 27 May 2007 23:44, Dave wrote: Hi Kern, How much feedback have you got with both tls and pki on windows systems? Yes, some. To the best of my knowledge the comm encryption (tls) is working fine. However, there is an open bug report #807 on the data encryption (pki) on Windows systems, which I have not been able to duplicate -- any additional testing by other people would be welcome. I'm about to try it, i've got both of those working on FreeBSD, i'm about to add a linux client, and two windows machines, with a third bsd box in the future. I was wondering if you needed feedback or questions answered i could provide it if you had any? Well, the more people who try it, the better. Aside from resolving the above bug, my biggest concern with the data encryption code is that the documentation is not as complete as some users would like -- it is fine for those who understand encryption, certificates, and all that, but it is not sufficiently detailed for novices. Any contributions to improve the manual would be appreciated. The questions that seem to come up the most often involve how to configure the other daemons (I think I example shows only one), and how to generate, deploy, and use a master key. I did notice a difference between data encryption on and off a performance hit and posted it. If you think i can provide any useful information let me know. Of course, there is a performance hit. Encryption is *extremely* compute intensive. There is not much we can do about that, since I see nothing terribly inefficient in the code. Best regards, Kern Thanks. Dave. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup-Proxy-Solution needed
On 2007.05.28. 10:55, Stefan Wintermeyer wrote: Hi, we'd like to use Bacula as our one and only backup solution. But we have a problem with all home-office-installations. They normaly work with an asynchron DSL connection. It would take days to backup to our normal backup server in the internet. And normaly they only have a couple of hours during the night. Having a bright moment I thought: hmmm... why don't we install some sort of proxy at the home offices? People could backup their stuff to the proxy and the proxy syncs with the central server. Time wouldn't be such a big issue (even if it takes a couple of days to sync). well, maybe clustered bacula servers might be helpful here, if those ever get implemented ;) currently your best bet probably is to use rsync at some point, which would work nicely for syncing. Has anybody a solution for that problem? Stefan ... -- Rich - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] voting (feature request : clustered server)
On 2007.05.25. 23:13, Arno Lehmann wrote: ... as for the method, what about using a wiki page for feature requests ? that way permanent links to versions could be used for voting results, but head could be used to add new ones, fix typos and so on. Yeah... well... difficult question. If you know a wiki system where you can do votes the way we always did them (or have good arguments for changing the voting process), I'm very open for suggestions :-) i was unable to subscribe to sourceforge lists for some time, but if i understand correctly, voting is done by sending a mail to voting address, right ? i would guess then a script calculates all the votes, and the result is put up on the webpage. making the result go in wiki (which would allow for easy updating), then refer to particular revision for voting, and just put up results in either a separate, or the same wiki page - that probably would not change current voting process much. all other suggested possibilities indeed seem to be a bit of an overkill to me (unless any of them gets implemented for other reasons, like bugzilla or something). ... -- Rich - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] voting
Hi, and thanks for changing the subject line :-) On 5/28/2007 10:54 AM, Rich wrote: On 2007.05.25. 23:13, Arno Lehmann wrote: ... as for the method, what about using a wiki page for feature requests ? that way permanent links to versions could be used for voting results, but head could be used to add new ones, fix typos and so on. Yeah... well... difficult question. If you know a wiki system where you can do votes the way we always did them (or have good arguments for changing the voting process), I'm very open for suggestions :-) i was unable to subscribe to sourceforge lists for some time, but if i understand correctly, voting is done by sending a mail to voting address, right ? Yes, that's how we did it. i would guess then a script calculates all the votes, and the result is put up on the webpage. Not exactly... somone (up until the last time, Kern counted) counts the votes, and the results are then manually posted to the web page. As voting takes lace only about nce a yaer, that was reasonable. making the result go in wiki (which would allow for easy updating), then refer to particular revision for voting, and just put up results in either a separate, or the same wiki page - that probably would not change current voting process much. Well, as you see, it would :-) all other suggested possibilities indeed seem to be a bit of an overkill to me (unless any of them gets implemented for other reasons, like bugzilla or something). ... To clarify things a bit: Currently, I only plan to manage the feature requests and the voting process. For that purpose, I'm looking for a solution to collect and present feature requests, preferrably in the format they are in now (i.e. Description, detailed notes, status and people working on it). The voting functionality should be included, so that, for each voting period, any (registered) user can vote for a number of features, can assign weights to the votes, and the solution adds the votes up correctly. I'm not too eager to install a complete CMS plus add-ons, or bugzilla, or something similarly oversized. As of now, I don't see an out-of-the box solution, and I think that creating a tailored voting solution would not be unrealistic, but I'm still open for suggestions. Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] restoring a database
Hi, On 5/28/2007 4:10 AM, Maria McKinley wrote: Arno Lehmann wrote: Hi, On 5/25/2007 3:41 AM, Maria McKinley wrote: Hi there, I had some problems with my server, and had to move bacula to a different machine. I have complete access to bacula on the old machine, and moved the database and the config files. I changed the config files so that I'm using the new file server hostname, but other than that they are the same. I have the old database in my home directory. Wait a moment... I'm not sure about the catalog. When Bacula runs, does it use a catalog populated with the data from the old server? If it doesn't, you should import the catalg data into the database. (Having the database (which one? MySQL, PosthreSQL, SQLite... hopefully as a full dump!) in your homedirectory usually doesn't help much.) If it does, you can simply look up the JobId for the jobs you need to restore using either the restore command, the different queries, or even the job reports. I then started to run the job RestoreFiles, but it asked for a JobId, and I wasn't sure what to use for this. Does it matter? Absolutely. The JobId tells Bacula whch Job you want to restore. I didn't see any reference to this in the manual. Hmm... I think you should reread the Restore chapter and perhaps the system outline :-) A Job is defined as a certain set of files from a certain client, plus some options. Whenever Bacula runs a job, it saves the data specified like this. Such a job instance gets a unique JobId. So, for a complete restore of a job, you need the job Ids of the latest full, the latest differential backup after that full one, and any incremental backups after that. This list of JobIds is then fed to the restore process. Much of the selection can be done more or less user-friendly with the initial queries of the restore command. Anyway, unless I somehow misunderstood you, I'd need some more details regarding your problem - most important: is the catalog database populated and shows all your existing backups, volumes, etc., and what exactly do you want to restore? Arno Thanks Arno, I see I am not being clear. What I really want to know is how I get the new bacula on the new machine to load the old database from the old machine. Can I just put the old database where the new one now is, or is there some way to import a database? Ok, I now understand, I think... The simplest way is when you will use the same catalog backend database. In that case, create a complete dup of the catalog, and load that into your new, unpopulated catalog. With MySQl, this is done using mysqldump and mysql, SQLite should allow you to copy the database files directly, and I'd have to look up how you best do it with PostgreSQL. After the catalg database is populated, simply point your new Bacula installation to it. Changing from one database to the other would probabaly need some sed/awk to remove database-specific statements from the catalog dump. Which database do you run? Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] N00b question: how to do a one-off backup?
Petcher, Daniel [EMAIL PROTECTED] wrote: Best Practices questions: -How do I add a backup job that I intend never to run again? I don't know if I would call it a best practice, but I have a handful of manual archiving jobs defined that all use the following schedule resource: Schedule { Name = Manual # Run = Level=Full Pool=Default sunday at 10:05 } Don't know if the commented-out Run... line can be safely removed or not, but I'm including it here since it was in my running bacula-dir.conf file. I also don't know if simply omitting the schedule definition line from the job definition will have the same result, but I think that it helps make my job configs more readable by saying that it is a Manual schedule. (This will also work for jobs kicked off via bconsole script input instead of the Bacula scheduler, FWIW.) -How do I clean-up the database after this job is safely ensconsed on tape(s)? You could set a one-day retention period for this job, but my $0.02 is to leave it in the catalog and keep the bootstrap file around just in case you need to restore from it. Also, since Catalog is defined per-client in the config file, you could make a second catalog for this job so that it doesn't pollute your default one with archived entries. Hope this helps. -Arthur - Arthur Emerson III Email: [EMAIL PROTECTED] Network Administrator InterNIC: AE81 Mount Saint Mary College MaBell: (845) 561-0800 Ext. 3109 330 Powell Ave.Fax:(845) 562-6762 Newburgh, NY 12550SneakerNet: Aquinas Hall Room 6 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula contributed rpms, differences?
Dave schrieb: I was on the bacula sourceforge site looking for rhel5 rpms for CentOS5. I found several rpm areas all for 2.03 but with different contributors. I was wondering what the difference was between the various rpms? All RPMs listed on Sourceforge are built from the same source (SRPM made by Scott). No Bacula developer has all platforms available to create all RPMs. Therefore the work is distributed among a small group. I'm doing the builds for el{4,5} {i386, x86_64} and fc{5,6} {i386, x86_64} which can be found in the section rpms-contrib-fschwarz. fs - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Using bwebb for only look at statistic?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Can I in some way configured bweb to allow only user to look at the statistic, but not changing anything? If so how do I do? - -- Regards Jon Ingason -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGWuV7Wn396VE8BCsRApUBAJ9RBCKHU3uIfGm1lU/ocLRsw/hqOwCeKD3F nsILa2KAJZzjKUgA7Pe1qCk= =AFIu -END PGP SIGNATURE- - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Only restore files contained in an incremental backup ?
Hello, Is there anyway to only restore content of an incremental backup, without restoring the whole full backup before? Thanks in advance. -- Adam CECILELinbox / FreeALter Soft 152 rue de Grigy tél: +33 3 87 50 87 95 Technopôle Metz 2000 fax: +33 3 87 75 19 26 57070 METZ - Francehttp://www.linbox.com - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula daemon msg
Hello, I got this msg this morning from bacula. Any suggestions? 28-May 04:22 zeus-dir: Error: bnet.c:412 Wrote 4 bytes to client:192.168.0.2:36131, but only 0 accepted. That box is a windows box, running tls comm encryption. I can perform a status client on it and see it so this is not a firewall issue. Thanks. Dave. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula contributed rpms, differences?
Dave schrieb: Thanks for your reply and clarification. Do you compile encryption support in to your rpms? Yes. fs - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup of certain directory
Hi list, I have the following machine configuration: - one backup server which have bacula installed - two other servers. In one of these two server, I have the users homes. In each user home I elected I directory, which the user should create, named backup, that bacula have to backup. How to setup bacula to backup just each /home/username/backup directory? Thank you, Leandro. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup of certain directory
Leandro Melo de Sales wrote: Hi list, I have the following machine configuration: - one backup server which have bacula installed - two other servers. In one of these two server, I have the users homes. In each user home I elected I directory, which the user should create, named backup, that bacula have to backup. How to setup bacula to backup just each /home/username/backup directory? Thank you, Leandro. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users http://www.bacula.org/dev-manual/FileSet_Resource.html#FileSetResource will give you some clues... Easiest way is to use fileset only including backup directories...(using wilddir may help) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Freebsd 6.1: Bacula not using full tape capacity
Hi people. This is the third occasion that my Full Backup Failed. My tape is one: Storage Works 232 200GB SCSI, running FreeBSD 6.1-p16 with bacula 1.38.11, i have been working with bacula since this release. Now i begin to see this error: 28-May 04:30 bacula-dir: Start Backup JobId 1409, Job= MBXDBA-FD.2007-05-28_04.30.00 28-May 06:18 bacula-sd: End of Volume FullTape-0009 at 184:1 on device StorageWorks-232 (/dev/nsa0). Write of 64512 bytes got 0. 28-May 06:18 bacula-sd: End of medium on Volume FullTape-0009 Bytes=177,755,370,128 Blocks=2,755,390 at 28-May-2007 06:18. 28-May 06:19 bacula-dir: There are no Jobs associated with Volume FullTape-0010. Marking it purged. 28-May 06:19 bacula-dir: Recycled volume FullTape-0010 28-May 06:19 bacula-sd: Please mount Volume FullTape-0010 on Storage Device StorageWorks-232 (/dev/nsa0) for Job MBXDBA-FD.2007-05-28_04.30.00 28-May 06:19 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Warning: Director wanted Volume FullTape-0010 for device StorageWorks-232 (/dev/nsa0). Current Volume FullTape-0009 not acceptable because: 1998 Volume FullTape-0009 status is Full, but should be Append, Purged or Recycle. Looks like space problem, but it supposes that the tape is not full for me, because if i calculated the space i need using the command estimate, give me to amount of 180,275,927,975, this is my jobs results: 1,401 | FILTER | 2007-05-25 16:46:05 | B| F | 87,103 | 1,415,482,851 | T | | 1,402 | FIREWALL | 2007-05-25 19:20:22 | B| F |1,700 | 272,668,829 | T | | 1,403 | MAIL | 2007-05-25 21:30:05 | B| F | 151,057 | 29,034,129,727 | T | | 1,404 | MueblexBDC | 2007-05-27 22:00:06 | B| F | 141,734 | 18,089,681,566 | T | | 1,405 | MueblexPDC | 2007-05-28 00:01:06 | B| F | 24,056 | 8,594,101,527 | T | | 1,406 | MBXPDC | 2007-05-28 01:34:55 | B| F | 10,954 | 6,097,938,564| T | | 1,407 | MBXBDCB | 2007-05-28 02:00:05 | B| F | 161,371 | 46,060,754,851 | T | | 1,408 | ALTIGENMBX | 2007-05-28 04:00:06 | B| F | 27,907 | 996,862,493 | T | | 1,409 | MBXDBA-FD| 2007-05-28 04:30:05 | B| F | 73,128 | 66,939,362,451 | f | | 1,410 | BackupCatalog | 2007-05-28 08:10:12 | B| F |0 | 0 | A The jobID 1409 looks like he almost finish but: 28-May 08:06 bacula-sd: Please mount Volume FullTape-0009 on Storage Device StorageWorks-232 (/dev/nsa0) for Job MBXDBA-FD.2007-05-28_04.30.00 28-May 08:06 bacula-sd: Please mount Volume FullTape-0010 on Storage Device StorageWorks-232 (/dev/nsa0) for Job MBXDBA-FD.2007-05-28_04.30.00 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: Too many tries: Wrong Volume mounted on device StorageWorks-232 (/dev/nsa0): Wanted FullTape-0010 have FullTape-0009 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: append.c:207 Fatal append error on device StorageWorks-232 (/dev/nsa0): ERR=label.c:733 Expecting Volume Label, got FI=0 Stream= 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: askdir.c:291 NULL Volume name. This shouldn't happen!!! 28-May 08:11 MBXDBA-FD: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: backup.c:500 Network send error to SD. ERR=Broken pipe 28-May 08:07 bacula-dir: MBXDBA-FD.2007-05-28_04.30.00 Error: Bacula 1.38.11(28Jun06): 28-May-2007 08:07:31 JobId: 1409 Job:MBXDBA-FD.2007-05-28_04.30.00 Backup Level: Full Client: MBXDBA i686-redhat-linux-gnu,redhat, FileSet:MBXDBA-FS 2007-02-20 15:40:01 Pool: MueblexFullTape Storage:LTO-1 Scheduled time: 28-May-2007 04:30:00 Start time: 28-May-2007 04:30:05 End time: 28-May-2007 08:07:31 Elapsed time: 3 hours 37 mins 26 secs Priority: 15 FD Files Written: 73,128 SD Files Written: 73,128 FD Bytes Written: 66,939,362,451 (66.93 GB) SD Bytes Written: 66,949,907,557 (66.94 GB) Rate: 5131.0 KB/s Software Compression: None Volume name(s): FullTape-0009 Volume Session Id: 39 Volume Session Time:1179787421 Last Volume Bytes: 1 (1 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination:*** Backup Error *** This is bacula error or FreeBSD error? How can i test the amount of data that freebsd can write to my tape? Thanks all for your time!!! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ Bacula-users
[Bacula-users] Spooling setup not working
Hi, I am having trouble getting data spooling to work, is seems like the director is completely ignoring it because it does not say anything about it, failure or no. Below is what I believe to be the pertinent data on the system. The data is long but I think this is more efficient than trying to drag the info out of me one question at a time. I would appreciate any help I can get here if you can spot where I went wrong or drag any more info out of me. Thanks Doug Breshears. Example: With Tape in drive, a backup will write directly to tape, no data shows up in spool directory, no spool references show up in log. Example: w/o tape in drive the director says to please mount Volume ... and the backup waits until tape is inserted and mounted. Bacula Version: 1.39.30 Tape Device: DAT72 Spool Device: 500GB USB hard drive (mount point /backup) Spool Directory: /backup/cache Spool Directory attribs: drwxrwxr-x 2 bacula root 4096 2007-05-25 17:38 /backup/cache/ Mount Point Attribs: drwxrwx--- 5 bacula root 4096 2007-05-28 10:11 /backup/ Director and Storage Daemons have been restarted several times.. Job Definition: (bacula-dir.conf) - Job { Name = Ex1 JobDefs = DefaultJob Write Bootstrap = /var/lib/bacula/Ex1.bsr Type = Backup Level = Incremental Client = Ex1-fd FileSet = Full Set Storage = DAT-72 Messages = Standard Pool = Default Priority = 10 Spool Data = yes } Device Definition (bacula-sd.conf) - Device { Name = DAT-72 Media Type = Tape Archive Device = /dev/st0 AutomaticMount = yes; AlwaysOpen = no; RemovableMedia = yes; RandomAccess = no; Maximum Spool Size = 400gb; Maximum Job Spool Size = 300gb; Spool Directory = /backup/cache; #Offline On Unmount = yes; ## Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d ## Changer Device = /dev/sg0 ## AutoChanger = yes ## Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Test Job run script... -- [EMAIL PROTECTED]:/usr/local/sbin# cat trun cd /etc/bacula /usr/bin/bconsole EOF mount storage=DAT-72 run job=Ex1 pool=Daily level=Incremental yes EOF Sample Output Command Line after running test script: -- [EMAIL PROTECTED]:/etc/bacula# trun Connecting to Director Ex1:9101 1000 OK: Ex1-dir Version: 1.39.30 (08 December 2006) Enter a period to cancel a command. mount storage=DAT-72 Automatically selected Catalog: MyCatalog 3001 OK mount. Device=DAT-72 (/dev/st0) run job=Ex1 pool=Daily level=Incremental yes Job queued. JobId=811 You have messages. Message that shows up in bconsole after test script is run 28-May 12:56 Ex1-sd: Please mount Volume Daily-04 on Storage Device DAT-72 (/dev/st0) for Job Ex1.2007-05-28_12.56.56 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] How to list all user jobs
People, how I see all jobs executed for a specified user? There is a way to do this without using sql queries? Tks! - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore from multiple device *** HELP ! *** :(
Hi, On 5/26/2007 11:02 PM, Kianusch Sayah Karadji wrote: Hi, I've a backup on to devices ... Full Backup on HDD, Differencial/Incremental on TAPE's. When I try to restore, I get ... *** The job will require the following Volume(s) Storage(s)SD Device(s) === Monthly200703 HDD120HDD120 Weekly15 DAT72 DAT72-changer 359 files selected to be restored. Run Restore job JobName:RestoreFiles Bootstrap: /srv/bacula/amanda-dir.restore.7.bsr Where: /tmp/bacula-restores Replace:always FileSet:Full Set Client: fss1-fd Storage:HDD120 When: 2007-05-24 13:19:15 Catalog:MyCatalog Priority: 10 OK to run? (yes/mod/no): ... *** But the job fails, because of ... *** 24-May 14:42 amanda-sd: End of Volume at file 4 on device HDD120 (/backup/bacula), Volume Monthly200703 24-May 14:42 amanda-sd: RestoreFiles.2007-05-24_12.03.29 Fatal error: acquire.c: 156 No suitable device found to read Volume Weekly15 24-May 14:42 amanda-sd: RestoreFiles.2007-05-24_12.03.29 Fatal error: mount.c:61 4 Cannot open Dev=HDD120 (/backup/bacula), Vol=Weekly15 *** What am I missing? You forgot to tell us your Bacula version... apart from that, you'll probably have to run the restore in two turns. After you set up the job and the final confirmation menu appears, you should be able to copy the bootstrap file it created. Then modify the original file: Remove all parts that refer to the volume Weekly15 and run the job. Then take the copy of the bootstrap file and remove all of it that refers to the volume Monthly200703. You should be left with a bootstrap file only referencing Weekly15. Then run a job using that bootstrap file. Arno Thanx Kianusch - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula on centos with different filesystems, recovery
Hi, On 5/28/2007 8:36 AM, Dave wrote: Hello, I've got a centos5 box that needs to be fully backed up because it's going to be reinstalled with raid. I don't want to loose any data. I set up a backup job that backed up / and /boot do i need to do anymore? The job completed successfully, but i'm getting in the email output: wserv-fd: /sys is a different filesystem. Will not descend from / into /sys wserv-fd: /dev is a different filesystem. Will not descend from / into /dev Do i need either of these filesystems if i'm going to be recreating the system then installing from backup? That depends on how you will reinstall your OS. If you will d a minimal system installation and then restore your backup over it these two file systems will not be needed because they will be created at installation time and populated automatically. (Keep in mind that, restoring to a system with a different setup, will get you in trouble when you overwrite, for example, your initrd, bootloader setup, and /etc directory. You should take care not to overwrite anything necessary for booting from the RAID system.) If you want to do a bare-metal restore to the RAIDified system, you'll need some extra steps afterwards, mainly making the RAID system known to the OS. Personally, in your situation, I'd prefer to do a minimal system installation, save the essential configuration (bootloader setup, kernel, initial ram disk, and disk setup come to mind, but there are probably others...) and then restore over it. If you did a real minimal installation, and don't swith to another architecture (x86 vs. 64-bits enhanced mainly), don't install a newer or older kernel, and so on, you could restore and NOT overwrite existing files. In case your system doesn't boot, you could use your distributions repair installation tolls, or simply first copy the saved low-level setup over the broken installation and re-install the bootloader. In any case, a scenario like this can really get you into trouble :-) Arno Thanks. Dave. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup-Proxy-Solution needed
Hello, On 5/28/2007 10:50 AM, Rich wrote: On 2007.05.28. 10:55, Stefan Wintermeyer wrote: Hi, we'd like to use Bacula as our one and only backup solution. But we have a problem with all home-office-installations. They normaly work with an asynchron DSL connection. It would take days to backup to our normal backup server in the internet. And normaly they only have a couple of hours during the night. Having a bright moment I thought: hmmm... why don't we install some sort of proxy at the home offices? People could backup their stuff to the proxy and the proxy syncs with the central server. Time wouldn't be such a big issue (even if it takes a couple of days to sync). Only that you won't have reliable backups in your central office during that time :-( well, maybe clustered bacula servers might be helpful here, if those ever get implemented ;) currently your best bet probably is to use rsync at some point, which would work nicely for syncing. Yup. I'd do that like this: Set up an SD on the home workers computers. Send their backups to the local SD only. Set up the local SDs to write only small files. Use rsync to sync these volumes to your central backup server. As there are only small files, the overhead for rsync shouldn't be too bad. Or rsync your whole computers to your central office and backup from there. Restores would then need additional effort. Has anybody a solution for that problem? This is adifficult setup. I don't think a perfect solution is possible - my work-around from above, for example, requires extra work if you need to restore from the centrally located volumes (importing the volmes into the catalog). Another possible solution might be to take a full backup after you set up the home computers in your central facilities and only run incremental or differential backups when the machines ore off-site. This leaves a certain amount of unreliability, because you might miss files (especially relocated ones) in your backups. You could also set up a local SD at the home offices which would be used for full backups to a removable hard disk which would then be mailed to you. Or get a better network to your home offices :-) Hmm, there are many possibilities, it seems. Which one fits your needs best is difficult to decide without more detailed information, I guess. Arno Stefan ... -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] N00b question: how to do a one-off backup?
Hi, On 5/28/2007 2:13 PM, Arthur Emerson III wrote: Petcher, Daniel [EMAIL PROTECTED] wrote: Best Practices questions: -How do I add a backup job that I intend never to run again? I don't know if I would call it a best practice, but I have a handful of manual archiving jobs defined that all use the following schedule resource: Schedule { Name = Manual # Run = Level=Full Pool=Default sunday at 10:05 } Don't know if the commented-out Run... line can be safely removed or not, but I'm including it here since it was in my running bacula-dir.conf file. You could remove that line. A schedule is not required for a job. I also don't know if simply omitting the schedule definition line from the job definition will have the same result, but I think that it helps make my job configs more readable by saying that it is a Manual schedule. (This will also work for jobs kicked off via bconsole script input instead of the Bacula scheduler, FWIW.) I think that it's possible to use a dynamic approach for these maual archiving jobs. Make the job read its fle list from a file which you could edit to contain the lines you need. The client definition could be in the job definition, as it probably won't change, or at least you'd need only one manual archive job per client. -How do I clean-up the database after this job is safely ensconsed on tape(s)? You could set a one-day retention period for this job, but my $0.02 is to leave it in the catalog and keep the bootstrap file around just in case you need to restore from it. Also, since Catalog is defined per-client in the config file, you could make a second catalog for this job so that it doesn't pollute your default one with archived entries. I'd suggest to use a short file retention but long job and volume retention periods. The file list would probably not be very important for many archival setups. If you need it, you can extract it from the catalog after the backup and even keep it (printed or stored on CDR) with the tapes. Just some ideas how to refine this... Arno Hope this helps. -Arthur -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Only restore files contained in an incremental backup ?
Hi, On 5/28/2007 4:50 PM, Adam Cécile wrote: Hello, Is there anyway to only restore content of an incremental backup, without restoring the whole full backup before? Sure, just select the job ids you need to restore. The simplest way to get at these is by querying the catalog. Arno Thanks in advance. -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Freebsd 6.1: Bacula not using full tape capacity
Hi, On 5/28/2007 8:33 PM, pedro moreno wrote: Hi people. This is the third occasion that my Full Backup Failed. My tape is one: Storage Works 232 200GB SCSI, running FreeBSD 6.1-p16 with bacula 1.38.11, i have been working with bacula since this release. Now i begin to see this error: 28-May 04:30 bacula-dir: Start Backup JobId 1409, Job=MBXDBA-FD.2007-05-28_04.30.00 28-May 06:18 bacula-sd: End of Volume FullTape-0009 at 184:1 on device StorageWorks-232 (/dev/nsa0). Write of 64512 bytes got 0. 28-May 06:18 bacula-sd: End of medium on Volume FullTape-0009 Bytes=177,755,370,128 Blocks=2,755,390 at 28-May-2007 06:18. Ok, the tape drive reported that it could not put any more data onto the tape. This is not in itself an error. 28-May 06:19 bacula-dir: There are no Jobs associated with Volume FullTape-0010. Marking it purged. 28-May 06:19 bacula-dir: Recycled volume FullTape-0010 28-May 06:19 bacula-sd: Please mount Volume FullTape-0010 on Storage Device StorageWorks-232 (/dev/nsa0) for Job MBXDBA-FD.2007-05-28_04.30.00 28-May 06:19 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Warning: Director wanted Volume FullTape-0010 for device StorageWorks-232 (/dev/nsa0). Current Volume FullTape-0009 not acceptable because: 1998 Volume FullTape-0009 status is Full, but should be Append, Purged or Recycle. Looks like space problem, but it supposes that the tape is not full for me, because if i calculated the space i need using the command estimate, give me to amount of 180,275,927,975, this is my jobs results: ... The jobID 1409 looks like he almost finish but: 28-May 08:06 bacula-sd: Please mount Volume FullTape-0009 on Storage Device StorageWorks-232 (/dev/nsa0) for Job MBXDBA-FD.2007-05-28_04.30.00 28-May 08:06 bacula-sd: Please mount Volume FullTape-0010 on Storage Device StorageWorks-232 (/dev/nsa0) for Job MBXDBA-FD.2007-05-28_04.30.00 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: Too many tries: Wrong Volume mounted on device StorageWorks-232 Do you have Bacula setup to automatically mount the tape? (/dev/nsa0): Wanted FullTape-0010 have FullTape-0009 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: append.c:207 Fatal append error on device StorageWorks-232 (/dev/nsa0): ERR=label.c:733 Expecting Volume Label, got FI=0 Stream= I know these errors only from setups where there exists a configuration problem. Most probably, you need more time for the required tape change. 28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: askdir.c:291 NULL Volume name. This shouldn't happen!!! 28-May 08:11 MBXDBA-FD: MBXDBA-FD.2007-05-28_04.30.00 Fatal error: backup.c:500 Network send error to SD. ERR=Broken pipe 28-May 08:07 bacula-dir: MBXDBA-FD.2007-05-28_04.30.00 Error: Bacula 1.38.11 (28Jun06): 28-May-2007 08:07:31 JobId: 1409 Job:MBXDBA-FD.2007-05-28_04.30.00 Backup Level: Full Client: MBXDBA i686-redhat-linux-gnu,redhat, FileSet:MBXDBA-FS 2007-02-20 15:40:01 Pool: MueblexFullTape Storage:LTO-1 Scheduled time: 28-May-2007 04:30:00 Start time: 28-May-2007 04:30:05 End time: 28-May-2007 08:07:31 Elapsed time: 3 hours 37 mins 26 secs Priority: 15 FD Files Written: 73,128 SD Files Written: 73,128 FD Bytes Written: 66,939,362,451 (66.93 GB) SD Bytes Written: 66,949,907,557 (66.94 GB) Rate: 5131.0 KB/s Software Compression: None Volume name(s): FullTape-0009 Volume Session Id: 39 Volume Session Time:1179787421 Last Volume Bytes: 1 (1 B) Non-fatal FD errors:0 SD Errors: 0 FD termination status: Error SD termination status: Error Termination:*** Backup Error *** This is bacula error or FreeBSD error? How can i test the amount of data that freebsd can write to my tape? Thanks all for your time!!! Actually, it's nearly impossible to measure how much data can fi onto a tape. Compression is the main reason, but even if you don't use hardware compression, tape space can vanish. Two mai reasons: File marks take space, and if you write lots of (logical tape) files, the used capacity will be considerably less than what could fit onto the tape without any file marks in between. Also, when your tape drive can't stream data but has to stop, reposition, and start writing again you can lose space. The latter is especially a problem because this shoe-shining mode also greatly stresses the tapes and the drive, so you should try a lot to prevent it. Spooling is the key here. Anyway, to measure how much data can fit onto a tape you can, for example, use btaes fill command, or use dd to write lots of data to tape. When you enable hardware
Re: [Bacula-users] Spooling setup not working
Hi, On 5/28/2007 10:12 PM, Doug Breshears wrote: Hi, I am having trouble getting data spooling to work, is seems like the director is completely ignoring it because it does not say anything about it, failure or no. Below is what I believe to be the pertinent data on the system. The data is long but I think this is more efficient than trying to drag the info out of me one question at a time. I would appreciate any help I can get here if you can spot where I went wrong or drag any more info out of me. Thanks Doug Breshears. Example: With Tape in drive, a backup will write directly to tape, no data shows up in spool directory, no spool references show up in log. Example: w/o tape in drive the director says to please mount Volume ... and the backup waits until tape is inserted and mounted. Bacula Version: 1.39.30 This is not a released version but a beta version. I strongly recommend upgrading to 2.0. Tape Device: DAT72 Spool Device: 500GB USB hard drive (mount point /backup) Spool Directory: /backup/cache Spool Directory attribs: drwxrwxr-x 2 bacula root 4096 2007-05-25 17:38 /backup/cache/ Mount Point Attribs: drwxrwx--- 5 bacula root 4096 2007-05-28 10:11 /backup/ Ok, this looks fine. But s your spool device actually mounted to /backup and has space available? Director and Storage Daemons have been restarted several times.. Job Definition: (bacula-dir.conf) - Job { Name = Ex1 JobDefs = DefaultJob Write Bootstrap = /var/lib/bacula/Ex1.bsr Type = Backup Level = Incremental Client = Ex1-fd FileSet = Full Set Storage = DAT-72 Messages = Standard Pool = Default Priority = 10 Spool Data = yes Good } Device Definition (bacula-sd.conf) - Device { Name = DAT-72 Media Type = Tape Archive Device = /dev/st0 AutomaticMount = yes; AlwaysOpen = no; RemovableMedia = yes; RandomAccess = no; Maximum Spool Size = 400gb; Maximum Job Spool Size = 300gb; Spool Directory = /backup/cache; Ok, these three directives look good. #Offline On Unmount = yes; ## Changer Command = /etc/bacula/scripts/mtx-changer %c %o %S %a %d ## Changer Device = /dev/sg0 ## AutoChanger = yes ## Alert Command = sh -c 'tapeinfo -f %c |grep TapeAlert|cat' } Test Job run script... -- [EMAIL PROTECTED]:/usr/local/sbin# cat trun cd /etc/bacula /usr/bin/bconsole EOF mount storage=DAT-72 run job=Ex1 pool=Daily level=Incremental yes EOF Sample Output Command Line after running test script: -- [EMAIL PROTECTED]:/etc/bacula# trun Connecting to Director Ex1:9101 1000 OK: Ex1-dir Version: 1.39.30 (08 December 2006) Enter a period to cancel a command. mount storage=DAT-72 Automatically selected Catalog: MyCatalog 3001 OK mount. Device=DAT-72 (/dev/st0) run job=Ex1 pool=Daily level=Incremental yes Job queued. JobId=811 You have messages. Message that shows up in bconsole after test script is run 28-May 12:56 Ex1-sd: Please mount Volume Daily-04 on Storage Device DAT-72 (/dev/st0) for Job Ex1.2007-05-28_12.56.56 The job is not yet running. When you have Bacula 2.0 setup, and the job actually runs, the output of 'sta sd' will show you if data is spooled; in the top of the output, there is a line for each job showing what it's doing - spooling, despooling, or waiting for despooling. At the bottom is a summary of the space used for spooled data. Actually, I believe this output is present in 1.39.30, too, but you would have to mount a usable tape first... Arno -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users