RFE: Restore complete folder with all files in it
Open
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the backup:point:restore command and the ArchiveFileNotFoundException reported at ChunkService.php line 925. Determine how the --file option currently handles a folder path and what is needed to restore alice/files/Documents with all contents. Done means the restore command successfully handles the complete folder without that exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100