# Ripristino Fallito Gli argomenti dovrebbero essere forniti come stringhe separate

**URL:** <https://meta.discourse.org/t/restore-failed-arguments-should-be-provided-as-separate-strings/187050>\
**Category:** Product Support\
**Created:** [16 Aprile 2021, 2:11am UTC](https://meta.discourse.org/t/restore-failed-arguments-should-be-provided-as-separate-strings/187050 "2021-04-16T02:11:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![iidbae](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@iidbae](https://meta.discourse.org/u/iidbae)\
**Post date:** [16 Aprile 2021, 2:11am UTC](https://meta.discourse.org/t/restore-failed-arguments-should-be-provided-as-separate-strings/187050/1 "2021-04-16T02:11:39Z")

</div>

Ho provato a spostare il mio Discourse da DigitalOcean a OVH. Ho seguito tutte le linee guida ufficiali.

L’unica differenza è che ho usato il metodo rsync per spostare il mio backup, perché ho sempre fallito nel caricarlo manualmente.

```plaintext
rsync -avz /var/discourse/shared/standalone/backups/default/* root@new-server:/var/discourse/shared/standalone/backups/default/

```

Ecco la parte finale del mio log:

```plaintext
[2021-04-16 00:36:49] ALTER TABLE
[2021-04-16 00:36:49] Migrating the database...
[2021-04-16 00:36:49] EXCEPTION: Arguments should be provided as separate strings
[2021-04-16 00:36:49] lib/discourse.rb:105:in `execute_command'
lib/discourse.rb:93:in `exec'
lib/discourse.rb:43:in `execute_command'
/var/www/discourse/lib/backup_restore/database_restorer.rb:133:in `migrate_database'
/var/www/discourse/lib/backup_restore/database_restorer.rb:27:in `restore'
/var/www/discourse/lib/backup_restore/restorer.rb:51:in `run'
/var/www/discourse/script/spawn_backup_restore.rb:23:in `restore'
/var/www/discourse/script/spawn_backup_restore.rb:36:in `block in <main>'
/var/www/discourse/script/spawn_backup_restore.rb:4:in `fork'
/var/www/discourse/script/spawn_backup_restore.rb:4:in `<main>'
[2021-04-16 00:36:49] Trying to rollback...
[2021-04-16 00:36:49] Rolling back...
[2021-04-16 00:36:49] Cleaning stuff up...
[2021-04-16 00:36:49] Dropping functions from the discourse_functions schema...
[2021-04-16 00:36:49] Removing tmp '/var/www/discourse/tmp/restores/default/2021-04-16-001234' directory...
[2021-04-16 00:36:49] Unpausing sidekiq...
[2021-04-16 00:36:49] Marking restore as finished...
[2021-04-16 00:36:50] Notifying 'admin' of the end of the restore...

```

Ho aggiornato il mio Discourse all’ultima versione.  
Immagino che l’errore sia “Arguments should be provided as separate strings”.

Grazie

---

_[View the full topic](https://meta.discourse.org/t/restore-failed-arguments-should-be-provided-as-separate-strings/187050)._
