Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 14E2A1836A for ; Wed, 12 Aug 2015 09:25:46 +0000 (UTC) Received: (qmail 56730 invoked by uid 500); 12 Aug 2015 09:25:45 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 56694 invoked by uid 500); 12 Aug 2015 09:25:45 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 56646 invoked by uid 99); 12 Aug 2015 09:25:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2015 09:25:45 +0000 Date: Wed, 12 Aug 2015 09:25:45 +0000 (UTC) From: "Vitaly Brodetskyi (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-12730) Ambari Server schema upgrade should prompt about backups MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vitaly Brodetskyi created AMBARI-12730: ------------------------------------------ Summary: Ambari Server schema upgrade should prompt about backups Key: AMBARI-12730 URL: https://issues.apache.org/jira/browse/AMBARI-12730 Project: Ambari Issue Type: Bug Components: ambari-server Affects Versions: 2.1.0 Reporter: Vitaly Brodetskyi Assignee: Vitaly Brodetskyi Priority: Critical Fix For: 2.1.2 When users perform "ambari-server upgrade", we should prompt the user to confirm they have backed-up the Ambari DB and Ambari .properties file before proceeding. User runs "ambari-server upgrade"...what do you think about this flow + output? {code} Performing ambari-server schema upgrade... Confirm you have made a backup of /etc/ambari-server/conf/ambari.properties [y/n] (y)? Ambari Server configured for Embedded Postgres. Confirm you have made a backup of the Ambari Server database [y/n] (y)? {code} In the above, replace Embedded Postgres with Existing Postgres, Existing MySQL or Existing Oracle as appropriate. -- This message was sent by Atlassian JIRA (v6.3.4#6332)