TokyoTyrant::putShl
TokyoTyrant::setMaster
TokyoTyrant
PHP Manual

# TokyoTyrant::restore

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrant::restore — Restore the database

### Opis

public mixed TokyoTyrant::restore ( string `$log_dir` , int `$timestamp` [, bool `$check_consistency` = true ] )

Restore the database from the update log.

Ostrzeżenie

This method is not supported on 32bit platforms.

### Parametry

`log_dir`

  Directory where the log is

`timestamp`

  Beginning timestamp with microseconds

`check_consistency`

  Whether to check consistency: Default: `TRUE`

### Zwracane wartości

This method returns the current object and throws TokyoTyrantException on failure.

TokyoTyrant::putShl
TokyoTyrant::setMaster
TokyoTyrant
PHP Manual