[Bacula-users] Cannot append to LTO-4 tape
Hello. This has been brought up several times, but I can only find questions, not a definite answer. I have a LTO-4 tape drive on FreeBSD 7.3/amd64. # camcontrol devlist TANDBERG LTO-4 HH W519 at scbus0 target 2 lun 0 (sa0,pass0) I can write tapes and restore them, but, after a reboot or after I unmount the tape, I cannot append to them anymore. This happens with every tape. I'm using bacula 5.0.3 and I remember this used to work in the past; however I cannot remember when it stopped working. What bacula says: 26-Oct 07:27 golia-sd JobId 16763: Volume Out001 previously written, moving to end of data. 26-Oct 07:43 golia-sd JobId 16763: Error: Unable to position to end of data on device LTO-4 (/dev/nsa0): ERR=dev.c:956 ioctl MTEOM error on LTO-4 (/dev/nsa0). ERR=Input/output error. 26-Oct 07:43 golia-sd JobId 16763: Marking Volume Out001 in Error in Catalog. What I see in the logs: Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): CAM Status: SCSI Status Error Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): SCSI Status: Check Condition Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): MEDIUM ERROR info:7fff asc:14,0 Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): Recorded entity not found Oct 26 07:43:29 x kernel: (sa0:mpt0:0:2:0): Retries Exhausted I can complete all the tape tests with no errors. What should I do? Any help appreciated. bye Thanks av. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Large job, many small storage devices
If your drobo device is a SAN, you can a device mapper driver to strip all the block devices together, mount it and set a File storage in the mounted directory. regards Le 26/10/2011 00:26, David Noriega a crit: Is it possible to have a backup job write to more then one storage device? I have a Drobo, total capacity is 16TB, but it presents those as 2TB luns(could move to 8TB luns). Having it backup to files, is it possible for it to fill up one lun the move to the next? And no using LVM to make on big storage device doesn't work due to how drobo does its magic. -- Alexandre Chapellon Ingnierie des systmes open sources et rseaux. Follow me on twitter: @alxgomz -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] how to backup this path /path/otherpath/ABC*/singlefile
im trying to backup this dir /path/otherpath/ABC*/singlefile There is lot of folders and other files under /path/otherpath/ABC*/ I tried lots of combinations with no luck, can anybody help me? aL **AVISO LEGAL** Este mensaje se dirige exclusivamente a su destinatario y puede contener informacion privilegiada o confidencial. Si no es usted el destinatario indicado, queda notificado que la utilizacion, divulgacion y/o copia sin autorizacion esta prohibida en virtud de la legislacion vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma via y proceda a su destruccion. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Starting bacula-fd: Error: Not been configured [FAILED]
hi guys .. I have already installed a bacula client on REHL 6 and it works fine. but this time its giving an ERROR saying Starting bacula-fd: Error: Not been configured [FAILED] test out put here... [root@racn1 ~]# bacula-fd -t /etc/init.d/bacula-fd 26-Oct 16:22 bacula-fd: ERROR TERMINATION at parse_conf.c:835 Config error: Expected a Resource name identifier, got: . : line 16, col 1 of file /etc/init.d/bacula-fd . /etc/init.d/functions please can anyone tell what is the issue?? -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Starting bacula-fd: Error: Not been configured [FAILED]
Op 26/10/2011 12:58, Rushdhi Mohamed schreef: hi guys .. I have already installed a bacula client on REHL 6 and it works fine. but this time its giving an ERROR saying Starting bacula-fd: Error: Not been configured [FAILED] Do you have a bacula-fd.conf file with a config for the client? Possible locations: /etc/bacula, /opt/bacula/etc, ... test out put here... [root@racn1 ~]# bacula-fd -t /etc/init.d/bacula-fd 26-Oct 16:22 bacula-fd: ERROR TERMINATION at parse_conf.c:835 Config error: Expected a Resource name identifier, got: . : line 16, col 1 of file /etc/init.d/bacula-fd . /etc/init.d/functions The -t flag is to test a /configuration file/. What you're feeding into it is the init script (startup script) for the client. You should try it again with your bacula-fd.conf file. Regards, Jeremy DISCLAIMER http://www.schaubroeck.be/maildisclaimer.htm -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how to backup this path /path/otherpath/ABC*/singlefile
To answer myself I was not able to do it via wild or regex so I just created a script that run daily before the backup that simple does ls /path/otherpath/ABC*/singlefile /backup.txt and backup all the files on that file via File = \/backup.txt Its a bit of a hack and i dont like it but hey, it works flawesly :D greets! aL - Original Message - From: Alberto Fuentes alberto.fuen...@qindel.com To: bacula-users@lists.sourceforge.net Sent: Wed, 26 Oct 2011 11:35:11 +0200 (CEST) Subject: [Bacula-users] how to backup this path /path/otherpath/ABC*/singlefile im trying to backup this dir /path/otherpath/ABC*/singlefile There is lot of folders and other files under /path/otherpath/ABC*/ I tried lots of combinations with no luck, can anybody help me? aL **AVISO LEGAL** Este mensaje se dirige exclusivamente a su destinatario y puede contener informacion privilegiada o confidencial. Si no es usted el destinatario indicado, queda notificado que la utilizacion, divulgacion y/o copia sin autorizacion esta prohibida en virtud de la legislacion vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma via y proceda a su destruccion. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users **AVISO LEGAL** Este mensaje se dirige exclusivamente a su destinatario y puede contener informacion privilegiada o confidencial. Si no es usted el destinatario indicado, queda notificado que la utilizacion, divulgacion y/o copia sin autorizacion esta prohibida en virtud de la legislacion vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma via y proceda a su destruccion. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Starting bacula-fd: Error: Not been configured [FAILED]
2011/10/26 Rushdhi Mohamed zmrush...@gmail.com: hi guys .. I have already installed a bacula client on REHL 6 and it works fine. but this time its giving an ERROR saying Starting bacula-fd: Error: Not been configured [FAILED] test out put here... [root@racn1 ~]# bacula-fd -t /etc/init.d/bacula-fd 26-Oct 16:22 bacula-fd: ERROR TERMINATION at parse_conf.c:835 Config error: Expected a Resource name identifier, got: . : line 16, col 1 of file /etc/init.d/bacula-fd . /etc/init.d/functions please can anyone tell what is the issue?? Try bacula-fd -t /etc/init.d/bacula-fd.conf And I assume you edited that file and configured it to match your bacula configuration. John -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Starting bacula-fd: Error: Not been configured [FAILED]
On Wed, 26 Oct 2011 16:28:58 +0530 Rushdhi Mohamed zmrush...@gmail.com wrote: I have already installed a bacula client on REHL 6 and it works fine. but this time its giving an ERROR saying Starting bacula-fd: Error: Not been configured [FAILED] I suspect this error might come not from Bacula FD itself but from an RC-script shipped with RHEL. Like you have to uncomment something somewhere, or a package failed to be configured properly. I do not use RH since long ago so I can't guess more thoroughly. test out put here... [root@racn1 ~]# bacula-fd -t /etc/init.d/bacula-fd 26-Oct 16:22 bacula-fd: ERROR TERMINATION at parse_conf.c:835 Config error: Expected a Resource name identifier, got: . : line 16, col 1 of file /etc/init.d/bacula-fd . /etc/init.d/functions This is obviously wrong, as others already explained: RC scripts are used to start/stop daemons; daemons themselves do not even know these scripts exist. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Starting bacula-fd: Error: Not been configured [FAILED]
On Wed, Oct 26, 2011 at 04:28:58PM +0530, Rushdhi Mohamed wrote: hi guys .. I have already installed a bacula client on REHL 6 and it works fine. but this time its giving an ERROR saying Starting bacula-fd: Error: Not been configured [FAILED] test out put here... I think you need to set and FD-password in /etc/bacula/bacula-fd.conf. HTH Uwe -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Creating directory tree on 5.0.3 takes a long time
On Thu, Oct 20, 2011 at 05:41:14PM +0200, Uwe Schuerkamp wrote: Hi folks, as you may remember I've recently set up a brand new bacula server with version 5.0.3 compiled from source. I copied over the mysql settings (mysql-server-5.1.52-1.el6_0.1.x86_64) from the old machine and inquired here for optimized mysql settings to use with the setup (backup size volume is the same as it was on the old server which had less ram, cpu and diskspace). However, when I try to run a restore job from a decent-sized full backup, it takes forever to build the directory tree where on the old machine this has been quite a speedy process. I've checked the faq and the indices for the file table: mysql show indexes from File ; +---++--+--+-+---+-+--++--++-+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | +---++--+--+-+---+-+--++--++-+ | File | 0 | PRIMARY |1 | FileId | A | 154262958 | NULL | NULL | | BTREE | | | File | 1 | JobId|1 | JobId | A |NULL | NULL | NULL | | BTREE | | | File | 1 | JobId_2 |1 | JobId | A |NULL | NULL | NULL | | BTREE | | | File | 1 | JobId_2 |2 | PathId | A |NULL | NULL | NULL | | BTREE | | | File | 1 | JobId_2 |3 | FilenameId | A |NULL | NULL | NULL | | BTREE | | +---++--+--+-+---+-+--++--++-+ (sorry for the long lines) which look ok to me, so I was wondering what could cause this huge difference in restore run times before I get to the file marking part of the restore process. This operation: Building directory tree for JobId(s) 759 ... + 1,629 files inserted into the tree. took over three minutes where I seem to recall it being much faster on the old setup. I used the standard create_bacula_tables script that comes with 5.0.3 to set up the database. The major difference seems to be moving from a CentOS 5.6 to a 6.1 environment (both were 64bits, btw). Bacula DB size is 26GB (MyISAM tables). Hi folks, I've turned on the slow query log and it's come up with the following result (dirtree build for an incremental job that contains 41 files): http://pastebin.com/rNDivjHg when I quit the restore function and immediately try the same job restore, the tree builds instantly, so I guess it's a mysql problem. I've tried running mysqltuner and have increased the key buffer size, however the total index size is 10G where the server only has 6GB RAM ;-) Anything else I could try to speed up the dirtree generation? All the best thanks in advance, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann AG -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Status + Bacula 5.2.0 release
Hello, It has been a while since I have sent a Bacula status report, so it is a bit longer than usual. In this report, I have five things to mention: 1. Bacula Systems Support Job 2. Bacula Training course 3. Bacula Release version 5.2.0 4. No rpms for version 5.2.0 5. New Bacula Systems CEO 1. Bacula Systems Support Job: Recently I announced on these lists a Bacula Systems Support Job in the US, and I am very pleased to say that several members of the community showed an interest and shortly we will have a new employee (details to be announced next status report) that came from among you :-) Bacula Systems now has a similar position open in Europe, so if you like working with Bacula, have good sys admin skills, like helping customers, and want to learn more about Bacula, perhaps you would be interested in the job that is now open. If so, please see: http://www.baculasystems.com/index.php/company/careers/item/270.html 2. Bacula Training course: Due to some last minute cancellations, we have a few places available in the Bacula Administration I Course that I will be teaching on the 15-17 November in Yverdon-les-Bains, Switzerland. The only requirement for this course is that you have reasonable system administrator skills on Linux. If you would like to learn more about the course, please go to: www.baculasystems.com - Training Course Schedule If you are with a company, I offer you a 15% discount for one person and more for two. If you are a community member (not being paid by a company to come to the course), I can offer you a *very* substantial price reduction as our way of giving back to the community. There are, however, a limited number of community places available in each course we give. Last time I made this offer, a community member was able to profit from it, and I hope you can do the same. If you are interested in the community discount, please send me an email directly, rather than register on the web site, and I will ensure you can get into the class at a discount. This course was originally intended for beginners, but over the years we have been giving it, we have realized that quite a number of experienced Bacula users have attended the course, and they have all been very satisfied. As mentioned above, I will either be teaching the course myself, so hopefully you will join me in the course and have dinner with me on the 18 of November. 3. Bacula Release version 5.2.0 Bacula version 5.2.0 is ready. However, I have been holding it back because the normal community testing is not happening. The only user helping us to test is DassIT (thanks very much). This means that the new version has not been tested enough on FreeBSD, Mac OS, and Solaris. That said, I have done preliminary building and testing on Mac OS and a number of Linux releases (RedHat, Ubuntu, SLES). This is a major feature upgrade with quite a number of bug fixes as well. It is in the current git repo (hosted on bacula.org). In any case, we will be releasing it probably this weekend -- hopefully by then community members will have done additional testing. 4. No rpms for version 5.2.0 I am sorry to announce that Scott Barninger who has long served as the rpm builder for many years has decided to do other things. I wish him the best and thank him for all the hard work he did over many years. I have contacted several community members, and there is a possibility that they will pickup building rpm binaries for us, but for the moment, this is not sure. As a consequence, with much regret on my part, when version 5.2.0 is released, there will initially be no binaries. 5. New Bacula Systems CEO As many of you know, over the last 6-9 months, I have been very involved with Bacula Systems, and now I am pleased to announce that Bacula Systems has a new CEO, Frank Barker. Frank started his IT career with Hewlett-Packard in the UK, rising through Support and Sales into Management before moving to the HP EMEA headquarters in Geneva to run their Telco, Financial Services and Global Accounts businesses. He subsequently ran HP's Consulting and Systems Integration business across EMEA, then moved to the US to setup a worldwide division around cloud computing. Prior to joining Bacula Systems, Frank was CEO and Managing Director for several technology companies in software and security and has a track record of successfully growing technology companies. He is a graduate of Harvard Business School and holds and Honours Degree in Electronics from Strathclyde University in Scotland. I am personally very pleased that Frank has joined Bacula Systems, for lots of reasons, but mostly because it has permitted me to once again devote full time to Bacula development :-) Best regards, Kern -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is
[Bacula-users] backup / restore question
Hi, I have a working bacula system with rotation of (full/diff/incr). If I want to retain one of the full backups indefinitely I know where the file is (archived to disk and each job goes into a separate file). I can copy that file somewhere and hold onto it but in the even of needing to restore from it, how would that be accomplished? Is there a way to: a) Copy the file to a different Director b) Access the file for restores And if the Directory database is needed as well how would this be accomplished. If this has already been discussed enough please point me to the archives. Thanks, Randy Katz -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup / restore question
On Wed, Oct 26, 2011 at 11:09 AM, Randy Katz rk...@simplicityhosting.com wrote: Hi, I have a working bacula system with rotation of (full/diff/incr). If I want to retain one of the full backups indefinitely I know where the file is (archived to disk and each job goes into a separate file). I can copy that file somewhere and hold onto it but in the even of needing to restore from it, how would that be accomplished? Is there a way to: a) Copy the file to a different Director Yes. I would rsync the bacula volume. b) Access the file for restores Use bscan to import the volume to the second director. And if the Directory database is needed as well how would this be accomplished. If this has already been discussed enough please point me to the archives. Thanks, Randy Katz -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- John M. Drescher -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Help with a stuck restore
Em Ter 25 Out 2011 13:53:44 BRST, Marcio Merlone escreveu: I run a bacula 5.0.1-1ubuntu1 server for some years now on an Ubuntu 10.04.3 LTS. A few days ago a users asked for a restore, but I am still unable to complete the task, bconsole stucks on Building directory tree for JobId(s) 2202,2369,2383,2397 It used to take long, but this time it is really stuck, I left it running for more than 24 hours without luck. On mysql administrator, the query SELECT Path.Path, Filename.Name, Temp.Fileindex runs fine but stalls on state sending data and nothing happens. I have already run dbcheck and fixed everything, but yet no luck. Has anybody gone trough this? Can anybody assist me find and correct this? Bump! Please? -- *Marcio Merlone* -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Large job, many small storage devices
Drobo is more like a poor man's san. It does connect via iscsi, but its BeyondRaid tech only supports ext3/ntfs/fat filesystems. So LVM is out of the question. I've setup vchanger and got that working. 2011/10/26 Alexandre Chapellon a.chapel...@horoa.net If your drobo device is a SAN, you can a device mapper driver to strip all the block devices together, mount it and set a File storage in the mounted directory. regards Le 26/10/2011 00:26, David Noriega a écrit : Is it possible to have a backup job write to more then one storage device? I have a Drobo, total capacity is 16TB, but it presents those as 2TB luns(could move to 8TB luns). Having it backup to files, is it possible for it to fill up one lun the move to the next? And no using LVM to make on big storage device doesn't work due to how drobo does its magic. -- http://www.horoa.net Alexandre Chapellon Ingénierie des systèmes open sources et réseaux. Follow me on twitter: @alxgomz http://www.twitter.com/alxgomz -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Personally, I liked the university. They gave us money and facilities, we didn't have to produce anything! You've never been out of college! You don't know what it's like out there! I've worked in the private sector. They expect results. -Ray Ghostbusters horoa_sig.png-- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] full recovery of a specific directory using a specific date/time?
My goal is to recover an entire directory and files within it from a certain date. However, when I try to perform the recover, I'm only able to recover the directory itself. Here are my steps: *restore 8: Enter a list of files to restore before a specified time Select item: (1-13): 8 Enter date as -MM-DD HH:MM:SS :2011-10-17 00:00:00 Defined Clients: 1: foo-fd 2: blah-fd 3: baz-fd Select the Client (1-3): 2 Enter file names with paths, or to enter a filename containing a list of file names with paths, and terminate them with a blank line. Enter full filename: /tftpboot/ Enter full filename: Bootstrap records written to /opt/bacula/bin/working/bacula-va-dir.restore.10.bsr The job will require the following Volume(s) Storage(s) SD Device(s) === file_0017 File FileStorage Volumes marked with * are online. 1 file selected to be restored. Run Restore job JobName: RestoreFiles Bootstrap: /opt/bacula/bin/working/bacula-va-dir.restore.10.bsr Where: /tmp/bacula-restores Replace: always FileSet: Full Set Backup Client: blah-fd Restore Client: blah-fd Storage: File When: 2011-10-26 22:53:15 Catalog: MyCatalog Priority: 10 Plugin Options: *None* OK to run? (yes/mod/no):yes Job queued. JobId=4857 * You have messages. * * *messages 26-Oct 22:56 bacula-va-dir JobId 4857: Start Restore Job RestoreFiles.2011-10-26_22.56.04_13 26-Oct 22:56 bacula-va-dir JobId 4857: Using Device FileStorage 26-Oct 22:56 bacula-va-sd JobId 4857: Ready to read from volume file_0017 on device FileStorage (/opt/bacula/volumes). 26-Oct 22:56 bacula-va-sd JobId 4857: Forward spacing Volume file_0017 to file:block 13:4113404377. 26-Oct 22:56 bacula-va-dir JobId 4857: Bacula bacula-va-dir 5.0.2 (28Apr10): 26-Oct-2011 22:56:06 Build OS: x86_64-unknown-linux-gnu suse 11.2 JobId: 4857 Job: RestoreFiles.2011-10-26_22.56.04_13 Restore Client: blah-fd Start time: 26-Oct-2011 22:56:06 End time: 26-Oct-2011 22:56:06 Files Expected: 1 Files Restored: 1 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination: Restore OK 26-Oct 22:56 bacula-va-dir JobId 4857: Begin pruning Jobs older than 20 days . 26-Oct 22:56 bacula-va-dir JobId 4857: No Jobs found to prune. 26-Oct 22:56 bacula-va-dir JobId 4857: Begin pruning Jobs. 26-Oct 22:56 bacula-va-dir JobId 4857: No Files found to prune. 26-Oct 22:56 bacula-va-dir JobId 4857: End auto prune. === If I go to host blah, I have only the 1 directory /tmp/bacula-restores/tftpboot During the earlier steps, I tried specifying /tftpboot/* which did not work. What is the correct syntax to do this sort of recover? If I do a recover for a specific job ID, I can do the recover fine. However, when specifying the file (or directory in this case), I noticed I needed to include the trailing / or I will only get the directory. But no matter what I do in the scenario above, I will only get the directory. Any help would be great. Thanks! If life gives you lemons, keep them-- because hey.. free lemons.-- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] full recovery of a specific directory using a specific date/time?
Choose 6 option. Navigate on directory tree, mark directory to restore and type done. Kleber 2011/10/26 Joseph Spenner joseph85...@yahoo.com My goal is to recover an entire directory and files within it from a certain date. However, when I try to perform the recover, I'm only able to recover the directory itself. Here are my steps: *restore 8: Enter a list of files to restore before a specified time Select item: (1-13): 8 Enter date as -MM-DD HH:MM:SS :2011-10-17 00:00:00 Defined Clients: 1: foo-fd 2: blah-fd 3: baz-fd Select the Client (1-3): 2 Enter file names with paths, or to enter a filename containing a list of file names with paths, and terminate them with a blank line. Enter full filename: /tftpboot/ Enter full filename: Bootstrap records written to /opt/bacula/bin/working/bacula-va-dir.restore.10.bsr The job will require the following Volume(s) Storage(s)SD Device(s) === file_0017 File FileStorage Volumes marked with * are online. 1 file selected to be restored. Run Restore job JobName: RestoreFiles Bootstrap: /opt/bacula/bin/working/bacula-va-dir.restore.10.bsr Where: /tmp/bacula-restores Replace: always FileSet: Full Set Backup Client: blah-fd Restore Client: blah-fd Storage: File When:2011-10-26 22:53:15 Catalog: MyCatalog Priority:10 Plugin Options: *None* OK to run? (yes/mod/no):yes Job queued. JobId=4857 * You have messages. * * *messages 26-Oct 22:56 bacula-va-dir JobId 4857: Start Restore Job RestoreFiles.2011-10-26_22.56.04_13 26-Oct 22:56 bacula-va-dir JobId 4857: Using Device FileStorage 26-Oct 22:56 bacula-va-sd JobId 4857: Ready to read from volume file_0017 on device FileStorage (/opt/bacula/volumes). 26-Oct 22:56 bacula-va-sd JobId 4857: Forward spacing Volume file_0017 to file:block 13:4113404377. 26-Oct 22:56 bacula-va-dir JobId 4857: Bacula bacula-va-dir 5.0.2 (28Apr10): 26-Oct-2011 22:56:06 Build OS: x86_64-unknown-linux-gnu suse 11.2 JobId: 4857 Job:RestoreFiles.2011-10-26_22.56.04_13 Restore Client: blah-fd Start time: 26-Oct-2011 22:56:06 End time: 26-Oct-2011 22:56:06 Files Expected: 1 Files Restored: 1 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: OK Termination:Restore OK 26-Oct 22:56 bacula-va-dir JobId 4857: Begin pruning Jobs older than 20 days . 26-Oct 22:56 bacula-va-dir JobId 4857: No Jobs found to prune. 26-Oct 22:56 bacula-va-dir JobId 4857: Begin pruning Jobs. 26-Oct 22:56 bacula-va-dir JobId 4857: No Files found to prune. 26-Oct 22:56 bacula-va-dir JobId 4857: End auto prune. === If I go to host blah, I have only the 1 directory /tmp/bacula-restores/tftpboot During the earlier steps, I tried specifying /tftpboot/* which did not work. What is the correct syntax to do this sort of recover? If I do a recover for a specific job ID, I can do the recover fine. However, when specifying the file (or directory in this case), I noticed I needed to include the trailing / or I will only get the directory. But no matter what I do in the scenario above, I will only get the directory. Any help would be great. Thanks! If life gives you lemons, keep them-- because hey.. free lemons. -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users