<reponame>gideon-maina/mariadb-backup-to-gdrive
import os
# The parent folder you want to upload to
# Copy this from the URL when looking at the folder in the Web
GDRIVE_PARENTS = ["15DgirpJA-Z2O-DNz_iHd3DjoYwLyP3Gu"]
# Db params
DB_USER = "root"
DB_PASSWORD = "<PASSWORD>"
DBS_TO_BACKUP = ['farmit', 'blog_db']
# This should be a path to the client secrets file assumed to be in the current folder
SERVICE_ACCOUNT_FILE = '/usr/local/lib/maridb-backup-service/client_secrets.json'
# The target directory to store your database backups
TARGET_DIRECTORY = '/tmp/'
TIME_TO_BACKUP = "03:00"
# The number of backup files to keep for a database
LATEST_BACKUPS_TO_KEEP = 5
# The gmail email that created the app password
GMAIL_USER = ""
# The app password
GMAIL_PASSWORD = ""
# The from email to be used for the email notification
FROM_EMAIL = GMAIL_USER
# The email notification subject
host_name = os.uname().nodename
BACKUP_EMAIL_SUBJECT = f"MariaDB Backup Service Notification : Host {host_name}"
# The addresses to receive the notifications, can also be a single str
NOTIFICATION_EMAIL_DESTINATION = ['<EMAIL>']

import os
# The parent folder you want to upload to
# Copy this from the URL when looking at the folder in the Web
GDRIVE_PARENTS = ["15DgirpJA-Z2O-DNz_iHd3DjoYwLyP3Gu"]
# Db params
DB_USER = "root"
DB_PASSWORD = "<PASSWORD>"
DBS_TO_BACKUP = ['farmit', 'blog_db']
# This should be a path to the client secrets file assumed to be in the current folder
SERVICE_ACCOUNT_FILE = '/usr/local/lib/maridb-backup-service/client_secrets.json'
# The target directory to store your database backups
TARGET_DIRECTORY = '/tmp/'
TIME_TO_BACKUP = "03:00"
# The number of backup files to keep for a database
LATEST_BACKUPS_TO_KEEP = 5
# The gmail email that created the app password
GMAIL_USER = ""
# The app password
GMAIL_PASSWORD = ""
# The from email to be used for the email notification
FROM_EMAIL = GMAIL_USER
# The email notification subject
host_name = os.uname().nodename
BACKUP_EMAIL_SUBJECT = f"MariaDB Backup Service Notification : Host {host_name}"
# The addresses to receive the notifications, can also be a single str
NOTIFICATION_EMAIL_DESTINATION = ['<EMAIL>']
# The parent folder you want to upload to # Copy this from the URL when looking at the folder in the Web # Db params # This should be a path to the client secrets file assumed to be in the current folder # The target directory to store your database backups # The number of backup files to keep for a database # The gmail email that created the app password # The app password # The from email to be used for the email notification # The email notification subject # The addresses to receive the notifications, can also be a single str