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

Master Python Interview Questions with Answers

Prepare for Python interview questions using this extensive list of questions and answers. This list takes you from beginner to intermediate to advanced level of python concepts in question-answer format.

May 22, 2023 · 12 min · Vivek Shukla

LeetCode 347: Top K Frequent Elements | Python

Leetcode 347: You are given an array nums and an integer k, you need to return k most frequent elements.

May 12, 2023 · 3 min · Vivek Shukla