Nour Sofanati
Developer, SimpleBackups
March 20, 2024
In this Guide, we will go through creating a backup of your Neon PostgreSQL database using SimpleBackups. We'll cover everything from obtaining your Neon database credentials to creating and restoring backups. By following these steps, you can ensure the safety and security of your valuable data.

Note: if your database is behind a firewall, follow the following steps.


`Select a name for your backup name, set a Schedule and a Storage to store your backup, then click on Create backup.

You’ll be redirected to your backup job’s page, click on Run now to test this backup, once the backup runs successfully, you’ll be able to see a Backup success indicator.

First, locate the URL of your backup from the restore tab in your desired backup log dialog, and download it to your local system:
wget 'http://example.com/path/to/your-neon-backup.tar.gz' -O backup.tar.gzExtract the downloaded file containing your Neon PostgreSQL backup:
tar -xzvf backup.tar.gzNavigate into the extracted directory:
cd your_backup_folderNow that you have the backup file, you can restore it to your Neon database. You can use the pg_restore command, or the psql command to restore the backup file to your database.
Using psql:
psql -U username -d dbname < database-dump.sqlOr, using pg_restore:
pg_restore -U username -d dbname database-dump.sqlFollowing these steps ensures a secure backup for your Neon PostgreSQL database,. This ensures that your valuable data is protected against accidental loss or corruption, giving you peace of mind and confidence in your data management strategy.
Free 7-day trial. No credit card required.
Have a question? Need help getting started?
Get in touch via chat or at hello@simplebackups.com