opnsense / opnsense/plugins

os-nextcloud-backup 1.1 changes modus operandi and causes problems for existing backup schemes

Open
#5,181 40 comments 4 reactions 1 assignee View on GitHub

@fichtner is already working on this.

Since Feb 25, 2026.

feature
Dominant language
PHP
Stars
1.2k
Forks
863
Avg merge
2d 6h
Merged PRs (30d)
10

Description

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

This pull request: https://github.com/opnsense/plugins/pull/4952 updated os-nextcloud-backup from1.0_1 to 1.1 and changed its way of operation in that:

  1. The generated filenames do not include the machine name any more. If multiple machines are backup up to the same target, files cannot be attributed to their source any more.
  2. Generated filenames do not include a human-readble timestamp any more, so that is much harder to find a suitable restore point in case one knows the date before something went awry.
  3. There is not one file per backup any more, such that automatic rules to delete older files after a time limit or only retain a fixed number of files, break.
  4. I also had sftp and git backup enabled, which in combination with 3. resulted in two files (symlinks?) named sftp and git were present in the backup folder. I think this has to do with multiple files of all revisions are now being uploaded.

All in all, my impression is that there was an incompatible change introduced which serves a specific purpose, but breaks many others, see also:

https://forum.opnsense.org/index.php?topic=50636.0

Describe the solution you'd like

IMHO, the change should be undone completely or superseded by a means to have the new scheme as an option only, not as the new default on how this thing works.

Describe alternatives you've considered
None

Additional context

You can have the old behaviour back by using:

opnsense-patch -c update fbe231e8f5
opnsense-code -uo sysutils/nextcloud-backup -r 25.7 plugins
pkg lock os-nextcloud-backup-1.0_1
configctl webgui restart

which replaces the new package and locks it until this will be reverted or fixed.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.