Skip to content

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

@meyergru

Description

@meyergru

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: #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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions