Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Backup Settings lost on upgrade

admin

Solved by pamtbaau View solution

Started by Simon 5 years ago · 3 replies · 838 views
5 years ago

In the Admin plugin, there is a backup settings page, these settings are lost when an site upgrade is performed. I thought the first time I could have done something but this time they changed back to defaults without any input from me.

Anyone else have this or is there something wrong with my installations?

5 years ago

Another update today and again all the settings were lost in the backup page.

5 years ago Solution

@SimonJ, This seems to be an error because when saving backup setting via Admin, the file /system/config/backups.yaml is being updated. And this file will be overridden when Grav is updated.

The settings should be saved in /user/config/backups.yaml (See Backup docs)

I've logged an issue at the repo of Admin.

last edited 09/01/21 by pamtbaau
5 years ago

Ah, OK that makes sense, it also gives me a file to backup and restore with the settings in.
Thank you.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by DrPen, 1 month ago
2 405 4 weeks ago
Plugins · by renedebaaij, 1 month ago
1 308 1 month ago
Plugins · by Thomas, 1 month ago
1 330 1 month ago
Plugins · by complanar, 2 months ago
6 655 2 months ago
Plugins · by BenLaKnet, 2 months ago
1 582 2 months ago