Subject AW: [firebird-support] Transporting FB database
Author Alexander Gräf
> -----Ursprüngliche Nachricht-----
> Von: rpinder@... [mailto:rpinder@...]
> Gesendet: Dienstag, 1. Februar 2005 18:39
> An: firebird-support@yahoogroups.com
> Betreff: [firebird-support] Transporting FB database
>
>
>
> If you want to move a FB database between two Win32 machines
> (both running same Version of FB), can you not just shut down
> the DB, copy file, and start it up ?
>
> Is there good reason (other than garbage collection) to use
> GBAK instead ??
>
> Thanks
>
> Rich Pinder
> USC School of Medicine
>

A running database will get corrupted if copied, so GBAK is mainly a tool to bypass the need to shutdown the database while doing a backup. However, as long as the database server is not running and nobody is accessing the file, you can do whatever you want with it, including copying, moving, renaming (and deleting of course).

Also, if you want to copy a database from one server to another, you would have to shutdown at least one database server (the target server), because a restore does need explicit access to the database (or you will get corrupted database structures).

Regards, Alex