By rajankn
Hi,
What would be the steps to transfer data from linode to digital ocean ? I am using postgresql and have gone through this https://www.digitalocean.com/community/tutorials/migrate-your-current-vps-linode-rackspace-aws-ec2-to-digitalocean but it does not seem to help as when I dump the databse the file seems to be empty .
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 you are using Postgres, the commands will differ from MySql. To dump the database (and compress it), run:
pg_dump dbname | gzip > filename.gz
Then you can restore it on your new server with:
cat filename.gz | gunzip | psql dbname
Check out the official Postgres docs on backing up.
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.