Java Doc for Backuper.java in  » Database-JDBC-Connection-Pool » sequoia-2.10.9 » org » continuent » sequoia » controller » backup » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database JDBC Connection Pool » sequoia 2.10.9 » org.continuent.sequoia.controller.backup 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.continuent.sequoia.controller.backup.Backuper

All known Subclasses:   org.continuent.sequoia.controller.backup.backupers.MSSQLBackuper,  org.continuent.sequoia.controller.backup.backupers.OctopusBackuper,  org.continuent.sequoia.controller.backup.backupers.DerbyEmbeddedBackuper,  org.continuent.sequoia.controller.backup.backupers.AbstractBackuper,
Backuper
public interface Backuper (Code)
This interface defines a Backuper that is in charge of doing backup/restore operations and manage dumps according to its own internal format. The user will manipulate logical names and the Backuper is responsible to maintain the logical name/physical name mapping.
author:
   Emmanuel Cecchet
version:
   1.0




Method Summary
 Datebackup(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables)
     Create a backup from the content of a backend.
 voiddeleteDump(String path, String dumpName)
     Delete the specified dump.
 voidfetchDump(DumpTransferInfo dumpTransferInfo, String path, String dumpName)
     Client side: Fetch a remote dump from specified dump server.
 StringgetDumpFormat()
     Returns a String representing the format handled by this Backuper.
 StringgetOptions()
     Retrieve the backuper options that were used to initialize the backuper.
 voidrestore(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables)
     Restore a dump on a specific backend.
 voidsetOptions(String options)
     Options that can be set at backuper initialization.
 DumpTransferInfosetupDumpServer()
     Server side: setup a server and returns a DumpTransferInfo suitable for authenticated communication by a client using fetchDump().



Method Detail
backup
Date backup(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables) throws BackupException(Code)
Create a backup from the content of a backend.
Parameters:
  backend - the target backend to backup
Parameters:
  login - the login to use to connect to the database for the backupoperation
Parameters:
  password - the password to use to connect to the database for thebackup operation
Parameters:
  dumpName - the name of the dump to create
Parameters:
  path - the path where to store the dump
Parameters:
  tables - the list of tables to backup, null means all tables the timestamp for the dump if the backup was sucessful, nullotherwise
throws:
  BackupException - if the backup operation fails



deleteDump
void deleteDump(String path, String dumpName) throws BackupException(Code)
Delete the specified dump.
Parameters:
  path - the path where to retrieve the dump
Parameters:
  dumpName - the dump to delete
throws:
  BackupException - if we failed to delete the dump



fetchDump
void fetchDump(DumpTransferInfo dumpTransferInfo, String path, String dumpName) throws BackupException, IOException(Code)
Client side: Fetch a remote dump from specified dump server.
Parameters:
  dumpTransferInfo - the address and session key of the dump server tocontact for fetching.
Parameters:
  path - the path part of the remote dump spec (interpreted by server)
Parameters:
  dumpName - the name part of the remote dump spec (interpreted byserver)
throws:
  BackupException - in any error case: authentication error, transfererror, else.
throws:
  IOException - if an error occurs during the transfer



getDumpFormat
String getDumpFormat()(Code)
Returns a String representing the format handled by this Backuper. This field should be human readable and as detailed as possible so that no confusion can be made by the administrator. the Backuper specific format



getOptions
String getOptions()(Code)
Retrieve the backuper options that were used to initialize the backuper. the backuper options
See Also:   Backuper.setOptions(String)



restore
void restore(DatabaseBackend backend, String login, String password, String dumpName, String path, ArrayList tables) throws BackupException(Code)
Restore a dump on a specific backend.
Parameters:
  backend - the target backend to restore to
Parameters:
  login - the login to use to connect to the database for the restoreoperation
Parameters:
  password - the password to use to connect to the database for therestore operation
Parameters:
  dumpName - the name of the dump to restore
Parameters:
  path - the path where to retrieve the dump
Parameters:
  tables - the list of tables to restore, null means all tables
throws:
  BackupException - if the restore operation failed



setOptions
void setOptions(String options)(Code)
Options that can be set at backuper initialization. These options are provided in the definition of the Backuper element (see dtd).
Parameters:
  options - Backuper specific options



setupDumpServer
DumpTransferInfo setupDumpServer() throws IOException(Code)
Server side: setup a server and returns a DumpTransferInfo suitable for authenticated communication by a client using fetchDump(). a DumpTransferInfo to be used by a client for authenticatedcommunication upon fetchDump invocation.
throws:
  IOException - if an error occurs during the transfer



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.