Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 13194 invoked from network); 20 Apr 2006 23:24:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Apr 2006 23:24:15 -0000 Received: (qmail 67078 invoked by uid 500); 20 Apr 2006 23:24:14 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 67044 invoked by uid 500); 20 Apr 2006 23:24:14 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 67035 invoked by uid 99); 20 Apr 2006 23:24:14 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 16:24:14 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2006 16:24:14 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 86C6341000B for ; Thu, 20 Apr 2006 23:23:06 +0000 (GMT) Message-ID: <32416022.1145575386549.JavaMail.jira@brutus> Date: Thu, 20 Apr 2006 23:23:06 +0000 (GMT+00:00) From: "Suresh Thalamati (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-1240) creating /restoring a db from backup using createFrom with log at different location copies the log from backup to the db dir also. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N creating /restoring a db from backup using createFrom with log at different location copies the log from backup to the db dir also. ------------------------------------------------------------------------------------------------------------------------------------ Key: DERBY-1240 URL: http://issues.apache.org/jira/browse/DERBY-1240 Project: Derby Type: Bug Versions: 10.2.0.0, 10.1.3.0 Environment: WindowsXP/JDK142 Reporter: Suresh Thalamati Priority: Minor creating/restoring a database from a backup copy with exteral log location copies the transaction log to the default location. db uses the external location , but there is unnessary copy of transaction log at default location. connect 'wombat;create=true'; create table t1(a int ); insert into t1 values(15); call SYSCS_UTIL.SYSCS_BACKUP_DATABASE('extinout/mybackup'); connect 'wombat;shutdown=true'; disconnect; --- create a db from the backup using a different log location. connect 'crwombat;createFrom=extinout/mybackup/wombat;logDevice=extinout/crwombatlog'; select * from t1; --- If you loook under the "crwombat" dir you will find the log dir , it should not be there because -- transaction log is place st extinout/crwombatlog as specified in the connection URL. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira