backup icon indicating copy to clipboard operation
backup copied to clipboard

RFE: Restore complete folder with all files in it

Open Tronde opened this issue 2 years ago • 4 comments

Hi there,
It's not possible to restore a folder including its content, is it? I tried the following and failed:

www-data@nc_pod:~/html$ ./occ backup:point:restore [Restore Point] --file alice/files/Documents --data data

In ChunkService.php line 925:
                                                        
  [OCA\Backup\Exceptions\ArchiveFileNotFoundException]  
                                                        

backup:point:restore [--force] [--do-not-ask-data] [--do-not-ask-sql] [--file FILE] [--chunk CHUNK] [--data DATA] [--] <pointId>

I'm not sure what's the best approach to restore the folder alice/files/Documents and all of its content. What do you suggest on how to do it?

Tronde avatar Mar 15 '22 19:03 Tronde

As far as I understand, with option --file it's only possible to restore exactly one file at once. It doesn't support complete folders until now.

Vrumf0ndel avatar Mar 21 '22 19:03 Vrumf0ndel

Well, so I don't hold it wrong. Do you think this would be a useful feature, too? This issue could be labled as RFE then to request the possibility to restore whole folders with their content.

Tronde avatar Mar 21 '22 20:03 Tronde

Hi,
I changed the title to mark this issue as RFE. IMHO having the possibility to restore complete folder would be a huge improvement to this app.

What do you think @contributors? Is this something you find useful and would consider for implementing?

Tronde avatar Jun 20 '23 09:06 Tronde