[
https://forge.continuent.org/jira/browse/SEQUOIA-1042?page=comments#action_14324
]
Nick Smith commented on SEQUOIA-1042:
-------------------------------------
-
The DerbyLocalNetBackuper needs to support absolute pathnames as per Derby
Network Server handling.
The patch below fixes the issue.
Regards,
Nick
diff -w -c
src/org/continuent/sequoia/controller/backup/backupers/DerbyLocalNetBackuper.java
src/org/continuent/sequoia/controller/backup/backupers/DerbyLocalNetBackuper.java.orig
***
src/org/continuent/sequoia/controller/backup/backupers/DerbyLocalNetBackuper.java
Mon Mar 10 15:38:10 2008
---
src/org/continuent/sequoia/controller/backup/backupers/DerbyLocalNetBackuper.java.orig
Mon Mar 10 15:33:00 2008
***************
*** 203,211 ****
throw new BackupException("Unsupported url " + url
+ " expecting jdbc:derby://hostname[:port]/pathToDb[;options]");
derbyPath = derbyPath.substring(nextSlash);
- // If path starts with "//" to force an absolute path, strip first slash
- if (derbyPath.startsWith("//"))
- derbyPath = derbyPath.substring(1);
// Remove all options that are after the first semicolon
int semicolon = derbyPath.indexOf(';');
--- 203,208 ----
> Derby Backuper for Network Server running locally
> -------------------------------------------------
>
> Key: SEQUOIA-1042
> URL: https://forge.continuent.org/jira/browse/SEQUOIA-1042
> Project: Sequoia
> Type: New Feature
> Components: Backup System
> Reporter: Emmanuel Cecchet
> Assignee: Emmanuel Cecchet
> Fix For: sequoia 2.10.10
> Attachments: DerbyLocalNetBackuper.java
>
>
> The only available Derby Backuper is for Derby in embedded mode. The same
> code can be reused to implement a Derby Backuper in Network Server mode
> running sharing its filesystem with Sequoia (when both are collocated on the
> same machine for example).
> Only the URL parsing code differs.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
_______________________________________________
Sequoia mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/sequoia