[Bacula-users] Why it takes so much to Building directory tree

2015-07-02 Thread f-otake
I am bigginer of bacula, and I had tried restore on following condition.

|+---+---+--+---+-++
| JobId | Level | JobFiles | JobBytes  | StartTime   | VolumeName|
+---+---+--+---+-++
| 4 | F |  258,441 | 2,262,481,683 | 2015-07-02 14:32:50 | Vol-0004   |
|14 | I |  158 |79,623,411 | 2015-07-03 04:32:49 | Vol-0014   |
+---+---+--+---+-++
 You have selected the following JobIds: 4,14
 Building directory tree for JobId(s) 4,14 ... |
It takes more then 5hours 20min for just to builde directory tree.
Is it normal to take such long time or my setting may be wrong?
Since bacula-dir.conf is very big thus may not good to write here.
For your information OS is CentOS Ver 6.6 on KVM and cpu assigned only one to 
this host.
CPU is AMD Athlon 5350。4core、TDP25W、2GHz(DB is mysql ver 5.1.73)
Appliciate your kind help.

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bextract recovery of files after bare-metal restore

2015-07-02 Thread Bill Arlofski
On 07/02/2015 02:17 PM, Gary Dale wrote:
 I'm finishing up rebuilding a server and just need to get a few files 
 back from a backup. I've got bacula going to the point that I can test 
 the configuration files and not see any errors. However I haven't 
 created any new pools yet. I want to make sure I don't touch the current 
 backup volumes until I get these files back.
 
 I'm getting this when I try to run bextract:
 
 root@molar:/etc/bacula# bextract -i /home/copy/restore-shares -V* 
 /home/shares/backup /home/shares/shared
 bextract: butil.c:287 Using device: /home/shares/backup for reading.
 02-Jul 14:11 bextract JobId 0: Warning: acquire.c:239 Read open device 
 FileStorage (/home/shares/backup) Volume * failed: ERR=dev.c:568 
 Could not open: /home/shares/backup/*, ERR=No such file or directory
 
 Mount Volume * on device FileStorage (/home/shares/backup) and press 
 return when ready:

Hi Gary,

The bextract -V option does not take wildcards.  You will need to do:

 -V vol_001|vol_002|vol_003

and so on for the volumes you want to extract from.


Hope this helps.

Bill



-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] bextract recovery of files after bare-metal restore

2015-07-02 Thread Gary Dale
I'm finishing up rebuilding a server and just need to get a few files 
back from a backup. I've got bacula going to the point that I can test 
the configuration files and not see any errors. However I haven't 
created any new pools yet. I want to make sure I don't touch the current 
backup volumes until I get these files back.

I'm getting this when I try to run bextract:

root@molar:/etc/bacula# bextract -i /home/copy/restore-shares -V* 
/home/shares/backup /home/shares/shared
bextract: butil.c:287 Using device: /home/shares/backup for reading.
02-Jul 14:11 bextract JobId 0: Warning: acquire.c:239 Read open device 
FileStorage (/home/shares/backup) Volume * failed: ERR=dev.c:568 
Could not open: /home/shares/backup/*, ERR=No such file or directory

Mount Volume * on device FileStorage (/home/shares/backup) and press 
return when ready:


The restore-shares include simply lists /home/shares/shared as the 
directory to restore. The FileStorage device is:

root@molar:/etc/bacula# ls -l /home/shares/backup/
total 451951036
-rw--- 1 root root 25769801872 Jun 29 02:13 weekly-backup-0
-rw--- 1 root root 25769797526 Jun 29 02:26 weekly-backup-1
-rw--- 1 root root 25769789916 Jun 29 02:39 weekly-backup-2
-rw--- 1 root root  9405549524 Jun 29 02:44 weekly-backup-3
-rw--- 1 root root 25769797224 Jun 29 02:57 weekly-backup-4
-rw--- 1 root root 25769772682 Jun 29 03:10 weekly-backup-5
-rw--- 1 root root 25769749112 Jun 29 03:23 weekly-backup-6
-rw--- 1 root root 25769801958 Jun 29 03:36 weekly-backup-7
-rw--- 1 root root 25769758006 Jun 29 03:49 weekly-backup-8
-rw--- 1 root root 25769801408 Jun 29 04:02 weekly-backup-9
-rw--- 1 root root 25769753609 Jun 29 04:15 weekly-backup-A
-rw--- 1 root root 25769786076 Jun 29 04:29 weekly-backup-B
-rw--- 1 root root 25769800197 Jun 29 04:42 weekly-backup-C
-rw--- 1 root root 25769776712 Jun 29 04:55 weekly-backup-D
-rw--- 1 root root 25769779608 Jun 29 05:08 weekly-backup-E
-rw--- 1 root root 25769752381 Jun 29 05:21 weekly-backup-F
-rw--- 1 root root 25769769756 Jun 29 05:35 weekly-backup-G
-rw--- 1 root root 25769792835 Jun 29 05:48 weekly-backup-H
-rw--- 1 root root 15305916416 Jun 29 05:56 weekly-backup-I


Any ideas on what I'm doing wrong?

--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] bextract recovery of files after bare-metal restore

2015-07-02 Thread Gary Dale
On 02/07/15 02:49 PM, Bill Arlofski wrote:
 On 07/02/2015 02:17 PM, Gary Dale wrote:
 I'm finishing up rebuilding a server and just need to get a few files
 back from a backup. I've got bacula going to the point that I can test
 the configuration files and not see any errors. However I haven't
 created any new pools yet. I want to make sure I don't touch the current
 backup volumes until I get these files back.

 I'm getting this when I try to run bextract:

 root@molar:/etc/bacula# bextract -i /home/copy/restore-shares -V*
 /home/shares/backup /home/shares/shared
 bextract: butil.c:287 Using device: /home/shares/backup for reading.
 02-Jul 14:11 bextract JobId 0: Warning: acquire.c:239 Read open device
 FileStorage (/home/shares/backup) Volume * failed: ERR=dev.c:568
 Could not open: /home/shares/backup/*, ERR=No such file or directory

 Mount Volume * on device FileStorage (/home/shares/backup) and press
 return when ready:
 Hi Gary,

 The bextract -V option does not take wildcards.  You will need to do:

   -V vol_001|vol_002|vol_003

 and so on for the volumes you want to extract from.


 Hope this helps.

 Bill
Thanks Bill. According to the fine manual:

And finally, if you feel that specifying a Volume name is a bit 
complicated with a bootstrap file, you can use the *-V* option (on all 
programs except *bcopy*) to specify one or more Volume names separated 
by the vertical bar (|). For example,

./bls -V Vol001 /dev/nst0

You may also specify an asterisk (*) to indicate that the program should 
accept any volume. For example:

./bls -V* /dev/nst0


I guess that is not quite accurate. You're right that it does seem to be 
taking the actual volume names. When I ran it against a single volume, 
it restored some files, so I created a .bsr file and it's doing the full 
restore.

Again, Thanks.


--
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users