View Issue Details

IDProjectCategoryView StatusLast Update
0000902bareos-corestorage daemonpublic2018-08-20 15:36
Reporterjoergs Assigned Tojoergs  
PrioritynormalSeverityminorReproducibilitysometimes
Status closedResolutionfixed 
PlatformLinuxOSRHELOS Version7
Product Version17.2.4 
Fixed in Version17.2.7 
Summary0000902: bareos-storage-droplet: immediate restore fails, works after some seconds
DescriptionWhen using the bareos-storage-droplet, it happens that even marks a backup job as finished successfully, an immediate restore fails, because not all data has been written using the droplet backend.
Additional InformationWorkaround:
  * wait some seconds after a backup job before trying to restore it
TagsNo tags attached.

Relationships

related to 0000892 closed bareos-storage-droplet: if configured with unreachable S3 system, backup will terminate with OK 
child of 0000966 closedjoergs Release bareos-17.2.7 

Activities

joergs

joergs

2018-07-18 17:16

developer   ~0003076

Fixed.

Script
#!/bin/bash

RESULT=$(bconsole <<< "run job=backup-s3-fd level=Full yes")
JOBID=$(sed -r -n -e 's/Job queued. JobId=(.*)/\1/p' <<< "$RESULT")
echo "jobid=\"$JOBID\""
bconsole <<< "wait jobid=$JOBID"
bconsole <<< "restore jobid=$JOBID all done yes where=/tmp/$JOBID/"

do run successfully.
joergs

joergs

2018-07-18 17:17

developer   ~0003077

Will also be fixed in master, as soon as bareos-17.2 is merged into it.

Issue History

Date Modified Username Field Change
2018-01-31 18:14 joergs New Issue
2018-01-31 18:15 joergs Relationship added related to 0000892
2018-06-19 18:33 joergs Assigned To => joergs
2018-06-19 18:33 joergs Status new => assigned
2018-06-19 18:34 joergs Assigned To joergs =>
2018-06-19 18:34 joergs Status assigned => confirmed
2018-06-19 18:41 joergs Relationship added child of 0000966
2018-07-18 17:16 joergs Note Added: 0003076
2018-07-18 17:16 joergs Status confirmed => resolved
2018-07-18 17:16 joergs Fixed in Version => 17.2.7
2018-07-18 17:16 joergs Resolution open => fixed
2018-07-18 17:16 joergs Assigned To => joergs
2018-07-18 17:17 joergs Assigned To joergs =>
2018-07-18 17:17 joergs Note Added: 0003077
2018-08-20 15:36 joergs Status resolved => closed
2018-08-20 15:36 joergs Assigned To => joergs