Overview
I had the opportunity to update Drupal on a Sakura rental server, so this is a memo of the procedure.
First, I referenced the following site.
https://www.drupal.org/docs/updating-drupal/updating-drupal-core-via-drush
However, it contained the following note.
Use Composer to manage Drupal dependencies. Drush 9 and newer no longer supports updating Drupal.
So I also referenced the following.
https://drupalfan.com/drupal10を最新版にアップデートする/
Procedure
!
The procedure may contain incorrect or unnecessary steps, so please use it as a reference only.
Navigate to the directory where Drupal was downloaded.
Preparation (Not needed if already installed)
composer
If only a composer.phar file exists, create composer. (You could also use mv.)
drush
Enabling Maintenance Mode
Clearing Cache
Backup
Create a directory for backups.
SQL Backup
Reference
Without specifying --extra-dump=--no-tablespaces, the following error message was displayed.
File Backup
Update
Pre-check
Update
0
Updating Contributed Modules
1
Database Update
2
Disabling Maintenance Mode
3
Clearing Cache
4
Without clearing the cache after the update, the display could sometimes break.
Summary
The procedure may contain incorrect or unnecessary steps, but I hope you find it helpful.