Upload fails on backup to remote server
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
When my full restore point is done compressing, encrypting and packing it fails to upload. I have set a remote sftp connection as the destination for my backups. When I run the backup:point:upload command to upload my restore point I get this error:
* Creating Restoring Point on external folder: Could not create path
! cannot create restoring point
! issue while checking external folder: OCP\Files\NotPermittedException Could not create path
The message says it could not create path, but on the destination side I see the following files created in the directory named after my restore point:
-rw-r--r-- 1 ... 0 Sep 1 16:29 .nobackup
-rw-r--r-- 1 ... 0 Sep 1 16:29 .noindex
-rw-r--r-- 1 ... 0 Sep 1 16:29 restoring-point.data
That's all that gets created there before it errors out.
I've been having this issue forever and I was hoping the new update to 1.1.3 will fix this. Before the update when upload failed I got a different error message than the one above.
I appreciate it if someone has a solution to this.
Thanks,
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 by reproducing the backup:point:upload command with the configured remote SFTP destination and inspect the reported OCP\Files\NotPermittedException. Compare the destination contents after the failure with the expected restore-point upload flow. Done means the full restore point uploads successfully without the path-creation error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100