PostgreSQL Backup with Bash
Learn how to backup PostgreSQL to IPFS using Bash.
What is PostgreSQL?
1. Start by installing the S3cmd tool on your PostgreSQL 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. Test your configuration using the following command:
5. Next, login to your PostgreSQL server with the following commands:
6. Show the available databases with the command:
7. Then, backup all databases using the following command.
8. Run the following S3cmd command to copy the dump.sql file into your Filebase bucket:
dump.sql file into your Filebase bucket:9. Verify that all files have been uploaded correctly using the following command:
Last updated