SQLite Forum

Hot backup database in WAL mode by coping
Login
That does not execute the two statements at the same time.  It executes them in the order shown.  One copy of the CLI, running in one process, can do only one thing at a time.