Skip to content

This Script will Compress folder contain and Upload it into Azure Storage

Notifications You must be signed in to change notification settings

IranUdesha/AZ-WIN-BKV2-PY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This Python Script Contain code for Compress folder contain and Upload it to Azure Storage Account.


This Script will Compress Each file in the sql folder and save it in backups folder and finnaly upload them into respective Container in azure storage Account and will sent an email

Dependencies

OS = Windows(10/2019 server)
Winrar
Need Azure Storage Account with 4 Containers name as 'daily','weekly','monthly','yearly'

Fill The Following before Run This Script

server_name = ""

smtp_server = ""
smtp_port = ""
smtp_un = ""
smtp_pw = ""

connection_string = ""
storage_Account_Name= ""

*CPU priority is set to high for Compression part in the Script