View Issue Details

IDProjectCategoryView StatusLast Update
0000561bareos-corewebuipublic2016-01-22 15:24
ReporterAles999 Assigned To 
PrioritynormalSeveritymajorReproducibilityhave not tried
Status closedResolutionsuspended 
PlatformLinuxOSDebianOS Version8
Summary0000561: Not restore file from webacula
Description*version
r59fsmg1-dir Version: 14.2.1 (12 September 2014) x86_64-pc-linux-gnu debian Debian GNU/Linux 8.1 (jessie)
*
A'm using two client:
1) r59fsmg1-fd (Local linux)
2) sadykovpc-fd (Windows PC)

If "Restore the most recent backup (or before a specified time) for a client" from webacula:

Director output:
Connecting to Director r59fsmg1:9101
1000 OK: r59fsmg1-dir Version: 14.2.1 (12 September 2014)
Enter a period to cancel a command.
@#
@# RestorejobController::runRestoreRecentAction
@#
restore client="sadykovpc-fd" restoreclient="sadykovpc-fd" storage="File" fileset="sadykovpc-fileset" current file=?"webacula_tmp_file_17c3433fecc21b57000debdf7ad5c930" done yes
Using Catalog "MyCatalog"
Bootstrap records written to /var/lib/bareos/r59fsmg1-dir.restore.6.bsr

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

    sadykovpc-pool-Differential-0015 File FileStorage

Volumes marked with "*" are online.


1 file selected to be restored.

The defined Restore Job resources are:
     1: r59fsmg1-restore
     2: sadykovpc-restore
Select Restore Job (1-2):
Expected a positive integer, got:

Select Restore Job (1-2): @quit

When two bug:
1)
> Bootstrap records written to /var/lib/bareos/r59fsmg1-dir.restore.6.bsr
Why 'Bootstrap records written to /var/lib/bareos/r59fsmg1-dir.restore.6.bsr' if resored sadykovpc-fd ?
2) Why ask restore-job and break process create job ?
Steps To Reproduce1) #git clone https://github.com/bareos/contrib-webacula.git webacula
2) install, modify config, and create tables with mysql
3) login to webacula as root and change passwd
4) run jobs for backup, with r59fsmg1-backup and sadykovpc-backup from bconsole
5) In webacula:
'Restore' -> 'Restore the most recent backup for a client' -> set 'Client' and 'Fileset' and 'Select Files for Restore' -> Next -> Next -> Mark file for restored -> 'Restore Job...' -> set 'Client', 'Restore client', 'Restore client' and 'Storage' -> 'Run Restore Job' -> Bam! :-(
Additional InformationFile correct restored with 'Bareos Admin Tools' when set correct Job

My client config files attached

PS Please sorry for my bad english.
TagsNo tags attached.

Activities

Ales999

Ales999

2015-11-11 11:09

reporter  

bareos-dir.d.tar.gz (1,198 bytes)
frank

frank

2015-11-12 12:06

developer   ~0001956

I feel sorry, but webacula is in contrib for historical reasons only and we don't put any more effort into it.

I would recommend using bareos-webui instead as it's under active development and supported by us.
Ales999

Ales999

2015-11-12 18:27

reporter   ~0001957

What a pity, but on a certain functionality, at the moment, it is ideal for installation in a small office, where there is no system administrator. Actually the problem is the presence of two "-restore" tasks, even though they are specified for each of the client. The solution in the automatic definition of "-restore" tasks to the same it has a particular client, and thin 'bconsole' will not ask this question, and everything will work perfectly.

I'm trying to understand how he is changed, but not very well understand the structure of the project and what should be changed.
frank

frank

2015-12-18 12:18

developer   ~0002042

If you like, please let us know what you are still missing in bareos-webui for a full replacement of webacula, so we can improve things and probably satisfy your needs.

Issue History

Date Modified Username Field Change
2015-11-11 11:09 Ales999 New Issue
2015-11-11 11:09 Ales999 Status new => assigned
2015-11-11 11:09 Ales999 Assigned To => frank
2015-11-11 11:09 Ales999 File Added: bareos-dir.d.tar.gz
2015-11-12 12:06 frank Note Added: 0001956
2015-11-12 12:06 frank Status assigned => feedback
2015-11-12 18:27 Ales999 Note Added: 0001957
2015-11-12 18:27 Ales999 Status feedback => assigned
2015-12-18 12:18 frank Note Added: 0002042
2015-12-18 12:18 frank Status assigned => feedback
2016-01-22 15:24 frank Status feedback => closed
2016-01-22 15:24 frank Assigned To frank =>
2016-01-22 15:24 frank Resolution open => suspended