Question

problem at migrating wordpress

  • Posted on August 29, 2014
  • vierzAsked by vierz

i followed this tutorial for migrating my wordpress: https://www.digitalocean.com/community/tutorials/how-to-migrate-wordpress-from-shared-hosting-to-a-cloud-server-with-zero-downtime

but i stuck at: sudo unzip wp-content.zip -d /var/www/ it says: sudo: unzip: command not found

help me pls

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

You can use the WP All in One plugin or Duplicator to migrate all of your WordPress websites.

https://wordpress.org/plugins/all-in-one-wp-migration/

https://wordpress.org/plugins/duplicator/

If you have to move some of the data manually you can do that via ssh using scp or rsync. Another option is to use an FTP client like FileZilla

https://www.digitalocean.com/community/tutorials/how-to-copy-files-with-rsync-over-ssh

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

Hope that this helps!

Hello, @vierz

You need to execute the command in the same directory where the wp-content.zip file is located or specify the path to the wp-content.zip file.

Regards, Alex

thanks, i didnt know that. but after i installed that, i got this msg:

unzip: cannot find or open wp-content.zip, wp-content.zip.zip or wp-content.zip.ZIP.