# Task Configuration Example: Logical Import Mode

+ **`backend = "tidb"`**

```
[lightning]
level = "info"
file = "tidb-lightning.log"

[tikv-importer]
~!@backend = "tidb"@!~
sorted-kv-dir = "/mnt/ssd/sorted-kv-dir"

[mydumper]
data-source-dir = "/data/my_database"

[tidb]
host = "172.16.31.1"
port = 4000
user = "root"
password = ""
status-port = 10080
pd-addr = "172.16.31.4:2379"
```
-------------------------------------------------------------
You can use this mode for small dataset import, for example, smaller than `1 TiB`. During the import, downstream `TiDB` is available to provide services.