You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Suresh Thalamati (JIRA)" <de...@db.apache.org> on 2006/04/21 01:23:06 UTC
[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.
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
[jira] Updated: (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.
Posted by "Suresh Thalamati (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1240?page=all ]
Suresh Thalamati updated DERBY-1240:
------------------------------------
Component: Store
> 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
> Components: Store
> 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
[jira] Resolved: (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.
Posted by "Suresh Thalamati (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DERBY-1240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Suresh Thalamati resolved DERBY-1240.
-------------------------------------
Resolution: Fixed
> 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: https://issues.apache.org/jira/browse/DERBY-1240
> Project: Derby
> Issue Type: Bug
> Components: Store
> Affects Versions: 10.1.3.1, 10.2.1.6
> Environment: WindowsXP/JDK142
> Reporter: Suresh Thalamati
> Assigned To: 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.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (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.
Posted by "Suresh Thalamati (JIRA)" <de...@db.apache.org>.
[ http://issues.apache.org/jira/browse/DERBY-1240?page=all ]
Suresh Thalamati reassigned DERBY-1240:
---------------------------------------
Assignee: Suresh Thalamati
> 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
> Issue Type: Bug
> Components: Store
> Affects Versions: 10.2.1.6, 10.1.3.0
> Environment: WindowsXP/JDK142
> Reporter: Suresh Thalamati
> Assigned To: 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