Subject | Re: [Firebird-Java] Backup restore |
---|---|
Author | Leonardo Cervo |
Post date | 2005-08-08T14:35:57Z |
Hi,
Something I notice in restore.
The options in FBBackupManager.setRestorePageSize should be 1024,
2048, 4096 or 8192. But it's not accepting 4096.
Something I notice in restore.
The options in FBBackupManager.setRestorePageSize should be 1024,
2048, 4096 or 8192. But it's not accepting 4096.
On 8/8/05, Щёкотов Роман <roman@...> wrote:
> hhugo_11 wrote:
>
> >Hello,
> >
> >Where can I find examples on how to backup and restore with the new
> >features in JayBird 2.
> >
> >
> FBBackupManager fb = new FBBackupManager(GDSType.getType("PURE_JAVA"));
> fb.setUser(mediator.getLogin());
> fb.setPassword(mediator.getPassword());
> fb.setDatabase(mediator.getDatabase());
> fb.setPort(Integer.parseInt(mediator.getPort()));
> fb.setHost(mediator.getServer());
> fb.setBackupPath(panel.m_txtPath.getText());
> fb.backupDatabase();
>
> --
> С уважением, Щёкотов Роман.
> Руководитель департамента программных технологий.
> mailto:roman@...
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>