backup.py

About this file

This Python file handles creating backup file report for OpenRecords.

Code Issues

  • Use of module subprocess is associated with security implications (line 4). It is normally avoided unless used cautiously. More information can be found here.

Code Check Report


build_scripts/db_setup/backup.py:77:1: E722 do not use bare 'except'
                        

Documentation drawn from source code

dumper = """/opt/rh/rh-postgresql95/root/usr/bin/pg_dump -U %s -h 127.0.0.1 -Z 9 -f %s -F c %s
email = """From: OpenRecords Backup Report
To: OpenRecords Support Staff
Subject: OpenRecords Backup Report %s


log(string):

Source code