Re: [Bacula-users] restoring from old backup

2018-09-07 Thread Martin Simmons
> On Thu, 6 Sep 2018 16:10:00 +0100, Adam Weremczuk said: > > On 06/09/18 16:00, Martin Simmons wrote: > > >> 3 million files, not one? > >> What am I doing wrong? > > Nothing is wrong -- the regexp is used during the restore to choose which > > files to extract. It has to scan the whole bac

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 06/09/18 16:00, Martin Simmons wrote: 3 million files, not one? What am I doing wrong? Nothing is wrong -- the regexp is used during the restore to choose which files to extract. It has to scan the whole backup to do this, so it selects all files. So definitely only one file will be copied

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Martin Simmons
> On Thu, 6 Sep 2018 11:54:09 +0100, Adam Weremczuk said: > > On 06/09/18 09:21, Adam Weremczuk wrote: > > > For backups  > 65 days < 2 years I can use "restore" command and > > regular expressions to perform searches. > Attempted just now: > > (...) > > Do you want to restore all the fil

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Martin Simmons
> On Thu, 6 Sep 2018 09:40:31 +0100, Adam Weremczuk said: > > On 05/09/18 10:45, Jérôme Blion wrote: > > >> Also, to my surprise, I've just received this message: > >> > >> 05-Sep 09:24 backup_dir JobId 0: Max configured use duration=172,800 > >> sec. exceeded. Marking Volume "LTO-M20120606A

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 06/09/18 09:21, Adam Weremczuk wrote: For backups  > 65 days < 2 years I can use "restore" command and regular expressions to perform searches. Attempted just now: (...) Do you want to restore all the files? (yes|no): no Regexp matching files to restore? (empty to abort): ^/var/log/auth.

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 05/09/18 10:45, Jérôme Blion wrote: Also, to my surprise, I've just received this message: 05-Sep 09:24 backup_dir JobId 0: Max configured use duration=172,800 sec. exceeded. Marking Volume "LTO-M20120606A" as Used. 05-Sep 09:24 backup_dir JobId 0: There are no more Jobs associated with Vo

Re: [Bacula-users] restoring from old backup

2018-09-06 Thread Adam Weremczuk
On 05/09/18 10:45, Jérôme Blion wrote: Check File Retention and Job Retention. I suppose they are much lower than volume retention. That means that you keep the volume but you don't know exactly what's on it because catalog has been cleaned up. Indeed. This is what I found in client's config

Re: [Bacula-users] restoring from old backup

2018-09-05 Thread Martin Simmons
> On Wed, 5 Sep 2018 09:47:17 +0100, Adam Weremczuk said: > > Hi all, > > I'm using Bacula 5.2.6 with LTO-4. > > Today I've tried restoring an single file (/var/log/auth.log) from an > old backup and encountered the following: > > ++---+---+-+---

Re: [Bacula-users] restoring from old backup

2018-09-05 Thread Jérôme Blion
Le 05/09/2018 à 10:56, Adam Weremczuk a écrit : Also, to my surprise, I've just received this message: 05-Sep 09:24 backup_dir JobId 0: Max configured use duration=172,800 sec. exceeded. Marking Volume "LTO-M20120606A" as Used. 05-Sep 09:24 backup_dir JobId 0: There are no more Jobs associated

Re: [Bacula-users] restoring from old backup

2018-09-05 Thread Adam Weremczuk
Also, to my surprise, I've just received this message: 05-Sep 09:24 backup_dir JobId 0: Max configured use duration=172,800 sec. exceeded. Marking Volume "LTO-M20120606A" as Used. 05-Sep 09:24 backup_dir JobId 0: There are no more Jobs associated with Volume "LTO-M20130703A". Marking it purged.

[Bacula-users] restoring from old backup

2018-09-05 Thread Adam Weremczuk
Hi all, I'm using Bacula 5.2.6 with LTO-4. Today I've tried restoring an single file (/var/log/auth.log) from an old backup and encountered the following: ++---+---+-+-++ | JobId  | Level | JobFiles  | JobBytes    | S