Dear all the error message was indeed not related to the command itself. After rebooting, it vanished.
The partial restore of a directory tree I realized using grep. I wonder, it there are more convenient approaches: > echo "list files jobid=3107" | bconsole -c /etc/bareos | grep 'etc' | sed -e 's/^\ //g' > /tmp/filelist.txt > bconsole -c /etc/bareos | * restore where=/tmp/ restoreclient=utron1-fd client=utron1-fd storage=TapeStorage2 restorejob=RestoreFilesUtron1 jobid=3107 replace=always file=</tmp/filelist.txt Remark: bconsole produces a leading space as beginning of each line. The regular expression of the sed command weeds it out... So again, if the same can be accomplished by using bconsole exclusively, I would be interested in learning about it. Many thanks Tilman On Wednesday, March 30, 2022 at 1:52:41 AM UTC+2 [email protected] wrote: > I would like to restore only a part of a backup, i.e. a directory and its > subdirectories. How would I do this? The file parameter seems to only work > for one file. Do I do this with ? > > restore where=/tmp restoreclient=restore-fd client=client-fd > storage=TapeStorage2 restorejob=RestoreFilesClient jobid=3107 > replace=never directory=/etc/ > > Here I get an error message which might point to a different problem and > not be related to the command itself: > Forward spacing Volume "PRV012L4" to file:block 0:1. > Error: stored/block.cc:1056 Read error on fd=8 at file:blk 0:1 on device > "TapeDrive2" (/dev/tape/by-id/scsi-3500110a00093f7ed-nst). ERR=Cannot > allocate memory. > Releasing device "TapeDrive2" > (/dev/tape/by-id/scsi-3500110a00093f7ed-nst). > Fatal error: stored/fd_cmds.cc:235 Command error with FD, hanging up. > Connected Storage daemon at restore.fritz.box:9103, encryption: > TLS_AES_256_GCM_SHA384 TLSv1.3 > > > Thanks > Tilman > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/e2260939-2760-442e-848c-57528eb5ef95n%40googlegroups.com.
