July 2024 promo! Join our Discord free of charge.

Lightning-fast WordPress on Nginx

ss import database

This command will import a database dump file /tmp/import.sql if it exists, otherwise /tmp/ or /tmp/import.sql.gz if those exist. It will overwrite the ENTIRE production database on your SlickStack server so be sure you backup your database (download it manually or remotely save it somewhere) before running this command. All previous data in your database will be completely lost and overwritten!

This command works well in conjunction with ss dump database because if you want to move to a new SlickStack server, you can first dump the database on your old server, and then wget or scp that dumped database file (e.g. production.sql) from your old server to the new server. After you have the complete dump file on the new server, rename/move it to /tmp/import.sql and then it can be used with this command easily.


  • runs ss-import-database
About the Author

Jesse Nickles

Jesse is the lead developer for the SlickStack project and also for HoverCraft, the accompanying free WordPress theme. He has been customizing WordPress for both personal websites and SEO clients for over 15+ years, with a focus on simplicity and longevity.

Leave a Reply

Your email address will not be published. Required fields are marked *

Thanks to our generous sponsors for their support!