/* Pmsg1(000, "Restoring: %s\n", ofile); */
extract = create_file(jcr, fname, ofile, lname, type, stream,
- &statp, attribsEx, &ofd);
+ &statp, attribsEx, &ofd, REPLACE_ALWAYS);
num_files++;
if (extract) {
fileAddr += wsize;
}
- } else if (rec->Stream == STREAM_GZIP_DATA) {
+ } else if (rec->Stream == STREAM_GZIP_DATA || rec->Stream == STREAM_SPARSE_GZIP_DATA) {
#ifdef HAVE_LIBZ
if (extract) {
uLongf compress_len;