Project

General

Profile

Actions

Bug #20650

closed

Fail when backing up to a directory postgres cannot write to

Added by Christine Fouant over 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Backup & Restore
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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:

Actions #1

Updated by The Foreman Bot over 6 years ago

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

Updated by Eric Helms over 6 years ago

  • Tracker changed from Feature to Bug
  • translation missing: en.field_release set to 295
Actions #3

Updated by Brad Buckingham over 6 years ago

  • Target version set to 208
Actions #4

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 208 to 213
Actions #5

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 213 to 217
Actions #6

Updated by Christine Fouant over 6 years ago

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

Also available in: Atom PDF