Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Discussion options

You must be logged in to vote

I've recently migrated to another server with the following services on Dokploy:

  • Python application
  • .NET backend
  • Directus
  • Appsmith
  • Several Postgres and Mongo databases

Unfortunately, my VPS provider lacked backup capabilities, so I had to migrate everything manually. Here’s what I did:

  • Got a new VPS
  • Transferred the entire filesystem using rsync:
    rsync -aAXv --delete \ --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/swapfile"} \ -e "ssh -i /path/to/private_key" user@source_vps_ip:/ /
  • After the migration, I updated the server IP in the Dokploy database:
    UPDATE admin SET "serverIp" = 'new_server_ip' WHERE "serverIp" = 'old_server_ip';

This a…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@bloor
Comment options

@rahnamaj22
Comment options

@sorenkrt
Comment options

Answer selected by akondratiuk1
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@moxplod
Comment options

@0x0elliot
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
8 participants