Re: [bareos-users] restore is not restoring files

2020-02-20 Thread Bruce Eckstein
After you select a file in Webui 19.2.6, is the restore Job line item 
supposed to be greyed out?

On Wednesday, February 19, 2020 at 5:33:33 PM UTC-5, Bruce Eckstein wrote:
>
> so any suggestions on how to diagnose why Webui is not starting a restore 
> run after selection of the file? 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/8105aeba-9947-4b2c-8f7a-467f6b6c959d%40googlegroups.com.


Re: [bareos-users] restore is not restoring files

2020-02-19 Thread Bruce Eckstein
so any suggestions on how to diagnose why Webui is not starting a restore 
run after selection of the file? 


-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/6ea46936-33bc-4384-a26d-06f00e0343da%40googlegroups.com.


Re: [bareos-users] restore is not restoring files

2020-02-12 Thread aeronex...@gmail.com

Additonal information that probably is a different issue.

I reran the dbcheck after all of the below and found that 14 new 
orphaned Path records were identified.


after fixing these 14 I reran bconsole restore with the one file (which 
succeeded) and then dbcheck and no new path orphans were created.


also reran webui attempt to restore file (which did not succeed) and 
then dbcheck and no new path orphans were created.


all of this is just info hoping it may be helpful but above is probably 
a red herring.


On 2/12/20 9:30 AM, aeronex...@gmail.com wrote:
bconsole succeded in restoring the file. (needed "" marks around the 
MARK definition because of spaces in the path and file definition)


retried webui, it still fails to run.

with webui I tried with the file that has ~100 characters in the path 
(with spaces)- it would not restore (no run created)


I tried with a different file that has 33 characters and no spaces in 
the path or file name and it failed to restore (no run created)


Nothing in the bareos log file after the sucessful bconsole restore.

PS info--

TLS is turned off as I could not get it to work and I only work over 
my local lan. I have done restores before before the latest upgrade to 
19.2.5 - dont think this makes any difference but thought I would 
mention it.


also I use postgres database - again dont know that makes a difference 
but just info.


and thanks for helping me.

On 2/12/20 4:06 AM, Andreas Rogge wrote:

Hi,

what you did in bconsole was not a restore.

Select option 5 "Select the most recent backup for a client", then
select your client.
You will get a restore tree that you can navigate. There you mark your
file and say "done".

This will then ask you how you want your restore run.

Best Regards,
Andreas



--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/f9b4b634-bfb0-e15e-8f63-b924d97f1c94%40gmail.com.


Re: [bareos-users] restore is not restoring files

2020-02-12 Thread aeronex...@gmail.com
bconsole succeded in restoring the file. (needed "" marks around the 
MARK definition because of spaces in the path and file definition)


retried webui, it still fails to run.

with webui I tried with the file that has ~100 characters in the path 
(with spaces)- it would not restore (no run created)


I tried with a different file that has 33 characters and no spaces in 
the path or file name and it failed to restore (no run created)


Nothing in the bareos log file after the sucessful bconsole restore.

PS info--

TLS is turned off as I could not get it to work and I only work over my 
local lan. I have done restores before before the latest upgrade to 
19.2.5 - dont think this makes any difference but thought I would 
mention it.


also I use postgres database - again dont know that makes a difference 
but just info.


and thanks for helping me.

On 2/12/20 4:06 AM, Andreas Rogge wrote:

Hi,

what you did in bconsole was not a restore.

Select option 5 "Select the most recent backup for a client", then
select your client.
You will get a restore tree that you can navigate. There you mark your
file and say "done".

This will then ask you how you want your restore run.

Best Regards,
Andreas



--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/5b17aaf4-c600-56f7-9ad7-ab6e2f445831%40gmail.com.


Re: [bareos-users] restore is not restoring files

2020-02-12 Thread Spadajspadaj
Apache log shows HTTP transactions, not the bareos logs. So the "client" 
in this context is the computer with your web browser. Hence the IP has 
nothing to do with the computer you want to restore.


Regardless of the underlying cause which I don't know, the code you 
provided shows that PHP wants to assign a variable based on data 
provided in request whereas your request (cited in apache log) lacked 
said parameter ('type').



Best Regards

MK

On 11.02.2020 23:08, aeronex...@gmail.com wrote:

I decided to run bareos-dbcheck and found a issues

over 41000 orphaned path records

8 orphaned Fileset records

and 39 Restore Records.

I then fixed the database using bareos-dbcheck.

Still cannot restore the file. I also checked a different file with no 
spaces but still no luck. same bconsole output as before.


I looked at /var/log/apache2/error.log and have a slightly different 
error message than before as follows:


Tue Feb 11 16:40:34.942033 2020] [php7:notice] [pid 8905] [client 
192.168.1.151:46774] PHP Notice:  Undefined index: type in 
/usr/share/bareos-webui/module/Restore/src/Restore/Form/RestoreForm.php 
on line 91, referer: 
https://linux-server/bareos-webui/restore/?jobid=7204=BEE-XPS15-fd=0=0=2000


the difference from before is that the IP address specified is now the 
one from which I am initiating the restore function. also jobid-7204 
is where that file is located. Given it is line 91, does that mean 
somehow the info relevant to the BEE-XPS15-fd is somehow messed up? 
admitted, I really do not understand the program.



On 2/11/20 3:59 PM, aeronex...@gmail.com wrote:
I cannot get bconsole to restore the file either. (I have tried other 
files but no success there either). Bconsole will list it but it will 
not select it for download. below is my final attempt to get bconsole 
to restore the file.



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: Select full restore to a specified Job date
    13: Cancel
Select item:  (1-13): 2
Enter Filename (no path):CSMART Integration v03.docx
+---++-+-+---+--+---+ 

| jobid | name | starttime   | jobtype | jobstatus | jobfiles 
| jobbytes  |
+---++-+-+---+--+---+ 

| 7218  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-07 23:05:01 | B   | T | 8578 | 904808687 |
| 7204  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-05 23:05:02 | B   | T | 6929 | 2004146945    |
| 7197  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-04 23:05:11 | B   | T | 5665 | 1648408939    |
| 7193  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-03 23:05:02 | B   | T | 9602 | 2342841806    |
+---++-+-+---+--+---+ 


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: Select full restore to a specified Job date
    13: Cancel
Select item:  (1-13): 7
Enter file names with paths, or < to enter a filename
containing a list of file names with paths, and Terminate
them with a blank line.
Enter full filename: CSMART Integration v03.docx
No database record found for: CSMART Integration v03.docx

Also looking at web-ui, it shows a RestoreFiles - 

Re: [bareos-users] restore is not restoring files

2020-02-12 Thread Andreas Rogge
Hi,

what you did in bconsole was not a restore.

Select option 5 "Select the most recent backup for a client", then
select your client.
You will get a restore tree that you can navigate. There you mark your
file and say "done".

This will then ask you how you want your restore run.

Best Regards,
Andreas

-- 
  Andreas Rogge andreas.ro...@bareos.com
  Bareos GmbH & Co. KG  Phone: +49 221-630693-86
  http://www.bareos.com

  Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
  Komplementär: Bareos Verwaltungs-GmbH
  Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/08daeee6-c2c4-b723-1cfd-8c80e0c3490c%40bareos.com.


signature.asc
Description: OpenPGP digital signature


Re: [bareos-users] restore is not restoring files

2020-02-11 Thread aeronex...@gmail.com

I decided to run bareos-dbcheck and found a issues

over 41000 orphaned path records

8 orphaned Fileset records

and 39 Restore Records.

I then fixed the database using bareos-dbcheck.

Still cannot restore the file. I also checked a different file with no 
spaces but still no luck. same bconsole output as before.


I looked at /var/log/apache2/error.log and have a slightly different 
error message than before as follows:


Tue Feb 11 16:40:34.942033 2020] [php7:notice] [pid 8905] [client 
192.168.1.151:46774] PHP Notice:  Undefined index: type in 
/usr/share/bareos-webui/module/Restore/src/Restore/Form/RestoreForm.php 
on line 91, referer: 
https://linux-server/bareos-webui/restore/?jobid=7204=BEE-XPS15-fd=0=0=2000


the difference from before is that the IP address specified is now the 
one from which I am initiating the restore function. also jobid-7204 is 
where that file is located. Given it is line 91, does that mean somehow 
the info relevant to the BEE-XPS15-fd is somehow messed up? admitted, I 
really do not understand the program.



On 2/11/20 3:59 PM, aeronex...@gmail.com wrote:
I cannot get bconsole to restore the file either. (I have tried other 
files but no success there either). Bconsole will list it but it will 
not select it for download. below is my final attempt to get bconsole 
to restore the file.



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: Select full restore to a specified Job date
    13: Cancel
Select item:  (1-13): 2
Enter Filename (no path):CSMART Integration v03.docx
+---++-+-+---+--+---+ 

| jobid | name | starttime   | jobtype | jobstatus | jobfiles 
| jobbytes  |
+---++-+-+---+--+---+ 

| 7218  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-07 23:05:01 | B   | T | 8578 | 904808687 |
| 7204  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-05 23:05:02 | B   | T | 6929 | 2004146945    |
| 7197  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-04 23:05:11 | B   | T | 5665 | 1648408939    |
| 7193  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx 
| 2020-02-03 23:05:02 | B   | T | 9602 | 2342841806    |
+---++-+-+---+--+---+ 


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: Select full restore to a specified Job date
    13: Cancel
Select item:  (1-13): 7
Enter file names with paths, or < to enter a filename
containing a list of file names with paths, and Terminate
them with a blank line.
Enter full filename: CSMART Integration v03.docx
No database record found for: CSMART Integration v03.docx

Also looking at web-ui, it shows a RestoreFiles - Full on 3 feb 2020 
which I think is the day I did the upgrade but the last full backup 
was on 1 feb. I did not do a restore of files on 3 feb that I can 
remember of. The above show that it only goes back to 3 feb but should 
at least go back to 1 feb where the full backup occurred (in my opinion).


I also ran .bvfs_update

*.bvfs_update
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

not clear it did anything to me.

there are no messages in the 

Re: [bareos-users] restore is not restoring files

2020-02-11 Thread aeronex...@gmail.com
I cannot get bconsole to restore the file either. (I have tried other 
files but no success there either). Bconsole will list it but it will 
not select it for download. below is my final attempt to get bconsole to 
restore the file.



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: Select full restore to a specified Job date
    13: Cancel
Select item:  (1-13): 2
Enter Filename (no path):CSMART Integration v03.docx
+---++-+-+---+--+---+
| jobid | name | starttime   | jobtype | jobstatus | jobfiles | 
jobbytes  |

+---++-+-+---+--+---+
| 7218  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx | 
2020-02-07 23:05:01 | B   | T | 8578 | 904808687 |
| 7204  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx | 
2020-02-05 23:05:02 | B   | T | 6929 | 2004146945    |
| 7197  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx | 
2020-02-04 23:05:11 | B   | T | 5665 | 1648408939    |
| 7193  | /media/windows/Users/My 
Name/Documents/Projects/VPL-NASA/2020/SOA/CSMART Integration v03.docx | 
2020-02-03 23:05:02 | B   | T | 9602 | 2342841806    |

+---++-+-+---+--+---+
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: Select full restore to a specified Job date
    13: Cancel
Select item:  (1-13): 7
Enter file names with paths, or < to enter a filename
containing a list of file names with paths, and Terminate
them with a blank line.
Enter full filename: CSMART Integration v03.docx
No database record found for: CSMART Integration v03.docx

Also looking at web-ui, it shows a RestoreFiles - Full on 3 feb 2020 
which I think is the day I did the upgrade but the last full backup was 
on 1 feb. I did not do a restore of files on 3 feb that I can remember 
of. The above show that it only goes back to 3 feb but should at least 
go back to 1 feb where the full backup occurred (in my opinion).


I also ran .bvfs_update

*.bvfs_update
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"

not clear it did anything to me.

there are no messages in the /var/log/bareos/bareos/log files for the 
attempts to restore the file either.


Thanks for looking at this.

On 2/11/20 2:28 AM, Andreas Rogge wrote:

Hi,

just to find out whether this is an issue with the webui or the core:
could you run that restore in bconsole and see if it works?

Thank you!

Best Regards,
Andreas

Am 10.02.20 um 22:38 schrieb aeronex...@gmail.com:

Additional information on my issue of not restoring the file.

Looked at apache2 error.log file and found

[Mon Feb 10 16:11:38.842648 2020] [php7:notice] [pid 16230] [client
192.168.1.174:44696] PHP Notice:  Undefined index: type in
/usr/share/bareos-webui/module/Restore/src/Restore/Form/RestoreForm.php
on line 91, referer:
https://linux-server/bareos-webui/restore/?jobid=7232=BEE-XPS15-fd=0=0=2000

Line 91 has

89     // Client
90  if(isset($restore_params['client'])) {
91     if($restore_params['type'] == "client") {

also 192.168.1.174 is the ip of my windows client when my computer is
booted to windows. the windows client has no bareos client definiton and
my laptop is booted to Ubuntu which is BEE-XPS15-fd at 192.168.1.151. So
I have 

Re: [bareos-users] restore is not restoring files

2020-02-10 Thread Andreas Rogge
Hi,

just to find out whether this is an issue with the webui or the core:
could you run that restore in bconsole and see if it works?

Thank you!

Best Regards,
Andreas

Am 10.02.20 um 22:38 schrieb aeronex...@gmail.com:
> Additional information on my issue of not restoring the file.
> 
> Looked at apache2 error.log file and found
> 
> [Mon Feb 10 16:11:38.842648 2020] [php7:notice] [pid 16230] [client
> 192.168.1.174:44696] PHP Notice:  Undefined index: type in
> /usr/share/bareos-webui/module/Restore/src/Restore/Form/RestoreForm.php
> on line 91, referer:
> https://linux-server/bareos-webui/restore/?jobid=7232=BEE-XPS15-fd=0=0=2000
> 
> Line 91 has
> 
> 89     // Client
> 90  if(isset($restore_params['client'])) {
> 91     if($restore_params['type'] == "client") {
> 
> also 192.168.1.174 is the ip of my windows client when my computer is
> booted to windows. the windows client has no bareos client definiton and
> my laptop is booted to Ubuntu which is BEE-XPS15-fd at 192.168.1.151. So
> I have no idea why apache is showing the 192.168.1.174 in the apache2
> error log when doing something with bareos.
> 
> looks like the client is having some sort of problem.
> 
> On 2/10/20 11:38 AM, aeronex...@gmail.com wrote:
>>
>> I am on Bareos 19.2.5 running on Ubuntu 18.04
>>
>> I cannot restore a file. Have tried to restore different files no success.
>>
>> what I have tried.
>> On the restore tab I selected the backup client I wished to restore a
>> file from.
>> I selected the latest incremental backup. (I also tried earlier
>> incremental and the latest full backup)
>> I left the "merge all client filesets", "Merge all related jobs to
>> last full backup of selected backup job" both as Yes
>> Restore to client was to the same client as the backup was made on
>> Restore Job options is greyed out.
>> Replace files on client is set to never
>> Restore location on client is set to /tmp/bareos-restores/
>> (note in previous versions I have done this restore but in this
>> versions it fails to restore the file)
>> with the restore multiple files tab selected, I select the file I wish
>> to restore, I get a window that says
>> A restore job with the parameters given below will be scheduled.
>> *Client:*BEE-XPS15-fd
>> *Restore to client:* BEE-XPS15-fd
>> *Replace files on client:*   never
>> *Restore location on client:*/tmp/bareos-restores/
>> *Directories selected:*  0
>> *Files selected:*1
>>
>>
>> but looking at the dash, no run is created. No file is created in the
>> /tmp directory
>>
>> on the restore specific file version
>> the system does not show there are multiple  in the right hand window
>> box when the file is selected and shows selected in the selected box.
>> I get a no file to restore response.
>>
>> I have found other files that do show options to select different
>> versions of the file.
>> as a test I selected one of those but again, it failed to create a run
>> when restore was selected even though the restore page looked like it
>> should have created a run.
>>
>> I also tried to use bconsole to restore the file by selecting a
>> specific incremental backup and the file, but bconsole failed to
>> restore the file as well.
>> I selected a different client to restore a file, It also failed to
>> create a run.
>>
>> checked the bareos.log file but nothing show in there since my last
>> backup.
>>
>> any ideas what might be wrong in my system?
>>
>> PS - on my upgrade to 19.2.5 from previous (i think it was
>> 18.something), the upgrade failed at the point where it asked me if I
>> wanted the new configuration or keep my old configuration. I decided
>> to look at the difference but did not figure the correct way out of
>> the window I was in (ok I should probably have hit Q). So I terminated
>> the window. At any rate, Bareos then told me there was a problem with
>> the database and I discovered that in the Bareos scripts directory
>> there was a file update_bareos_tables file with a date of the Ubuntu
>> update I was doing. I executed that file (as user bareos) and things
>> seemed to be working but I suspect that there is something missing in
>> the update that is causing my restore problems.
>>
>> thanks for any help.
>>
>>
> -- 
> You received this message because you are subscribed to the Google
> Groups "bareos-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bareos-users+unsubscr...@googlegroups.com
> .
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bareos-users/9a8b0730-4f2a-25db-5eea-fbb09dd0dc23%40gmail.com
> .

-- 
  Andreas Rogge andreas.ro...@bareos.com
  Bareos GmbH & Co. KG  Phone: +49 221-630693-86
  http://www.bareos.com

  Sitz der 

Re: [bareos-users] restore is not restoring files

2020-02-10 Thread aeronex...@gmail.com

Additional information on my issue of not restoring the file.

Looked at apache2 error.log file and found

[Mon Feb 10 16:11:38.842648 2020] [php7:notice] [pid 16230] [client 
192.168.1.174:44696] PHP Notice:  Undefined index: type in 
/usr/share/bareos-webui/module/Restore/src/Restore/Form/RestoreForm.php 
on line 91, referer: 
https://linux-server/bareos-webui/restore/?jobid=7232=BEE-XPS15-fd=0=0=2000


Line 91 has

89     // Client
90  if(isset($restore_params['client'])) {
91     if($restore_params['type'] == "client") {

also 192.168.1.174 is the ip of my windows client when my computer is 
booted to windows. the windows client has no bareos client definiton and 
my laptop is booted to Ubuntu which is BEE-XPS15-fd at 192.168.1.151. So 
I have no idea why apache is showing the 192.168.1.174 in the apache2 
error log when doing something with bareos.


looks like the client is having some sort of problem.

On 2/10/20 11:38 AM, aeronex...@gmail.com wrote:


I am on Bareos 19.2.5 running on Ubuntu 18.04

I cannot restore a file. Have tried to restore different files no success.

what I have tried.
On the restore tab I selected the backup client I wished to restore a 
file from.
I selected the latest incremental backup. (I also tried earlier 
incremental and the latest full backup)
I left the "merge all client filesets", "Merge all related jobs to 
last full backup of selected backup job" both as Yes

Restore to client was to the same client as the backup was made on
Restore Job options is greyed out.
Replace files on client is set to never
Restore location on client is set to /tmp/bareos-restores/
(note in previous versions I have done this restore but in this 
versions it fails to restore the file)
with the restore multiple files tab selected, I select the file I wish 
to restore, I get a window that says

A restore job with the parameters given below will be scheduled.
*Client:*   BEE-XPS15-fd
*Restore to client:*BEE-XPS15-fd
*Replace files on client:*  never
*Restore location on client:*   /tmp/bareos-restores/
*Directories selected:* 0
*Files selected:*   1


but looking at the dash, no run is created. No file is created in the 
/tmp directory


on the restore specific file version
the system does not show there are multiple  in the right hand window 
box when the file is selected and shows selected in the selected box. 
I get a no file to restore response.


I have found other files that do show options to select different 
versions of the file.
as a test I selected one of those but again, it failed to create a run 
when restore was selected even though the restore page looked like it 
should have created a run.


I also tried to use bconsole to restore the file by selecting a 
specific incremental backup and the file, but bconsole failed to 
restore the file as well.
I selected a different client to restore a file, It also failed to 
create a run.


checked the bareos.log file but nothing show in there since my last 
backup.


any ideas what might be wrong in my system?

PS - on my upgrade to 19.2.5 from previous (i think it was 
18.something), the upgrade failed at the point where it asked me if I 
wanted the new configuration or keep my old configuration. I decided 
to look at the difference but did not figure the correct way out of 
the window I was in (ok I should probably have hit Q). So I terminated 
the window. At any rate, Bareos then told me there was a problem with 
the database and I discovered that in the Bareos scripts directory 
there was a file update_bareos_tables file with a date of the Ubuntu 
update I was doing. I executed that file (as user bareos) and things 
seemed to be working but I suspect that there is something missing in 
the update that is causing my restore problems.


thanks for any help.




--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9a8b0730-4f2a-25db-5eea-fbb09dd0dc23%40gmail.com.


Re: [bareos-users] restore is not restoring files

2020-02-10 Thread aeronex...@gmail.com

I am on Bareos 19.2.5 running on Ubuntu 18.04

I cannot restore a file. Have tried to restore different files no success.

what I have tried.
On the restore tab I selected the backup client I wished to restore a 
file from.
I selected the latest incremental backup. (I also tried earlier 
incremental and the latest full backup)
I left the "merge all client filesets", "Merge all related jobs to last 
full backup of selected backup job" both as Yes

Restore to client was to the same client as the backup was made on
Restore Job options is greyed out.
Replace files on client is set to never
Restore location on client is set to /tmp/bareos-restores/
(note in previous versions I have done this restore but in this versions 
it fails to restore the file)
with the restore multiple files tab selected, I select the file I wish 
to restore, I get a window that says

A restore job with the parameters given below will be scheduled.
*Client:*   BEE-XPS15-fd
*Restore to client:*BEE-XPS15-fd
*Replace files on client:*  never
*Restore location on client:*   /tmp/bareos-restores/
*Directories selected:* 0
*Files selected:*   1


but looking at the dash, no run is created. No file is created in the 
/tmp directory


on the restore specific file version
the system does not show there are multiple  in the right hand window 
box when the file is selected and shows selected in the selected box. I 
get a no file to restore response.


I have found other files that do show options to select different 
versions of the file.
as a test I selected one of those but again, it failed to create a run 
when restore was selected even though the restore page looked like it 
should have created a run.


I also tried to use bconsole to restore the file by selecting a specific 
incremental backup and the file, but bconsole failed to restore the file 
as well.
I selected a different client to restore a file, It also failed to 
create a run.


checked the bareos.log file but nothing show in there since my last backup.

any ideas what might be wrong in my system?

PS - on my upgrade to 19.2.5 from previous (i think it was 
18.something), the upgrade failed at the point where it asked me if I 
wanted the new configuration or keep my old configuration. I decided to 
look at the difference but did not figure the correct way out of the 
window I was in (ok I should probably have hit Q). So I terminated the 
window. At any rate, Bareos then told me there was a problem with the 
database and I discovered that in the Bareos scripts directory there was 
a file update_bareos_tables file with a date of the Ubuntu update I was 
doing. I executed that file (as user bareos) and things seemed to be 
working but I suspect that there is something missing in the update that 
is causing my restore problems.


thanks for any help.


--
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bareos-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bareos-users/9fc7f9de-e510-422e-ee83-cb6360b1bd03%40gmail.com.