Re: [Bacula-users] restore problems

2019-02-20 Thread Jose Alberto
If the volumen "RCWORMW-0004",  no purge or recicle.   Then the DATA if you
are.

The problem  maybe was the time  retention the Job and Files.

What would I do?  I  delete of catalog the volumen  RCWORMW-0004

and   then  recreate the volumen RCWORMW-0004  in the catalog  with
"bscan"

bscan -V RCWORMW-0004 -v -s -m -u userDB -P PassDB -c
/etc/bacula/bacula-sd.conf /dev/IBMtape0n


/dev/IBMtape0n  or   /dev/nst0

the execution will recreate the volume data on the tape

Regars.





On Wed, Feb 20, 2019 at 9:45 AM Andras Horvai 
wrote:

> Dear Chandler,
>
> thank you for your email.
>
> Job log of JobID 244:
>
> 19-Feb 15:04 backup2-dir JobId 244: Start Restore Job
> RestoreFiles.2019-02-19_15.03.58_47
> 19-Feb 15:04 backup2-dir JobId 244: Using Device "LTO-6" to read.
> 19-Feb 15:05 backup2-sd JobId 244: Ready to read from volume
> "RCWORMW-0004" on Tape device "LTO-6" (/dev/IBMtape0n).
> 19-Feb 15:05 backup2-sd JobId 244: Forward spacing Volume "RCWORMW-0004"
> to addr=109:0
> 19-Feb 15:06 backup2-sd JobId 244: Elapsed time=00:00:32, Transfer rate=0
> Bytes/second
> 19-Feb 15:06 backup2-dir JobId 244: Bacula backup2-dir 9.4.1 (20Dec18):
>   Build OS:   x86_64-pc-linux-gnu ubuntu 18.04
>   JobId:  244
>   Job:RestoreFiles.2019-02-19_15.03.58_47
>   Restore Client: backup2-fd
>   Where:  /var/lib/bacula/bacula-restores
>   Replace:Always
>   Start time: 19-Feb-2019 15:04:00
>   End time:   19-Feb-2019 15:06:18
>   Elapsed time:   2 mins 18 secs
>   Files Expected: 9
>   Files Restored: 0
>   Bytes Restored: 0 (0 B)
>   Rate:   0.0 KB/s
>   FD Errors:  0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:Restore OK -- warning file count mismatch
>
> 19-Feb 15:06 backup2-dir JobId 244: Begin pruning Jobs older than 12
> months .
> 19-Feb 15:06 backup2-dir JobId 244: No Jobs found to prune.
> 19-Feb 15:06 backup2-dir JobId 244: Begin pruning Files.
> 19-Feb 15:06 backup2-dir JobId 244: No Files found to prune.
> 19-Feb 15:06 backup2-dir JobId 244: End auto prune.
>
> This is all.
>
> The steps I did:
>
> I checked which jobs did backup on the RCWORMW-0004 volume I used the
> query command in bconsole (option 13 and then I typed the MediaID).
> There I saw that jobID 222 was what I needed:
>
>
> +---+---+-+--+---+--+-+---+
> | jobid | name  | starttime   | type | level |
> jobfiles | jobbytes| jobstatus |
>
> +---+---+-+--+---+--+-+---+
> |   222 | server1-job   | 2019-02-16 06:46:15 | C| F
>  |4,747 | 947,734,512,306 | T |
>
> then I run restore in bconsole I choosed option 3 I typed 222 then I mark
> * (I tried to pick only one file or even 9 files does not matter)
> enter done, then choose the file daemon (the backup servers file daemon)
> to restore files to. Everything was accepted but the result is very
> disappointing: 0 files were restored.
>
> Meanwhile I tried bls and I can see the jobs on the tape. Then now I try
> bextract to restore files using a file list. Here is the bextract command I
> use:
>
>  /opt/bacula/bin/bextract -v -V RCWORMW-0004 -i /root/inc-list.txt
> /dev/IBMtape0n ./
>
> inc-list.txt contains this:
> d-2019-02-05.02-31.sql.gz
> d-2019-02-06.02-15.sql.gz
> d-2019-02-07.03-25.sql.gz
> d-2019-02-07.23-19.sql.gz
> d-2019-02-10.13-53.sql.gz
> d-2019-02-12.02-15.sql.gz
> d-2019-02-13.02-15.sql.gz
> d-2019-02-14.02-16.sql.gz
> d-2019-02-15.02-16.sql.gz
> d-2019-02-16.05-32.sql.gz
>
> (each file is about 90 GB)
>
> so far the bextract output is:
> 20-Feb 11:55 bextract JobId 0: Ready to read from volume "RCWORMW-0004" on
> Tape device "LTO-6" (/dev/IBMtape0n).
>
>
> currently it has been running for 3 hours but there is nothing in the
> destination directory. I am a bit worried that I lost  my backups...
> because I cannot restore them :(.
>
> Thanks for help,
>
> Andras
>
>
>
>
> On Wed, Feb 20, 2019 at 12:50 AM Chandler 
> wrote:
>
>> Kindly, if you could share the job log for the restore JobId 244, it may
>> have some error/warning messages.  Also tell us the complete steps you
>> are using when running the restore, it will help us.  Thanks
>>
>>
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
#
#   Sistema Operativo: Debian  #
#Caracas, Venezuela  #
#

Re: [Bacula-users] restore problems

2019-02-20 Thread Andras Horvai
Dear Chandler,

thank you for your email.

Job log of JobID 244:

19-Feb 15:04 backup2-dir JobId 244: Start Restore Job
RestoreFiles.2019-02-19_15.03.58_47
19-Feb 15:04 backup2-dir JobId 244: Using Device "LTO-6" to read.
19-Feb 15:05 backup2-sd JobId 244: Ready to read from volume "RCWORMW-0004"
on Tape device "LTO-6" (/dev/IBMtape0n).
19-Feb 15:05 backup2-sd JobId 244: Forward spacing Volume "RCWORMW-0004" to
addr=109:0
19-Feb 15:06 backup2-sd JobId 244: Elapsed time=00:00:32, Transfer rate=0
Bytes/second
19-Feb 15:06 backup2-dir JobId 244: Bacula backup2-dir 9.4.1 (20Dec18):
  Build OS:   x86_64-pc-linux-gnu ubuntu 18.04
  JobId:  244
  Job:RestoreFiles.2019-02-19_15.03.58_47
  Restore Client: backup2-fd
  Where:  /var/lib/bacula/bacula-restores
  Replace:Always
  Start time: 19-Feb-2019 15:04:00
  End time:   19-Feb-2019 15:06:18
  Elapsed time:   2 mins 18 secs
  Files Expected: 9
  Files Restored: 0
  Bytes Restored: 0 (0 B)
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK -- warning file count mismatch

19-Feb 15:06 backup2-dir JobId 244: Begin pruning Jobs older than 12 months
.
19-Feb 15:06 backup2-dir JobId 244: No Jobs found to prune.
19-Feb 15:06 backup2-dir JobId 244: Begin pruning Files.
19-Feb 15:06 backup2-dir JobId 244: No Files found to prune.
19-Feb 15:06 backup2-dir JobId 244: End auto prune.

This is all.

The steps I did:

I checked which jobs did backup on the RCWORMW-0004 volume I used the query
command in bconsole (option 13 and then I typed the MediaID).
There I saw that jobID 222 was what I needed:

+---+---+-+--+---+--+-+---+
| jobid | name  | starttime   | type | level |
jobfiles | jobbytes| jobstatus |
+---+---+-+--+---+--+-+---+
|   222 | server1-job   | 2019-02-16 06:46:15 | C| F |
  4,747 | 947,734,512,306 | T |

then I run restore in bconsole I choosed option 3 I typed 222 then I mark *
(I tried to pick only one file or even 9 files does not matter)
enter done, then choose the file daemon (the backup servers file daemon) to
restore files to. Everything was accepted but the result is very
disappointing: 0 files were restored.

Meanwhile I tried bls and I can see the jobs on the tape. Then now I try
bextract to restore files using a file list. Here is the bextract command I
use:

 /opt/bacula/bin/bextract -v -V RCWORMW-0004 -i /root/inc-list.txt
/dev/IBMtape0n ./

inc-list.txt contains this:
d-2019-02-05.02-31.sql.gz
d-2019-02-06.02-15.sql.gz
d-2019-02-07.03-25.sql.gz
d-2019-02-07.23-19.sql.gz
d-2019-02-10.13-53.sql.gz
d-2019-02-12.02-15.sql.gz
d-2019-02-13.02-15.sql.gz
d-2019-02-14.02-16.sql.gz
d-2019-02-15.02-16.sql.gz
d-2019-02-16.05-32.sql.gz

(each file is about 90 GB)

so far the bextract output is:
20-Feb 11:55 bextract JobId 0: Ready to read from volume "RCWORMW-0004" on
Tape device "LTO-6" (/dev/IBMtape0n).


currently it has been running for 3 hours but there is nothing in the
destination directory. I am a bit worried that I lost  my backups...
because I cannot restore them :(.

Thanks for help,

Andras




On Wed, Feb 20, 2019 at 12:50 AM Chandler  wrote:

> Kindly, if you could share the job log for the restore JobId 244, it may
> have some error/warning messages.  Also tell us the complete steps you
> are using when running the restore, it will help us.  Thanks
>
>
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problems

2019-02-19 Thread Chandler
Kindly, if you could share the job log for the restore JobId 244, it may 
have some error/warning messages.  Also tell us the complete steps you 
are using when running the restore, it will help us.  Thanks



___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restore problems

2019-02-19 Thread Andras Horvai
Hi Bacula gurus,

recently we bought a LTO-6 tape drive. This is an IBM 7226 LTO-6.
It has the latest firmware J451. Currently we are using bacula 9.4.1 on
Ubuntu 18.04 bionic.
We installed the IBM LTO-6 tape driver on linux: lin_tape. lin_taped daemon
is also running.
Bacula is using /dev/IBMtape0n device to reach the LTO-6 tape. Looks like
backups are
working fine on WORM media, but when I wanted to restore something from a
WORM media (remember backup was fine) I got the following message and
obviously as message says 0 files were restored:
(I am trying to restore here a copy job directly specifying by job id)

19-Feb 15:06 backup2-dir JobId 244: Bacula backup2-dir 9.4.1 (20Dec18):
  Build OS:   x86_64-pc-linux-gnu ubuntu 18.04
  JobId:  244
  Job:RestoreFiles.2019-02-19_15.03.58_47
  Restore Client: backup2-fd
  Where:  /var/lib/bacula/bacula-restores
  Replace:Always
  Start time: 19-Feb-2019 15:04:00
  End time:   19-Feb-2019 15:06:18
  Elapsed time:   2 mins 18 secs
  Files Expected: 9
  Files Restored: 0
  Bytes Restored: 0 (0 B)
  Rate:   0.0 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK -- warning file count mismatch

look the backup result:

  Build OS:   x86_64-pc-linux-gnu ubuntu 18.04
  Prev Backup JobId:  201
  Prev Backup Job:db1-job.2019-02-16_02.00.00_56
  New Backup JobId:   222
  Current JobId:  221
  Current Job:ArchiveJob.2019-02-18_11.21.35_19
  Backup Level:   Full
  Client: Archiver
  FileSet:"None" 2019-02-02 23:14:56
  Read Pool:  "ServersWeeklyFullFile" (From Command input)
  Read Storage:   "File" (From Pool resource)
  Write Pool: "TapeArchive" (From Command input)
  Write Storage:  "LTO-6" (From Command input)
  Catalog:"MyCatalog" (From Client resource)
  Start time: 18-Feb-2019 12:12:24
  End time:   18-Feb-2019 16:11:08
  Elapsed time:   3 hours 58 mins 44 secs
  Priority:   13
  SD Files Written:   4,747
  SD Bytes Written:   947,734,512,306 (947.7 GB)
  Rate:   66164.1 KB/s
  Volume name(s): RCWORMW-0004
  Volume Session Id:  61
  Volume Session Time:1549922956
  Last Volume Bytes:  1,156,597,069,824 (1.156 TB)
  SD Errors:  0
  SD termination status:  OK
  Termination:Copying OK




Do you have any idea why I cannot restore the files from a copy job from
the LTO tape?

Thanks,

Andras
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problems - Bacula 5.2.13-9.el6 (Upgrade)

2013-04-19 Thread Humphrey Bryant

Hi All,

I'm running CentOS 6.4 and i just upgraded my test backup server from 
5.2.12 to 5.2.13-9.el6, after the upgrade I can no longer do restores to 
my Windows 2003/2008 clients (backups runs fine btw).


Each time I run a restore job for my Windows Clients I receive a message 
that the restore was successful but i cant see the files in the 
directory (C:/Restore) where the files was restored to, it seems the 
files are invisible (hidden) inside the Directory (C:/Restore). If I 
right click on the folder (C:/Restore) and select properties it tells me 
the amount of folders inside the directory and tells the correct size of 
the directory but when I go inside the directory it is empty and I do 
not see any files in there.


The only restores that I have*truly done successfully* so far is sending 
the restore job to a the directory (/tmp/bacula-restores) on the backup 
server and not to the windows clients who created the backups.


 I never had any problems doing restores on 5.2.12 its only since I 
upgraded to 5.2.13, hope someone can shed some light on this issue (I'm 
backing up to File not tapes).


Thanks Much.

Regards
Humphrey Bryant
attachment: hbryant.vcf--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems - Bacula 5.2.13-9.el6 (Upgrade)

2013-04-19 Thread Simone Caronni
Hello,

On 19 April 2013 18:49, Humphrey Bryant hbry...@fogadaley.com wrote:

   I never had any problems doing restores on 5.2.12 its only since I
 upgraded to 5.2.13, hope someone can shed some light on this issue (I'm
 backing up to File not tapes).


when restoring Windows files to another location that is not at the
original spot and you have not removed the first part of the restore
command you have to be careful.
I have to launch the attrib -s command on the restored folders to remove
the system attribute. Behaviour for 5.2.12 and 5.2.13 should be the same
regarding Windows relocated restores.

Further details here:

http://bacula.org/5.2.x-manuals/en/main/main/Restore_Command.html#SECTION00218

Excerpt: In some cases, it may not create the directories, and if it does
since the File daemon runs under the SYSTEM account, the directory will be
created with SYSTEM ownership and permissions. In this case, you may have
problems accessing the newly restored files.

Regards,
--Simone

-- 
You cannot discover new oceans unless you have the courage to lose sight of
the shore (R. W. Emerson).
--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems - Bacula 5.2.13-9.el6 (Upgrade)

2013-04-19 Thread Humphrey Bryant
Hey Simone thanks for your input but I've always created an alternate 
directory (C:Restore) **before* i do a restore job.
Also i normally use the default restore job and only needed to change 
(mod) the FileSet, Where and Restore client options for the respective 
client and my restores would be successful.


I manage to solve the problem by creating a new directory for my restores.

I think bacula maybe tired of me using the /C:/Restore/ Directory to 
do my (test) restores, hence I  created a new /C:/bacula/ directory 
then send my windows restore jobs there and everything works fine, I can 
now see files, folders and all.


Thanks much.

Regards
Humphrey Bryant


On 04/19/2013 12:04 PM, Simone Caronni wrote:

Hello,

On 19 April 2013 18:49, Humphrey Bryant hbry...@fogadaley.com 
mailto:hbry...@fogadaley.com wrote:


  I never had any problems doing reyesstores on 5.2.12 its only
since I upgraded to 5.2.13, hope someone can shed some light on
this issue (I'm backing up to File not tapes).


when restoring Windows files to another location that is not at the 
original spot and you have not removed the first part of the restore 
command you have to be careful.
I have to launch the attrib -s command on the restored folders to 
remove the system attribute. Behaviour for 5.2.12 and 5.2.13 should be 
the same regarding Windows relocated restores.


Further details here:

http://bacula.org/5.2.x-manuals/en/main/main/Restore_Command.html#SECTION00218

Excerpt: In some cases, it may not create the directories, and if it 
does since the File daemon runs under the SYSTEM account, the 
directory will be created with SYSTEM ownership and permissions. In 
this case, you may have problems accessing the newly restored files.


Regards,
--Simone

--
You cannot discover new oceans unless you have the courage to lose 
sight of the shore (R. W. Emerson).


attachment: hbryant.vcf--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems - Bacula 5.2.13-9.el6 (Upgrade)

2013-04-19 Thread LDC - Gustavo El Khoury


On 19/04/2013, at 02:35 p.m., Humphrey Bryant hbry...@fogadaley.com wrote:

 Hey Simone thanks for your input but I've always created an alternate 
 directory (C:Restore) *before i do a restore job.
 Also i normally use the default restore job and only needed to change (mod) 
 the FileSet, Where and Restore client options for the respective client and 
 my restores would be successful.
 
 I manage to solve the problem by creating a new directory for my restores.
 
 I think bacula maybe tired of me using the C:/Restore Directory to do my 
 (test) restores, hence I  created a new C:/bacula directory then send my 
 windows restore jobs there and everything works fine, I can now see files, 
 folders and all.
 
 Thanks much.
 
 Regards
 Humphrey Bryant
 
 
 On 04/19/2013 12:04 PM, Simone Caronni wrote:
 Hello,
 
 On 19 April 2013 18:49, Humphrey Bryant hbry...@fogadaley.com wrote:
   I never had any problems doing reyesstores on 5.2.12 its only since I 
 upgraded to 5.2.13, hope someone can shed some light on this issue (I'm 
 backing up to File not tapes).
 
 when restoring Windows files to another location that is not at the original 
 spot and you have not removed the first part of the restore command you have 
 to be careful.
 I have to launch the attrib -s command on the restored folders to remove 
 the system attribute. Behaviour for 5.2.12 and 5.2.13 should be the same 
 regarding Windows relocated restores.
 
 Further details here:
 
 http://bacula.org/5.2.x-manuals/en/main/main/Restore_Command.html#SECTION00218
 
 Excerpt: In some cases, it may not create the directories, and if it does 
 since the File daemon runs under the SYSTEM account, the directory will be 
 created with SYSTEM ownership and permissions. In this case, you may have 
 problems accessing the newly restored files.
 
 Regards,
 --Simone
 
 -- 
 You cannot discover new oceans unless you have the courage to lose sight of 
 the shore (R. W. Emerson).
 
 hbryant.vcf
 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users

As a closing remark, whenever a file or folder is created by/as SYSTEM user on 
Windows (which is Bacula's scenario) the default is that you can't see them. In 
your case, that was the problem with the folder: SYSTEM ownership. If you run 
into this again, you can manually view SYSTEM folders going into folder 
options, and then using the Advanced tab, search for hide protected operating 
system files and uncheck it. Happy hunting! :)

LDC - Gustavo El Khoury--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems - Bacula 5.2.13-9.el6 (Upgrade)

2013-04-19 Thread Humphrey Bryant

@Un-check hide protected operating system files
Thanks much :-)


On 04/19/2013 02:44 PM, LDC - Gustavo El Khoury wrote:
As a closing remark, whenever a file or folder is created by/as SYSTEM 
user on Windows (which is Bacula's scenario) the default is that you 
can't see them. In your case, that was the problem with the folder: 
SYSTEM ownership. If you run into this again, you can manually view 
SYSTEM folders going into folder options, and then using the Advanced 
tab, search for hide protected operating system files and uncheck 
it. Happy hunting! :)


attachment: hbryant.vcf--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems

2011-05-26 Thread Alan Brown
John Drescher wrote:
 I'm trying to restore a 3 month old backup, but the database says there
 are no files to restore.

 The strange thing is, I can _see_ the entries in the database for that
 date and the full backup 10 days before.

 Has anyone seen this kind of behaviour?

 
 Do you have different file and job retentions?

Just to clarify this - I can see the _files_ in the database when I look 
at the files in the JobId of the full backup, but when I go to do a 
restore it says no files are available.




--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems

2011-05-26 Thread Graham Keeling
On Thu, May 26, 2011 at 11:43:16AM +0100, Alan Brown wrote:
 John Drescher wrote:
  I'm trying to restore a 3 month old backup, but the database says there
  are no files to restore.
 
  The strange thing is, I can _see_ the entries in the database for that
  date and the full backup 10 days before.
 
  Has anyone seen this kind of behaviour?
 
  
  Do you have different file and job retentions?
 
 Just to clarify this - I can see the _files_ in the database when I look 
 at the files in the JobId of the full backup, but when I go to do a 
 restore it says no files are available.

Perhaps the problem could be something to do with the Full job that the backup
depends on having being purged already.


Can you copy and paste the output of your restore attempt?


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems

2011-05-26 Thread Alan Brown

 Do you have different file and job retentions?
 Just to clarify this - I can see the _files_ in the database when I look 
 at the files in the JobId of the full backup, but when I go to do a 
 restore it says no files are available.
 
 Perhaps the problem could be something to do with the Full job that the backup
 depends on having being purged already.

No, I was trying to restore from the full backup that's in the database.

 Can you copy and paste the output of your restore attempt?

There's not much to see.

Choose a query (1-39): 24
Enter JobName: Imap-imap1
+-++--+--+-+-+--+-+--+
| jobid   | name   | l| s| starttime   | gb  | 
clientid | name| vol  |
+-++--+--+-+-+--+-+--+
| 159,126 | Imap-imap1 | F| T| 2011-02-20 04:56:37 |0.00 | 
  35 | MAIL-fd | BPOOL076 |
| 159,634 | Imap-imap1 | F| T| 2011-02-24 02:42:05 |  401.49 | 
  35 | MAIL-fd | BPOOL063 |
| 159,634 | Imap-imap1 | F| T| 2011-02-24 02:42:05 |  401.49 | 
  35 | MAIL-fd | BPOOL076 |
| 162,590 | Imap-imap1 | F| T| 2011-03-31 23:02:08 |  412.14 | 
  35 | MAIL-fd | BPOOL091 |
| 164,928 | Imap-imap1 | F| T| 2011-05-04 20:53:14 |  421.35 | 
  35 | MAIL-fd | BPOL0105 |
+-++--+--+-+-+--+-+--+

Enter date as -MM-DD HH:MM:SS :2011-02-26 02:42:05
Defined Clients: 9snip0
Select the Client (1-542): 3
The defined FileSet resources are: (snip)

Select FileSet resource (1-10): 5
+-+---+--+--+-++
| jobid   | level | jobfiles | jobbytes | starttime   | volumename |
+-+---+--+--+-++
| 159,126 | F |3 |  270 | 2011-02-20 04:56:37 | BPOOL076   |
| 159,242 | I |1 |   81 | 2011-02-21 02:58:37 | BPOOL076   |
+-+---+--+--+-++
You have selected the following JobIds: 159126,159242

Building directory tree for JobId(s) 159126,159242 ...
2 files inserted into the tree.

Note that it completely missed jobid 159,634 even though it was more recent.

But the strange thing is that if i list the files in JobId 159,634 
they're all in the database.

There was an older jobId which has fallen out of the database because 
the tapes were purged yesterday, however selecting that one resulted in 
a no files available for restore message, while listing the files 
associated with it gave a complete list.




--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems

2011-05-24 Thread Alan Brown
John Drescher wrote:
 I'm trying to restore a 3 month old backup, but the database says there
 are no files to restore.

 The strange thing is, I can _see_ the entries in the database for that
 date and the full backup 10 days before.

 Has anyone seen this kind of behaviour?

 
 Do you have different file and job retentions?

No, they're both set to 10 years.

I only delete database entries when the tapes rollover.



 
 John
 
 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its 
 next-generation tools to help Windows* and Linux* C/C++ and Fortran 
 developers boost performance applications - including clusters. 
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 




--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problems

2011-05-23 Thread Alan Brown

I'm trying to restore a 3 month old backup, but the database says there 
are no files to restore.

The strange thing is, I can _see_ the entries in the database for that 
date and the full backup 10 days before.

Has anyone seen this kind of behaviour?




--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems

2011-05-23 Thread John Drescher
 I'm trying to restore a 3 month old backup, but the database says there
 are no files to restore.

 The strange thing is, I can _see_ the entries in the database for that
 date and the full backup 10 days before.

 Has anyone seen this kind of behaviour?


Do you have different file and job retentions?

John

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problems (restore.c:975 Write error)

2010-05-17 Thread Willians Vivanco
Hi, i'm using bacula-dir Version: 2.4.4 (28 December 2008) 
i486-pc-linux-gnu debian 5.0

My problem is when i'm try to restore some files, bacula returns me an 
error message like:

Error: restore.c:975 Write error on /my route to restore folder

And when i go to check the restore, i detect it writes me a little bit 
of the archive i want to recover, for example, i'm trying to restore a 
file of about 3Gb and it just recovers 137Mb before returns me that error.

Any suggestion?

Regards
Willians



--

Este mensaje le ha llegado mediante el servicio de correo electronico que 
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema 
Nacional de Salud. La persona que envia este correo asume el compromiso de usar 
el servicio a tales fines y cumplir con las regulaciones establecidas

Infomed: http://www.sld.cu/

--

___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problems

2010-02-19 Thread João Alberto Kuchnier




Hello Everyone!

I'm new using Bacula and I'm having some problems to restore older
backups. I need to restore a November 09 backup but only files from the
last 30 days are displayed. Is this because I'm using 30 days for file
retention? Is there anyway to access that older files?

Sorry for my bad English.

Joo K.






--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems

2010-02-19 Thread John Drescher
2010/2/19 João Alberto Kuchnier joao.kuchn...@dataprom.com:
 Hello Everyone!

 I'm new using Bacula and I'm having some problems to restore older backups.
 I need to restore a November 09 backup but only files from the last 30 days
 are displayed. Is this because I'm using 30 days for file retention? Is
 there anyway to access that older files?


If the volumes were not overwritten you need to disable the file and
job retention. Then run bscan to get the database info back into
bacula. Then proceed with the restore.

See the manual for the utility tools.

John

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problems

2008-11-03 Thread Dinesh Gunasekar
Hello all,


I lately got bacula-2.4.2 installed, and I recently noted something,
which I am not sure if it is a feature or a problem.
I did a restore from a full backup job, and it failed.

It said this -  ( note :  /home/xxx * *** .mp4  is not the
actual file name )

31-Oct 11:38 storage04 JobId 64: Error: block.c:318 Volume data error at
1:2752323442!
Block checksum mismatch in block=109241 len=64512: calc=833b9fbe
blk=fd5daefd
31-Oct 11:38 bacula-dir1-fd JobId 64: Error: attribs.c:421 File size of
restored file /home/xxx * *** .mp4 not correct. *Original
272732160, restored 207093760.*
31-Oct 11:38 bacula-XXX JobId 64: Error: Bacula bacula-XXX 2.4.2
(26Jul08): 31-Oct-2008 11:38:32
  Build OS:   x86_64-unknown-linux-gnu debian 4.0
  JobId:  64
  Job:RestoreFiles.2008-10-31_11.30.19
  Restore Client: bacula-dir1-fd
  Start time: 31-Oct-2008 11:30:02
  End time:   31-Oct-2008 11:38:32
  Files Expected: 777,584
  Files Restored: 105,447
  Bytes Restored: 12,753,943,132
  Rate:   25007.7 KB/s
  FD Errors:  3
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Restore Error ***




This seems to happen for full backups, that I tried.
I have to do a restore again, and unmark that particular file ( which
had size mismatch ) and do it again. 
And then another file had the same problem, and I have to do this over
and over again.
Now, the size of the total data to be restored is ~150Gb. It is really
annoying to start over , and over again. It takes a huge time to
complete the restore.


According to the documentation, it said that restore does not abort on
such errors.
Even the code src/findlibs/attrib.c seems to suggest that err level/type
is M_ERROR, which should suggests that job should not fail. ( If I am
not wrong ;) )
   Jmsg3(jcr, *M_ERROR*, 0, _(File size of restored file %s not
correct. Original %s, restored %s.\n),


The thing to note here is that size of the file restored is smaller than
what is mentioned in the catalog. Not sure why this happened, but I have
hit this case very often.
Is this the reason, why the restore job failed ? If this is the case, is
there a way I can disable this feature ?




Thank you,
- Dinesh

Bacula compiled with
 ./configure --prefix=/usr/local/bacula-2.4.2/
--sbindir=/usr/local/bacula-2.4.2/bin
--sysconfdir=/usr/local/bacula-2.4.2/bin
--with-working-dir=/usr/local/bacula-2.4.2/bin/working
--with-pid-dir=/usr/local/bacula-2.4.2/bin/working
--with-subsys-dir=/usr/local/bacula-2.4.2/bin/working
--enable-batch-insert --enable-smartalloc --enable-largefile --enable
-readline --disable-build-stored --with-base-port=9101 --with-mysql
--with-dir-password=bacula --with-fd-password=bacula
--with-sd-password=bacula --with-smtp-host=localhost

Full and incremental volumes are maintained on different pools.

Bacula-fd of the client which was backed up is 2.0.3.



-- 
NOTICE:  This email and any file transmitted are confidential and/or legally 
privileged and intended only for the person(s) directly addressed.  If you are 
not the intended recipient, any use, copying, transmission, distribution, or 
other forms of dissemination is strictly prohibited.  If you have received this 
email in error, please notify the sender immediately and permanently delete the 
email and files, if any.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems

2007-10-30 Thread Brian A Seklecki (Mobile)

On Mon, 2007-10-29 at 16:45 +0100, Christof Klaus wrote:
 hello luiz, 
 you didnt mention where you expect the file to be restored...the
 restore-location given in the job is /tmp .. did you look there ?
 
 christof klaus.
 

Luiz:

Restore jobs defined in bacula-dir.conf are normally used a templates
which manually-created jobs at the bconsole(8) command line use to
inherit sane defaults.

Try logging into bconsole and type Restore and follow the
instructions.  I'm a big fan of #5.

~BAS

 
 Luiz Gustavo R. Nogueira schrieb: 
  Hello all,
  
  When I try to restore a file through the console, everything looks fine 
  and I get a sucessful message and a email saying that file was restored 
  sucessfully, but when I go to the location where the restored file 
  
  should be, nothing is there.
  
  I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no 
  error in the logs.
  
  Follows below my restore job configured at bacula-dir:
  
  Job {
Name = RestoreFiles
  
Type = Restore
Client=client-name-fd
FileSet=Full 
Storage = File 
Pool = Default
Messages = Standard
Where = /tmp
  }
  
  Please let me know if you need any further information in order to help 
  
  solve this problem. I think it's something simple, but was not able to find.
  
  Thanks in advance!
  Luiz

  
  
  
  -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now  http://get.splunk.com/
  
  
  
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users

 
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___ Bacula-users mailing list 
 Bacula-users@lists.sourceforge.net 
 https://lists.sourceforge.net/lists/listinfo/bacula-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problems

2007-10-29 Thread Luiz Gustavo R. Nogueira
Hello all,

When I try to restore a file through the console, everything looks fine
and I get a sucessful message and a email saying that file was restored
sucessfully, but when I go to the location where the restored file
should be, nothing is there.

I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no
error in the logs.

Follows below my restore job configured at bacula-dir:

Job {
  Name = RestoreFiles
  Type = Restore
  Client=client-name-fd
  FileSet=Full
  Storage = File
  Pool = Default
  Messages = Standard
  Where = /tmp
}

Please let me know if you need any further information in order to help
solve this problem. I think it's something simple, but was not able to find.

Thanks in advance!
Luiz
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems

2007-10-29 Thread Christof Klaus
hello luiz,
you didnt mention where you expect the file to be restored...the
restore-location given in the job is /tmp .. did you look there ?

christof klaus.


Luiz Gustavo R. Nogueira schrieb:
 Hello all,

 When I try to restore a file through the console, everything looks fine 
 and I get a sucessful message and a email saying that file was restored 
 sucessfully, but when I go to the location where the restored file 

 should be, nothing is there.

 I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no 
 error in the logs.

 Follows below my restore job configured at bacula-dir:

 Job {
   Name = RestoreFiles

   Type = Restore
   Client=client-name-fd
   FileSet=Full 
   Storage = File 
   Pool = Default
   Messages = Standard
   Where = /tmp
 }

 Please let me know if you need any further information in order to help 

 solve this problem. I think it's something simple, but was not able to find.

 Thanks in advance!
 Luiz
   
 

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 

 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
   
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore Problems

2007-10-29 Thread Luiz Gustavo R. Nogueira
hello Christof,

yes I looked there ...I tried changing the location to other folders,
checked permissions and nothing ...

thanks,
Luiz Nogueira

-


Date: Mon, 29 Oct 2007 16:45:13 +0100
From: Christof Klaus [EMAIL PROTECTED]
Subject: Re: [Bacula-users] Restore Problems
To: bacula-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

hello luiz,
you didnt mention where you expect the file to be restored...the
restore-location given in the job is /tmp .. did you look there ?

christof klaus.


Luiz Gustavo R. Nogueira schrieb:
 Hello all,

 When I try to restore a file through the console, everything looks fine
 and I get a sucessful message and a email saying that file was restored
 sucessfully, but when I go to the location where the restored file

 should be, nothing is there.

 I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no
 error in the logs.

 Follows below my restore job configured at bacula-dir:

 Job {
   Name = RestoreFiles

   Type = Restore
   Client=client-name-fd
   FileSet=Full
   Storage = File
   Pool = Default
   Messages = Standard
   Where = /tmp
 }

 Please let me know if you need any further information in order to help

 solve this problem. I think it's something simple, but was not able to
find.

 Thanks in advance!
 Luiz
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems

2007-10-29 Thread Michael Lewinger
Hi Luis, bom dia, como vai ?

The files are restored by default to the client, not to the server. Use
mod for changing the client's destination on the restore console. I'm
marking the relevant lines with ^^^

begin---

Connecting to Director 192.168.2.102:9101
1000 OK: michaelpc-dir Version: 2.2.5 (09 October 2007)
Enter a period to cancel a command.
*restore all
Automatically selected Catalog: MyCatalog
Using Catalog MyCatalog

First you select one or more JobIds that contain files
to be restored. You will be presented several methods
of specifying the JobIds. Then you will be allowed to
select which files from those JobIds are to be restored.

To select the JobIds, you have the following choices:
 1: List last 20 Jobs run
 2: List Jobs where a given File is saved
 3: Enter list of comma separated JobIds to select
 4: Enter SQL list command
 5: Select the most recent backup for a client
 6: Select backup for a client before a specified time
 7: Enter a list of files to restore
 8: Enter a list of files to restore before a specified time
 9: Find the JobIds of the most recent backup for a client
10: Find the JobIds for a backup for a client before a specified time
11: Enter a list of directories to restore for found JobIds
12: Cancel
Select item:  (1-12): 5
Defined Clients:
 1: michaelpc
 2: saar
Select the Client (1-2): 2
Automatically selected FileSet: saar
+---+---+--+---+-++
| JobId | Level | JobFiles | JobBytes  | StartTime   |
VolumeName |
+---+---+--+---+-++
|   139 | F |   12,924 | 2,353,980,429 | 2007-10-26 08:36:29 |
saar   |
|   142 | I |1 |11,556 | 2007-10-26 19:27:39 |
saar   |
+---+---+--+---+-++
You have selected the following JobIds: 139,142

Building directory tree for JobId 139 ...
+
Building directory tree for JobId 142 ...
2 Jobs, 12,845 files inserted into the tree and marked for extraction.

You are now entering file selection mode where you add (mark) and
remove (unmark) files to be restored. No files are initially added, unless
you used the all keyword on the command line.
Enter done to leave this mode.

cwd is: /
$ done
Bootstrap records written to C:\Documents and Settings\All Users\Application
Data\Bacula\Work/michaelpc-dir.restore.1.bsr

The job will require the following
   Volume(s) Storage(s)SD Device(s)
===

   saar  external  disk


12,924 files selected to be restored.

Run Restore job
JobName: RestoreFiles
Bootstrap:   C:\Documents and Settings\All Users\Application
Data\Bacula\Work/michaelpc-dir.restore.1.bsr
Where:   C:\tmp\bacula-restores
Replace: always
FileSet: Windows Full Set
Backup Client:   saar
^^^
Restore Client:  saar
^^^
Storage: external
When:2007-10-29 21:53:15
Catalog: MyCatalog
Priority:10
^^^
OK to run? (yes/mod/no): mod
^^^
Parameters to modify:
 1: Level
 2: Storage
 3: Job
 4: FileSet
^^^
 5: Restore Client
^^^
 6: When
 7: Priority
 8: Bootstrap
 9: Where
10: File Relocation
11: Replace
12: JobId
Select parameter to modify (1-12): 5
The defined Client resources are:
 1: michaelpc
 2: saar
^^^
Select Client (File daemon) resource (1-2): 1
^^^
Run Restore job
JobName: RestoreFiles
Bootstrap:   C:\Documents and Settings\All Users\Application
Data\Bacula\Work/michaelpc-dir.restore.1.bsr
Where:   C:\tmp\bacula-restores
Replace: always
FileSet: Windows Full Set
Backup Client:   saar
^^^
Restore Client:  michaelpc
^^^
Storage: external
When:2007-10-29 21:53:15
Catalog: MyCatalog
Priority:10
OK to run? (yes/mod/no):yes
end--

Michael

On 10/29/07, Luiz Gustavo R. Nogueira [EMAIL PROTECTED] wrote:

 hello Christof,

 yes I looked there ...I tried changing the location to other folders,
 checked permissions and nothing ...

 thanks,
 Luiz Nogueira

 -


 Date: Mon, 29 Oct 2007 16:45:13 +0100
 From: Christof Klaus [EMAIL PROTECTED]
 Subject: Re: [Bacula-users] Restore Problems
 To: bacula-users@lists.sourceforge.net
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=iso-8859

Re: [Bacula-users] Restore Problems

2007-10-29 Thread Luiz Gustavo R. Nogueira
 permissions and nothing ...
 
  thanks,
  Luiz Nogueira
 
  -
 
 
  Date: Mon, 29 Oct 2007 16:45:13 +0100
  From: Christof Klaus [EMAIL PROTECTED]
  Subject: Re: [Bacula-users] Restore Problems
  To: bacula-users@lists.sourceforge.net
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain; charset=iso-8859-1
 
  hello luiz,
  you didnt mention where you expect the file to be restored...the
  restore-location given in the job is /tmp .. did you look there ?
 
  christof klaus.
 
 
  Luiz Gustavo R. Nogueira schrieb:
   Hello all,
  
   When I try to restore a file through the console, everything looks
  fine
   and I get a sucessful message and a email saying that file was
  restored
   sucessfully, but when I go to the location where the restored file
  
   should be, nothing is there.
  
   I'm using bacula 2.0.3 with a RedHat AS 4 kernel 2.6.9-42. There's no
   error in the logs.
  
   Follows below my restore job configured at bacula-dir:
  
   Job {
 Name = RestoreFiles
  
 Type = Restore
 Client=client-name-fd
 FileSet=Full
 Storage = File
 Pool = Default
 Messages = Standard
 Where = /tmp
   }
  
   Please let me know if you need any further information in order to
  help
  
   solve this problem. I think it's something simple, but was not able to
  find.
  
   Thanks in advance!
   Luiz
 
  -
  This SF.net email is sponsored by: Splunk Inc.
  Still grepping through log files to find problems?  Stop.
  Now Search log events and configuration files using AJAX and a browser.
  Download your FREE copy of Splunk now  http://get.splunk.com/
  ___
  Bacula-users mailing list
  Bacula-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 


 --
 Michael Lewinger
 MBR Computers
 http://mbrcomp.co.il
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problems: bacula hangs while creating job tree

2007-03-29 Thread Juliet Kemp
Hi,

I need to do a very large restore - the filesystem in question is 1TB  
it was about 80% full last I looked.

When I use bacula-console, and ask for a restore of the last backup from 
this client, it generates the initial long list of jobs, starts to build 
the file list, and then hangs (after about 10 of the + marks).

Could this be caused by the machine on which Bacula is running being 
unable to cope with the load of database requests?  (The database itself 
is on another machine, which seems OK; I'm backing up to an 
autochanger.)  Should I just try leaving it even longer?  It seems to 
move at a slow but perceptible speed briefly, then stops.  top shows 
bacula-dir as using 95%+ of CPU  90%+ of memory; previously when I've 
tried this I've also seen defunct bacula-dir processes appearing in 
the process list.

I've restored to this filesystem from Bacula before, but it wasn't so 
full then ( the Bacula 'server' machine wasn't so old!).

Any thoughts/suggestions on how I can get this data back?

I have also tried

bls -V ABK708L Overland 2000

to see if I can get a manual listing of the relevant tape (barcode label 
ABK708L), but that takes a long time  then fails saying /dev/st0 in 
use.  Any thoughts on that?

I'm running 1.36.2 on Debian sarge (I'm aware it's old but it's also 
what's available in sarge!).


Regards,
Juliet

-- 
+
+ Ms Juliet Kemp+
+ Computer Manager  [EMAIL PROTECTED] +
+ Astrophysics Group+
+ Imperial College  Tel: +44 (0)20759 47538 +
+ London. SW7 2AZ   Fax: +44 (0)20759 47541 +
+


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore problems: bacula hangs while creating job tree

2007-03-29 Thread Arno Lehmann
Hi,

On 3/29/2007 4:47 PM, Juliet Kemp wrote:
 Hi,
 
 I need to do a very large restore - the filesystem in question is 1TB  
 it was about 80% full last I looked.
 
 When I use bacula-console, and ask for a restore of the last backup from 
 this client, it generates the initial long list of jobs, starts to build 
 the file list, and then hangs (after about 10 of the + marks).
 
 Could this be caused by the machine on which Bacula is running being 
 unable to cope with the load of database requests?

Yes.

  (The database itself 
 is on another machine, which seems OK; I'm backing up to an 
 autochanger.)  Should I just try leaving it even longer?

Yes.

  It seems to 
 move at a slow but perceptible speed briefly, then stops.  top shows 
 bacula-dir as using 95%+ of CPU  90%+ of memory; previously when I've 
 tried this I've also seen defunct bacula-dir processes appearing in 
 the process list.

Bad things... if your Bacula server runs out of memory during the 
tree-building process, it will crash. As a workaround you could add more 
swap, but that doesn't make things faster, only allows Bacula to finish.

 I've restored to this filesystem from Bacula before, but it wasn't so 
 full then ( the Bacula 'server' machine wasn't so old!).
 
 Any thoughts/suggestions on how I can get this data back?

bextract might help. Or put more memory into your server.

 I have also tried
 
 bls -V ABK708L Overland 2000
 
 to see if I can get a manual listing of the relevant tape (barcode label 
 ABK708L), but that takes a long time  then fails saying /dev/st0 in 
 use.  Any thoughts on that?

Sure... first, better use the non-rewinding tape devices for Bacula, 
i.e. /dev/nst0. To access the tape drive outside of Bacula, you must 
unmount if using the console.

 I'm running 1.36.2 on Debian sarge (I'm aware it's old but it's also 
 what's available in sarge!).

You *really* should consider upgrading :-)

Arno

 
 Regards,
 Juliet
 

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Restore problems

2006-03-09 Thread Kern Sibbald
Hello,

A general comment: perhaps I am wrong, but it seems to me that the scheme you 
are using for backups (one Volume for each day) is virtually guaranteed to 
cause a catastrophe if there is a disk error.  The reason is that you have 
*all* Wednesdays in a single volume. If you loose that volume, you loose 
*all* Wednesdays you cannot even backup to a previous week.  

You might want to take a look at the example in the manual, which is probably 
not perfect, but unless I am mistaken, is much more error tolerant.

See comments below:

On Thursday 09 March 2006 09:34, [EMAIL PROTECTED] wrote:
 Dear Collegues,

 I use Bacula  1.36.3 with one usb hard disk which is 400 GB in large. I
 have configured Bacula in such way I have 5 archives incremented daily
 during whole year. All mondays are stored in one file -Monday, tuesdays
 - in Tuesday etc. and are incremented since 1 January. Now they are
 about 20GB each. There are also month backups, but they are made once a
 two months now (because of the amount of space taken).

 Yesterday I had a power failure and just after I forgot to switch on the
 drive. Because there was no drive mounted, Bacula changed VolStatus from
 Append to Error.

 Now I have the following problem: when I try to restore files, the error
 volume is ommited, and I cannot restore none of the wednesday's backups.

Unfortunately, you have not included all the output below, so I am not sure 
what option you used in the main menu.  Assuming it was option 5, Bacula 
should include all Volumes that are needed regardless of their status.  
However, it will not include any Job that terminated with an error status.

 When I manually set the VolStatus to Append I still cannot restore
 wednesdays, because size of the volume is zero.

I would be interested to know how you conclude this as to the best of my 
knowledge Bacula does not explicitly check the volume size.  If the volume 
size is zero, it is most likely because it has been deleted (Bacula will not 
delete volumes) or it is not properly mounted, which can easily happen with 
USB drives.

I recommend that you read the Restore chapter. It goes through nearly all the 
points I have made and a lot more. 


 Restore output with missing wednesdays:

In general, I see no problem here because Bacula will select only Volumes that 
have necessary data on them.  You haven't shown any indication from the 
catalog that any Job ran on Wednesday, and even if one did, as long as all 
the files were backed up later, there would be no need for Wednesday's data.
If the last day you are restoring to is Tuesday, with your scheme, there would 
also be no need for Wednesday's data.  

In addition, I see no Volumes listed for Friday ...

 Select FileSet resource (1-3): 2
 +---+---+--+-++---+
--++

 | JobId | Level | JobFiles | StartTime   | VolumeName |

 StartFile | VolSessionId | VolSessionTime |
 +---+---+--+-++---+
--++

 |   422 | F |1,267 | 2006-02-23 21:00:04 | Month  |

 0 |   22 |  1,140,553,788 |

 |   435 | I |   10 | 2006-02-24 20:00:04 | Week   |

 4 |   10 |  1,140,774,306 |

 |   460 | I |   10 | 2006-02-27 20:00:04 | Monday |

 4 |6 |  1,141,030,874 |

 |   470 | I |  119 | 2006-02-28 20:00:04 | Tuesday|

 3 |   15 |  1,141,030,874 |

 |   490 | I |  102 | 2006-03-02 20:00:04 | Thursday   |

 2 |   29 |  1,141,030,874 |

 |   500 | I |   43 | 2006-03-03 20:00:04 | Week   |

 4 |   38 |  1,141,030,874 |

 |   510 | I |   10 | 2006-03-06 20:00:04 | Monday |

 4 |8 |  1,141,629,243 |

 |   515 | I |9 | 2006-03-07 20:00:04 | Tuesday|

 3 |   13 |  1,141,629,243 |
 +---+---+--+-++---+
--++ You have selected the following JobIds:
 422,435,460,470,490,500,510,515

 Building directory tree for JobId 422 ...
 ++
 Building directory tree for JobId 435 ...  +
 Building directory tree for JobId 460 ...
 Building directory tree for JobId 470 ...
 Building directory tree for JobId 490 ...  +
 Building directory tree for JobId 500 ...
 Building directory tree for JobId 510 ...
 Building directory tree for JobId 515 ...
 8 Jobs, 1,272 files inserted into the tree.
 ...


 What shall I do now? I've considered to use bscan -s against the volume
 but I am not sure if it would not damage the Catalog. Besides the
 archive is compressed with BZIP9 option and the media is slow, so I
 would rather use some hack to get my Catalog in line with real data
 stored on disk.

 I would really appreciate any help.

 Janusz


 ---
 This SF.Net email is sponsored by 

[Bacula-users] Restore Problems

2005-10-11 Thread Danie Theron

Hi , sorry for the long post :)

Wanted to do a test restore , and it seems either my catalog is doing 
funny things , or I messed up in the Pool defs :


+---+---+--+-+--+---+--++
| JobId | Level | JobFiles | StartTime   | VolumeName   
| StartFile | VolSessionId | VolSessionTime |

+---+---+--+-+--+---+--++
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 2 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 1 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 1 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 1 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 1 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 0 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 0 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 0 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 0 |3 |  1,128,326,240 |
| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 0 |3 |  1,128,326,240 |
| 2,465 | D |  394 | 2005-10-09 01:14:41 | apollusersdiff-0001  
| 0 |   20 |  1,128,695,386 |
| 2,470 | I |   42 | 2005-10-09 21:31:35 | apollousersincr-0014 
| 0 |   24 |  1,128,695,386 |
| 2,482 | I |  109 | 2005-10-10 21:32:39 | apollousersincr-0011 
| 0 |3 |  1,128,959,605 |
| 2,482 | I |  109 | 2005-10-10 21:32:39 | apollousersincr-0011 
| 0 |3 |  1,128,959,605 |
| 2,482 | I |  109 | 2005-10-10 21:32:39 | apollousersincr-0011 
| 0 |3 |  1,128,959,605 |

+---+---+--+-+--+---+--++

Now , correct me if I'm wrong , but shouldn't it use the latest full , 
diff , as well as ALL the incr vols?


Yet if I do a list media :

*list media pool=apollousersincr
+-+--+---+---+--+--+-+--+---+---+-+
| MediaId | VolumeName   | VolStatus | VolBytes  | VolFiles 
| VolRetention | Recycle | Slot | InChanger | MediaType | 
LastWritten |

+-+--+---+---+--+--+-+--+---+---+-+
|  67 | apollousersincr-0001 | Used  | 2,628,320,758 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-09-27 
21:48:43 |
|  76 | apollousersincr-0002 | Used  | 2,500,204,331 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-09-23 
21:45:27 |
|  77 | apollousersincr-0003 | Used  | 2,173,623,654 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-09-26 
21:32:30 |
|  78 | apollousersincr-0004 | Used  | 5,658,242 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-09-25 
21:17:45 |
|  82 | apollousersincr-0005 | Used  | 1,207,803,363 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-09-29 
21:35:33 |
|  89 | apollousersincr-0006 | Used  | 1,187,813,180 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-10-06 
21:31:37 |
|  96 | apollousersincr-0007 | Used  | 2,459,398,536 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-09-30 
21:43:38 |
| 103 | apollousersincr-0008 | Used  | 2,864,756,783 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-10-07 
21:48:15 |
| 111 | apollousersincr-0009 | Used  |   939,941,338 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-10-04 
21:17:49 |
| 120 | apollousersincr-0010 | Used  |   229,669,022 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-10-08 
21:20:27 |
| 128 | apollousersincr-0011 | Used  | 2,782,895,686 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-10-10 
22:05:28 |
| 136 | apollousersincr-0012 | Used  | 2,898,126,863 |0 
|1,728,000 |   1 |0 | 0 | File  | 2005-10-05 
21:49:40 |
| 143 | apollousersincr-0013 | Used  |   170,845,487 |0 
|1,728,000 |   1 |

Re: [Bacula-users] Restore Problems

2005-10-11 Thread Arno Lehmann

Hello,

On 11.10.2005 09:31, Danie Theron wrote:


Hi , sorry for the long post :)


No worries, I didn't read it :-)

(Only joking)

Wanted to do a test restore , and it seems either my catalog is doing 
funny things , or I messed up in the Pool defs :


+---+---+--+-+--+---+--++ 

| JobId | Level | JobFiles | StartTime   | VolumeName   
| StartFile | VolSessionId | VolSessionTime |
+---+---+--+-+--+---+--++ 

| 2,389 | F |   46,653 | 2005-10-03 19:50:54 | apollousersfull-0007 
| 2 |3 |  1,128,326,240 |

removed some table output
| 2,482 | I |  109 | 2005-10-10 21:32:39 | apollousersincr-0011 
| 0 |3 |  1,128,959,605 |
+---+---+--+-+--+---+--++ 



That's the list of backup jobs run for that client, right?
It used tapes -full-007, -diff-001, and -incr-0011 and -0014.

Now , correct me if I'm wrong , but shouldn't it use the latest full , 
diff , as well as ALL the incr vols?


No, only the incremental ones that actually hold relevant data.
Imagine you only change one file each day, and that file is, 
accordingly, the only one backed up daily. For a restore, you only need 
the latest volume.



Yet if I do a list media :

*list media pool=apollousersincr

...

*list media pool=apollousersdiff

...
There are many volumes in these pools...


If I need to post my confs I can , but here are the defs for this 
spesific Pool :

...
Not sure if I'm just paranoid , stupid , or missing something (it's been 
a long day)


Erm. Possibly :-)

Somehow you forgot to tell us of your problem - what sort of a restore 
do you start, and which volumes does it want to use?


If you want to verify what Bacula does, I found it helpful to do things 
differently:


For example, doing a full restore. I look up the job ids of the last 
full job, the relevant (i.e. latest) differential one, and all the 
incrementals past that one.


Then I listthe volumes which contain data from these jobs. Up till now, 
I could always stop here :-)
The next step would be to compare the file lists for incremental jobs to 
see why incremental volumes don't need to be used - all files stored in 
the relevant jobs should also exist in later incremental backups.


Hope this helps,

Arno




---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
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:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems

2005-10-11 Thread Phil Stracchino
Danie Theron wrote:
 Hi , sorry for the long post :)
 
 Wanted to do a test restore , and it seems either my catalog is doing
 funny things , or I messed up in the Pool defs :
 
 Now , correct me if I'm wrong , but shouldn't it use the latest full ,
 diff , as well as ALL the incr vols?

No.  A Restore should use the latest Full, the latest Differential, and
Incrementals written since that Differential, and ONLY those -- and only
as many of those Incrementals as is necessary to get the latest version
of each changed file.  That's the entire point of Differentials:  that
you DON'T have to restore every Incremental in the catalog.

-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Restore Problems

2005-10-11 Thread Kern Sibbald
On Tuesday 11 October 2005 13:42, Phil Stracchino wrote:
 Danie Theron wrote:
  Hi , sorry for the long post :)
 
  Wanted to do a test restore , and it seems either my catalog is doing
  funny things , or I messed up in the Pool defs :
 
  Now , correct me if I'm wrong , but shouldn't it use the latest full ,
  diff , as well as ALL the incr vols?

 No.  A Restore should use the latest Full, the latest Differential, and
 Incrementals written since that Differential, and ONLY those -- and only
 as many of those Incrementals as is necessary to get the latest version
 of each changed file.  That's the entire point of Differentials:  that
 you DON'T have to restore every Incremental in the catalog.

Yes, exactly.  

In addition, the restore is smart enough to use only the Volumes that are 
necessary to restore the latest version of each file. As a simple example, if 
you have two Incrementals that save the same files, only the second one will 
be used.


-- 
Best regards,

Kern

  (
  /\
  V_V


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] restore problems

2005-08-10 Thread John Huss
Hello,


Can anyone help me with a restore problem please. I'm still trying to
setup bacula for the first time. Backups seem to go ok but when I run a
restore all for any client, the files restored /never/ matches the files
backed up. 

Here's some output:

*from backup*

10-Aug 10:01 dreadnought-dir: Start Backup JobId 35,
Job=conqueror-backup-job.2005-08-10_10.01.43
10-Aug 10:01 dreadnought-sd: Spooling data ...
10-Aug 10:08 dreadnought-sd: Committing spooled data to Volume.
Despooling 864,983,271 bytes ...
10-Aug 10:09 dreadnought-sd: Sending spooled attrs to the Director.
Despooling 75,982,951 bytes ...
10-Aug 10:12 dreadnought-dir: Bacula 1.36.3 (22Apr05): 10-Aug-2005
10:12:21
  JobId:  35
  Job:conqueror-backup-job.2005-08-10_10.01.43
  Backup Level:   Full
  Client: conqueror-fd
  FileSet:ConquerorFileSet 2005-08-10 09:58:36
  Pool:   dreadnought-weekly
  Storage:tapechanger
  Start time: 10-Aug-2005 10:01:45
  End time:   10-Aug-2005 10:12:21
  FD Files Written:   249,522
  SD Files Written:   249,522
  FD Bytes Written:   822,086,825
  SD Bytes Written:   855,295,499
  Rate:   1292.6 KB/s
  Software Compression:   69.8 %
  Volume name(s): dreadnought-weekly0001
  Volume Session Id:  9
  Volume Session Time:1123609564
  Last Volume Bytes:  15,075,069,535
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Backup OK

10-Aug 10:12 dreadnought-dir: Begin pruning Jobs.
10-Aug 10:12 dreadnought-dir: No Jobs found to prune.
10-Aug 10:12 dreadnought-dir: Begin pruning Files.
10-Aug 10:12 dreadnought-dir: No Files found to prune.
10-Aug 10:12 dreadnought-dir: End auto prune.



*from restore*

10-Aug 11:10 dreadnought-sd: End of Volume at file 19 on
device /dev/st0, Volume dreadnought-weekly0001
10-Aug 11:10 dreadnought-sd: End of all volumes.
10-Aug 11:10 dreadnought-dir: Bacula 1.36.3 (22Apr05): 10-Aug-2005
11:10:53
  JobId:  37
  Job:conqueror-restore-job.2005-08-10_10.54.47
  Client: conqueror-fd
  Start time: 10-Aug-2005 10:54:49
  End time:   10-Aug-2005 11:10:53
  Files Expected: 249,522
  Files Restored: 224,468
  Bytes Restored: 2,720,647,867
  Rate:   2822.2 KB/s
  FD Errors:  0
  FD termination status:  OK
  SD termination status:  OK
  Termination:Restore OK -- warning file count mismatch

10-Aug 11:10 dreadnought-dir: Begin pruning Jobs.
10-Aug 11:10 dreadnought-dir: No Jobs found to prune.
10-Aug 11:10 dreadnought-dir: Begin pruning Files.
10-Aug 11:10 dreadnought-dir: No Files found to prune.
10-Aug 11:10 dreadnought-dir: End auto prune.




I've attached my config files in case they can help diagnose the error.
Sorry if I'm being stupid, am just at my wits end now after trying many
things to solve it.

Thanks in advance,



johnny

-- 

John Huss   Tel: +44 (1304) 814800
The Bunker  Fax: +44 (1304) 814899
Ash Radar Station   http://www.thebunker.net
Marshborough Road   mailto:[EMAIL PROTECTED]
Sandwich
Kent
CT13 0PL
UNITED KINGDOM
### Directors (This is what talks to other daemons and hosts)

Director {
  Name = dreadnought-dir
  Description = Main Dreadnought Backup Director 
  DIRport = 9101# where we listen for UA connections
  QueryFile = /var/lib/bacula/query.sql
  WorkingDirectory = /var/bacula
  PidDirectory = /var/run
  Maximum Concurrent Jobs = 1
  Password = CwfOe12bPg+8JXxJdFLnThUumguqecQyA9qk8hzbGnKv # Console password
  Messages = Standard
}



### Job Definitions (options, inherited by Jobs)

JobDefs {
  Name = DefaultBackupJobDefs
  Type = Backup
  Level = Incremental
  Client = dreadnought-fd 
  Schedule = WeeklyCycle
  Storage = tapechanger
  Messages = Standard
  Pool = dreadnought-daily
  Full Backup Pool = dreadnought-weekly
  Incremental Backup Pool = dreadnought-daily
  Spool Data = yes
  Priority = 10
}

JobDefs {
  Name =DefaultRestoreJobDefs
  Type = Restore
  #Where = /store/bacula/restore
  Prefix Links = no
  Priority = 10
  Replace = never
  Messages = Standard  
  Storage = tapechanger
  Pool = dreadnought-daily
  Full Backup Pool = dreadnought-weekly
  Incremental Backup Pool = dreadnought-daily
}

JobDefs {
  Name =DefaultVerifyJobDefs
  Type = Verify
  Where = /store/bacula/restore
  Priority = 10
  Level = VolumeToCatalog
  Messages = Standard
  Storage = tapechanger
  Pool = dreadnought-daily
  Full Backup Pool = dreadnought-weekly
  Incremental Backup Pool = dreadnought-daily
}



### Job Definitions

# Backup the catalog database (after the nightly save)
Job {
  Name = BackupCatalog
  JobDefs = DefaultBackupJobDefs
  Level = Full
  

[Bacula-users] restore problems!

2005-07-04 Thread viktorija
Hello!

I need a help. I have problem with restore. My bacula configuration is 
following. Every day Incremental backup i storage in File, but at saturdays i 
have Incremental backup on storage Archive:
#  section  #0  -  WeeklyCycle
Schedule {
Name = WeeklyCycle
Run = Incremental mon-fri at 22:00
}
#  section  #2  -  ArchCycle
Schedule {
Name = ArchCycle
Run = Incremental sat at 10:00
}

Catalogs are following:
Catalog {   
Name = MyCatalog 
dbname = bacula; user = bacula; password = 
}   
#  section  #1  -  ArchCatalog
Catalog {   
Name = ArchCatalog 
dbname = archive; user = bacula; password = 
}   
As you can see i am using 2 databases for every day cycle and weekend cycle, 
because after 3 month am storage only weekend cycle.
Backups are doing succesefully. 
Restore section is follow:
Job {
Name = RestoreFiles
Type = Restore
Client = backups-fd
FileSet = Full Set
Storage = File 
Pool = Default
Messages = Standard
Where = /tmp/bacula-restores
}

Then i write command restore and choose 5, i see all clients every day clients 
and weekend clients. When i choose one of every day client bacula shows me all 
my files, but when i choose archive client it is shows me:
Select the Client (1-102): 53
The defined FileSet resources are:
Selection is empty!


What am doing wrong? Please help me.
Viktoria


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problems!

2005-07-04 Thread viktorija
Anyone can help me?
It is very important for me :(

In which cases this error occurs?
The defined FileSet resources are:
Selection is empty!

Thanks for your help!

Viktoria
On Mon, 4 Jul 2005 10:21:21 +0300
viktorija [EMAIL PROTECTED] wrote:

 Hello!
 
 I need a help. I have problem with restore. My bacula configuration is 
 following. Every day Incremental backup i storage in File, but at saturdays i 
 have Incremental backup on storage Archive:
 #  section  #0  -  WeeklyCycle
 Schedule {
 Name = WeeklyCycle
 Run = Incremental mon-fri at 22:00
 }
 #  section  #2  -  ArchCycle
 Schedule {
 Name = ArchCycle
 Run = Incremental sat at 10:00
 }
 
 Catalogs are following:
 Catalog {   
 Name = MyCatalog 
 dbname = bacula; user = bacula; password = 
 }   
 #  section  #1  -  ArchCatalog
 Catalog {   
 Name = ArchCatalog 
 dbname = archive; user = bacula; password = 
 }   
 As you can see i am using 2 databases for every day cycle and weekend cycle, 
 because after 3 month am storage only weekend cycle.
 Backups are doing succesefully. 
 Restore section is follow:
 Job {
 Name = RestoreFiles
 Type = Restore
 Client = backups-fd
 FileSet = Full Set
 Storage = File 
 Pool = Default
 Messages = Standard
 Where = /tmp/bacula-restores
 }
 
 Then i write command restore and choose 5, i see all clients every day 
 clients and weekend clients. When i choose one of every day client bacula 
 shows me all my files, but when i choose archive client it is shows me:
 Select the Client (1-102): 53
 The defined FileSet resources are:
 Selection is empty!
 
 
 What am doing wrong? Please help me.
 Viktoria
 
 
 ---
 SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
 from IBM. Find simple to follow Roadmaps, straightforward articles,
 informative Webcasts and more! Get everything you need to get up to
 speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
 ___
 Bacula-users mailing list
 Bacula-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/bacula-users
 
 


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] restore problems!

2005-07-04 Thread Phil Stracchino
On Mon, Jul 04, 2005 at 10:21:21AM +0300, viktorija wrote:
 Hello!
 
 I need a help. I have problem with restore. My bacula configuration is 
 following. Every day Incremental backup i storage in File, but at saturdays i 
 have Incremental backup on storage Archive:
 #  section  #0  -  WeeklyCycle
 Schedule {
 Name = WeeklyCycle
 Run = Incremental mon-fri at 22:00
 }
 #  section  #2  -  ArchCycle
 Schedule {
 Name = ArchCycle
 Run = Incremental sat at 10:00
 }
 
 Catalogs are following:
 Catalog {   
 Name = MyCatalog 
 dbname = bacula; user = bacula; password = 
 }   
 #  section  #1  -  ArchCatalog
 Catalog {   
 Name = ArchCatalog 
 dbname = archive; user = bacula; password = 
 }   
 As you can see i am using 2 databases for every day cycle and weekend cycle, 
 because after 3 month am storage only weekend cycle.
 Backups are doing succesefully. 
 Restore section is follow:
 Job {
 Name = RestoreFiles
 Type = Restore
 Client = backups-fd
 FileSet = Full Set
 Storage = File 
 Pool = Default
 Messages = Standard
 Where = /tmp/bacula-restores
 }
 
 Then i write command restore and choose 5, i see all clients every day 
 clients and weekend clients. When i choose one of every day client bacula 
 shows me all my files, but when i choose archive client it is shows me:
 Select the Client (1-102): 53
 The defined FileSet resources are:
 Selection is empty!


I observe you're using two separate catalogs.  I presume the weekly
cycle is using the main catalog, and the archive jobs use ArchCatalog. 
Are you remembering to switch to the archive catalog before trying to
restore archive jobs?

Another thing you might want to consider is use a single catalog, and
back up the catalog to your archive after each night's backup.  You can
then always restore your entire catalog from the archive in the event
that you lose your catalog.


-- 
 Phil Stracchino   [EMAIL PROTECTED]
Renaissance Man, Unix generalist, Perl hacker
 Mobile: 603-216-7037 Landline: 603-886-3518


---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477alloc_id=16492op=click
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users