Skip to content

murathub/postgresql-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Dropbox Python Backup Script For PostgreSQL

if '04:' in str(newDate()) and int(datetime.datetime.today().weekday()) == 4:
# 04 is hour, and weekdays as you choose. - 😀
Num En Tr
0 Mon Pzt
1 Tue Sal
2 Wed Çar
3 Thu Per
4 Fri Cum
5 Sat Cmt
6 Sun Paz

logs.txt look like this:

Backup: 07.01.2022.gz [07.01.2022 04:46]
Backup: 14.01.2022.gz [14.01.2022 04:46]
Backup: 21.01.2022.gz [21.01.2022 04:47]
Backup: 28.01.2022.gz [28.01.2022 04:47]

$ pm2 start postgresql-backup.py

Releases

No releases published

Packages

No packages published

Languages