-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Line 53 to 64 (the Darwin part) is missing some leading slashes in the path declaration to work probably and there is a typo in the postgre path.
elif hostOS == 'darwin':
eol = '\n'
dumpTool = '/Library/PostgreSQL/%s/bin/pg_dump' %pgVersion
destPath = os.path.join('/Users', currentUser, 'Documents/ResolveProjectBackup')
# Generate .pgpass authentication file if missing
# Without this file pd_dump requires manual authentication
# NOT TESTED! Watch for .pgpass permissions issues.
pgPass = os.path.join('/Users', currentUser, '.pgpass')
if not os.path.isfile(pgPass):
pgPassFile = open(pgPass, 'w')
pgPassFile.write(dbHost + ':5432:*:' + dbUser + ':' + dbPassword)
pgPassFile.close()
Metadata
Metadata
Assignees
Labels
No labels