nextcloud / nextcloud/backup

Could not create restore.php

Open
#287 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
272
Forks
37
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have a Nextlcoud (23.0.4) running in a LXC.
I want to store the backups on a network drive (via smb) that I have mounted in the external storage app (1.0.6). The location of the AppData and the backups are different subfolders in the network drive. When I start a backup via the terminal, I get the following error after 'Preparing internal data':
In ChunkService.php line 742:
Could not create restore.php

Does anyone have a solution?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ChunkService.php around line 742 and reproduce the terminal backup using the SMB-mounted external storage described in the report. Trace why restore.php cannot be created when AppData and backups use different network-drive subfolders. Done means the backup completes without the reported error in that configuration.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.