DB Backup out of date? 5.0.3

If you aren't speaking german, you can ask for support or post your request here.
Antworten
RVice
Beiträge: 65
Registriert: 3. Mai 2021, 21:13

DB Backup out of date? 5.0.3

Beitrag von RVice »

I was reviewing these instructions to backup the database, but it looks like this option no longer exists in the menu (at least via the screenshots) and I was unable to navigate to where I thought it might be.

https://www.admidio.org/dokuwiki/doku.p ... herstellen

How do we make a backup now? Is it to download it and then put it into a folder to restore?
pboosten
Beiträge: 30
Registriert: 31. Okt 2023, 21:47

Re: DB Backup out of date? 5.0.3

Beitrag von pboosten »

It's still there in my installations:

UPDATE: I stand corrected. I have one installation with that option, the other one doesn't. The difference between the two is that one uses mysql as database (the one with the backup option), the one without the option uses postgresql.

Configuration -> Information, underneath the 'check for update' link.
Scherm­afbeelding 2026-01-29 om 05.54.07.png
Scherm­afbeelding 2026-01-29 om 05.54.07.png (192.79 KiB) 6915 mal betrachtet
mfg,

Peter
RVice
Beiträge: 65
Registriert: 3. Mai 2021, 21:13

Re: DB Backup out of date? 5.0.3

Beitrag von RVice »

Peter, that "download database" is not the same as the "backup database" from before. The backup database before would place the tarball in the adm_my_files folder, but that features seems to have been removed.
pboosten
Beiträge: 30
Registriert: 31. Okt 2023, 21:47

Re: DB Backup out of date? 5.0.3

Beitrag von pboosten »

Hi RVice,

You probably don't speak Dutch, but the line underneath the 'Download Database backup' reads: 'you can create a backup or download it'.

Actually just tried it: it creates a gzipped sql file in /adm_my_files/temp en immediately gives me the option to download the file. It doesn't place the file in /adm_my_files/backup.

Remains the mystery why the other instance hasn't this option. There are differences though:
- the mysql instance was an upgrade
- the postgresql instance was a fresh install

I've tried to browse through the adm_my_files/*, however there are no differences, except the backup directory was non-existing in the new install.
mfg,

Peter
pboosten
Beiträge: 30
Registriert: 31. Okt 2023, 21:47

Re: DB Backup out of date? 5.0.3

Beitrag von pboosten »

mystery solved: in /modules/preferences.php it's clearly stated that you only can make backups when using mysql.

Code: Alles auswählen

        case 'backup':
            // function not available for other databases except MySQL
            if (DB_ENGINE !== Database::PDO_ENGINE_MYSQL) {
                throw new Exception('SYS_MODULE_DISABLED');
            }
mfg,

Peter
Antworten