backup_rpc_counters
Documentation for eth_defi.provider.rpc_counter_maintenance.backup_rpc_counters function.
- backup_rpc_counters(database_path, backup_dir, reset_id=None, now=None, protected_paths=())
Compatibility name for existing maintenance callers; new callers should use the name that makes the optional destructive reset explicit.
- Parameters
database_path (pathlib.Path) –
backup_dir (pathlib.Path) –
now (Optional[datetime.datetime]) –
protected_paths (tuple[pathlib.Path, ...]) –
- Return type