Project

General

Profile

Actions

Feature #7032

closed

db backup tasks accept destination file

Added by Daniel Lobato Garcia over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Database
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Currently our foreman-rake db:dump and db:import_dump tasks read and write to the root of wherever foreman is installed. (https://github.com/theforeman/theforeman.org/pull/245)
Users by default don't have access to /usr/share/foreman on a regular install made via foreman-installer.

A 'destination' argument that defaults to ~ would ensure users get a backup at a location they can write to.

Actions

Also available in: Atom PDF