Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Option to disable Backup prior to upgrade via web updater #22645

Closed
sourcenux opened this issue Sep 7, 2020 · 5 comments
Closed
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement

Comments

@sourcenux
Copy link

Is your feature request related to a problem? Please describe.
When doing an upgrade of nextcloud instances, that contain some gigabytes of data always take pretty long, because the web-updater seems to create a backup of all files contained in that instance.

Describe the solution you'd like
I would like to see an option to disable creating backups prior to the upgrade, to use the web-updater in conjunction with larger instances.

Describe alternatives you've considered
Obviously the recommended way to upgrade larger instances is to use the cli-based updater. But this is less convenient than using the web updater and it is also not a suitable way to upgrade, if you do not have shell access.

@sourcenux sourcenux added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Sep 7, 2020
@kesselb
Copy link
Contributor

kesselb commented Sep 7, 2020

Thanks for reaching out 👍

Closing your report in favor of
nextcloud/updater#285

@kesselb kesselb closed this as completed Sep 7, 2020
@kesselb
Copy link
Contributor

kesselb commented Sep 7, 2020

For the cli updater it's also possible to skip the backup (--no-backup) because most people have a backup anyway.

@LicoMonch
Copy link

For the cli updater it's also possible to skip the backup (--no-backup) because most people have a backup anyway.

@kesselb

$ sudo -u www-data php updater.phar --no-backup


  [Symfony\Component\Console\Exception\RuntimeException]
  The "--no-backup" option does not exist.


update

🤔🤔🤔

@kesselb
Copy link
Contributor

kesselb commented Sep 8, 2020

nextcloud/updater#292

It's new. Maybe not available for older releases yet.

@LicoMonch
Copy link

ah ok, I see, that was merged into 19 after the last release
thanks for the info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement
Projects
None yet
Development

No branches or pull requests

3 participants