Hi Martin,

On further inspection, the command I am using below only restored directories 
in my restore list but not their subdirectories.

*restore jobid=455,456,457,458,459,460,461,462,463 
directory=</etc/bacula/restore/restore_list.txt where=/nfs/testing/test_restore 
select current done yes

Do you or anyone else have any ideas how to get the sub-directories to restore 
also?

Thanks

Murray


-----Original Message-----
From: Murray Trainer <[email protected]>
Sent: Friday, 30 October 2020 12:46 PM
To: Martin Simmons <[email protected]>
Cc: [email protected]
Subject: Re: [Bacula-users] Issue restoring directory contents from restore 
list file

Thanks Martin.  That appears to have worked.  Directories and their contents 
are now restoring.  Not sure why there is no mention of that option in the man 
page for that version of Bacula?

Murray

-----Original Message-----
From: Martin Simmons <[email protected]>
Sent: Thursday, 29 October 2020 7:50 PM
To: Murray Trainer <[email protected]>
Cc: [email protected]
Subject: Re: [Bacula-users] Issue restoring directory contents from restore 
list file

Try changing

file=</etc/bacula/restore/restore_list.txt

to

directory=</etc/bacula/restore/restore_list.txt

__Martin


>>>>> On Thu, 29 Oct 2020 07:24:34 +0000, Murray Trainer said:
>
> Hi All,
>
> I am using Bacula 7.0.5-7 on CentOS 7.6.1810.  I am trying to restore
> a list of 200 directories and their contents from bconsole.  I have
> tried various command lines including the one below but all that gets
> restored is the empty directories *restore
> jobid=455,456,457,458,459,460,461,462,463
> file=</etc/bacula/restore/restore_list.txt
> where=/nfs/testing/test_restore select current done yes
>
> The restore list contains a list of directories in the form below
>
> /nfs/slurp/b5204186/
>
> As there are 200 directories I don't want to do this interactively having to 
> mark each one to have it's contents restored.
>
> Is there any way to restore all the directories and their contents using the 
> restore list file?
>
> Thanks
>
> Murray
>
>
> [Department of Local Government, Sport and Cultural Industries logo]
>
>
[Department of Local Government, Sport and Cultural Industries logo]



_______________________________________________
Bacula-users mailing list
[email protected]
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fbacula-users&amp;data=04%7C01%7Cmurray.trainer%40dlgsc.wa.gov.au%7Cf4fb3ff31bcb46ef10ed08d87c92cf35%7Cc1ae0ae2d5044287b6f47eafd6648d22%7C0%7C0%7C637396317302879639%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Cijn3MgVUn9e5iDtFskLnDpq6sJzGge5dazjlaU%2F%2FUQ%3D&amp;reserved=0
[Department of Local Government, Sport and Cultural Industries logo]



_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to