Database dump and PHP upgrade prior to upgrade

Hello,
We are about to do an upgrade to version 3.1.1 this weekend, and as we have built up quite a large database of our collections, we want to make sure we have a backup.

I am just checking if the command line code to backup the database is the most generic such as the one below or if there are any special options I need to activate to make sure we can rely on the backup :

sudo mysqldump -u [user] -p [database_name] > [filename].sql

Or is it better to use the phpMyAdmin?

While on the PhP subject, we have version

	7.2.34-26+ubuntu18.04.1+deb.sury.org+1

Should we upgrade that as well (to 8.0.13) prior to upgrading Omeka or can we stay as is for now?

Thanks,
Sanjin

Simply using mysqldump as you show should be fine. PHPMyAdmin is a fine choice also.

You can stay with PHP 7.2 if you like, or move to 8.0. Both are currently supported by Omeka S 3.1.0+.

1 Like

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.