Migrate server storage

I am migrating my server storage from S3 to SFTP. What is the best way to migrate all content (snapshots and policies for all users)?
I have thought in:

  1. shutdown kopia-server
  2. repo-sync
  3. disconect S3 using console command
  4. connect to SFTP using console command
  5. start kopia-server

Is this correct?

Sounds about right. I think I would do the same steps. Let us know if you discover any caveats.

summary: it worked ok, but changing but any repo operation take long time (~10 minutes).

I disconnected by command my repo, connected to the new one, and started server; but it continued connected to S3.
I disconnected server from S3 repo using web interface (I don’t know if it was really necessary, or should I have waited a little), restarted kopia server, and after long time (I had already written a post because it took really long…) it worked.

1 Like