Upload fails on backup to remote server
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
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.
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,
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
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.
More from nextcloud/backup
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
Update to NX 32 Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Update to NX 30 Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in nextcloud/backup
Similar issues
-
jira-created
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
nunomaduro/phpinsights#745 ·
-
status/awaiting_triage
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
WordPress/plugin-check#1486 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
az-digital/az_quickstart#6019 ·