Werbung
TokyoTyrant::copy
(PECL tokyo_tyrant >= 0.1.0)
TokyoTyrant::copy — Copies the database
Beschreibung
Makes a copy of the current database
Parameter-Liste
- path
-
Path to where to copy the database. The user running the remote database must have a write access to the directory.
Rückgabewerte
This method returns the current object and throws TokyoTyrantException on failure.
Beispiele
PHP Code
1
2
2
$tt = new TokyoTyrant("localhost", 1978);
$tt->copy("/tmp/foobar.tct");