Girtlab-backup restore : rake aborted!

Hi,

I want to restore a backup of gitlab to an other gitlab instance.
gitlab version : 17.4 (docker)

For the backup I do
docker container exec -t gitlabp gitlab-backup create BACKUP=dc1 GZIP_RSYNCABLE=yes

For the restore, I copy the tar file on the directory /var/opt/gitlab/backups of the gitlab intance target and the I do

docker container exec -e GITLAB_ASSUME_YES=1 -t gitlabp gitlab-backup restore BACKUP=dc1 force=yes --trace

And I have the following error :

** Invoke gitlab:backup:restore (first_time)
** Invoke gitlab_environment (first_time)
** Execute gitlab_environment
** Invoke environment (first_time)
** Execute environment
** Execute gitlab:backup:restore
2025-01-17 14:38:01 UTC -- Unpacking backup ...
2025-01-17 14:39:18 UTC -- Unpacking backup ... done
2025-01-17 14:39:18 UTC -- Restoring database ...
2025-01-17 14:39:18 UTC -- Cleaning the database ...
** Invoke gitlab:db:drop_tables (first_time)
** Invoke environment
** Execute gitlab:db:drop_tables
2025-01-17 14:39:25 UTC -- done
2025-01-17 14:39:25 UTC -- Restoring PostgreSQL database GITP ...
2025-01-17 14:39:25 UTC -- [DONE]
2025-01-17 14:39:25 UTC -- Source backup for the database ci doesn't exist. Skipping the task
2025-01-17 14:39:25 UTC -- Restoring database ... done
2025-01-17 14:39:25 UTC -- Restoring repositories ...
2025-01-17 14:39:26 UTC -- Deleting tar staging files ...
2025-01-17 14:39:26 UTC -- Cleaning up /var/opt/gitlab/backups/backup_information.yml
2025-01-17 14:39:26 UTC -- Cleaning up /var/opt/gitlab/backups/db
2025-01-17 14:39:26 UTC -- Cleaning up /var/opt/gitlab/backups/repositories
2025-01-17 14:39:27 UTC -- Cleaning up /var/opt/gitlab/backups/uploads.tar.gz
2025-01-17 14:39:27 UTC -- Cleaning up /var/opt/gitlab/backups/builds.tar.gz
2025-01-17 14:39:27 UTC -- Cleaning up /var/opt/gitlab/backups/artifacts.tar.gz
2025-01-17 14:39:29 UTC -- Cleaning up /var/opt/gitlab/backups/pages.tar.gz
2025-01-17 14:39:29 UTC -- Cleaning up /var/opt/gitlab/backups/lfs.tar.gz
2025-01-17 14:39:29 UTC -- Cleaning up /var/opt/gitlab/backups/terraform_state.tar.gz
2025-01-17 14:39:29 UTC -- Cleaning up /var/opt/gitlab/backups/packages.tar.gz
2025-01-17 14:39:29 UTC -- Cleaning up /var/opt/gitlab/backups/ci_secure_files.tar.gz
2025-01-17 14:39:29 UTC -- Cleaning up /var/opt/gitlab/backups/external_diffs.tar.gz
2025-01-17 14:39:29 UTC -- Deleting tar staging files ... done
2025-01-17 14:39:29 UTC -- Deleting backups/tmp ...
2025-01-17 14:39:29 UTC -- Deleting backups/tmp ... done
2025-01-17 14:39:29 UTC -- Deleting backup and restore PID file at [/opt/gitlab/embedded/service/gitlab-rails/tmp/backup_restore.pid] ... done
rake aborted!
ActiveRecord::StatementInvalid: PG::UndefinedTable: ERROR:  relation "pool_repositories" does not exist
LINE 9:  WHERE a.attrelid = '"pool_repositories"'::regclass

:

All tables are deleted excepted schema_migrations

Could someone help me ?

thanks a lot
Michel