TokyoTyrant::restore

(PECL tokyo_tyrant >= 0.1.0)
Restore the database
public mixed TokyoTyrant::restore ( string $log_dir, int $timestamp [, bool $check_consistency = true ] )

Restore the database from the update log.

Parameters:
log_dir

Directory where the log is

timestamp

Beginning timestamp with microseconds

check_consistency

Whether to check consistency: Default: TRUE

Returns:

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

This method is not supported on 32bit platforms.

doc_php
2016-02-24 16:18:49
Comments
Leave a Comment

Please login to continue.