By dauvbafna1
I currently have a droplet on the $20 per month rental and I wish to downsize it to a $5 per month droplet by creating a new droplet and using the image of the previous droplet using rsync as mentioned here: Downsizing a droplet. However I currently have serverpilot installed in the original droplet. How can I migrate the serverpilot user to the new droplet without any conflicts?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
If this previously was a $5 droplet and you resized it using DigitalOcean’s flexible resize to the $20 droplet, all you need to do is resize it back down to the $5 droplet. Once your server comes back online from the resize, it will automatically reconnect to ServerPilot. There’s nothing more you need to do.
If you didn’t start with a $5 droplet and use the flexible resize to the $20 droplet, your best option is to migrate the apps manually to a new server. That is, connect a new server to ServerPilot, create the same apps and databases on the new server through ServerPilot, and then copy over the files and databases from the old server to the new server. Once you’re done, make a final snapshot of your original server (just to be safe) and the delete the original server from both DigitalOcean and ServerPilot.
Using rsync will most likely not work. At most, you could do individual rsyncs of each app’s web root directory from the old to the new server. You shouldn’t attempt to rsync the entire system user or the entire server or else you will likely end up with a lot of breakage now and in the future. It just wouldn’t be worth it. Better to do it right this time and migrate manually and then, in the future, be sure to always use the flexible resize if you think you might need to resize back down.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.