Project

General

Profile

Bug #20650

Fail when backing up to a directory postgres cannot write to

Added by Christine Fouant almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Backup & Restore
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1483033

Description of problem:
Currently Backup needs to be written to either /tmp or /var/tmp (preferred). Writing to any other root directory fails because Postgres cannot write files to those locations.

We should have a failure with warning if user selects a directory to which Postgres doesn't have access.

Version-Release number of selected component (if applicable):

How reproducible:
Always

Steps to Reproduce:
1. run # katello-backup /any/directory/not/tmp

Actual results:
Failure without any reasoning other than tar file creation fails.

Expected results:
Fail with note to write to /var/tmp or /tmp so that Postgres has write access

Additional info:

Associated revisions

Revision 223ed87f (diff)
Added by Christine Fouant almost 5 years ago

fixes #20650 - validates postgres has write access to backup dir

History

#1 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-packaging/pull/505 added

#2 Updated by Eric Helms almost 5 years ago

  • Tracker changed from Feature to Bug
  • Legacy Backlogs Release (now unused) set to 295

#3 Updated by Brad Buckingham almost 5 years ago

  • Target version set to 208

#4 Updated by Brad Buckingham almost 5 years ago

  • Target version changed from 208 to 213

#5 Updated by Brad Buckingham almost 5 years ago

  • Target version changed from 213 to 217

#6 Updated by Christine Fouant almost 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF