Wordpress Backup with Bash
Learn how to backup WordPress to Filebase using Bash.
What is WordPress?
1. Start by installing the S3cmd tool on your WordPress server with the following commands:
2. Verify S3cmd was installed correctly using the following command to display the installed version:
3. Next, configure S3cmd for use with Filebase:
4. You will be prompted to enter the following configuration details:
5. Test your configuration using the following command:
6. Next, login to your WordPress server’s MariaDB instance with the following command:
7. Then, backup the WordPress database with the following command:
8. Run the following S3cmd command to copy the wordpress.sql file into your Filebase bucket:
9. Then, run another S3cmd command to copy your WordPress website data into your Filebase bucket as well:
10. Verify that all files have been uploaded correctly using the following command:
Last updated