Automate Postgres Database Backup and Upload to S3

In this tutorial we will create a bash script to automate postgres database backup from a docker container and native postgres installation then upload to S3 based storage system.

October 20, 2023 · 4 min · Vivek Shukla

How To Take Postgres Database Backup From Docker Container

In this tutorial we are gonna use docker exec and cp command along with pg_dump to take Postgres database backup from docker container.

October 18, 2023 · 2 min · Vivek Shukla

How To Store and Serve Private Media Files in Django

In this blog post we will see how to use AWS S3 to store and serve private media files in django. S3 provides a layer of security by making object private and accessible to those with the valid presigned url.

September 14, 2023 · 3 min · Vivek Shukla

How To Store Django Static and Media Files in AWS S3

In this guide we will use django-storages package to manage our static and media files. Let’s walkthrough the whole process on how to store django static and media files in aws s3.

September 6, 2023 · 4 min · Vivek Shukla

How To: Django Rest Framework File Upload API

Uploading file via API is a very common requirement. In this guide we will learn to build Django Rest Framework File Upload API.

June 21, 2023 · 4 min · Vivek Shukla

Backup and Restore PostgreSQL database dump in Ubuntu

Learn how to backup and restore PostgreSQL database dump in Ubuntu (Linux) and Mac.

June 20, 2023 · 2 min · Vivek Shukla

How to convert datetime to different timezone in Python using pytz

Convert datetime to different timezone in Python using pytz.

June 20, 2023 · 1 min · Vivek Shukla