Hi @rngrnginf
LiteFS will run all commands except for the last one synchronously (waiting for them to exit).
You can achieve the desired behavior by running a background job in the first command. Take a look at this post where something similar has been discussed: LiteFS Cloud - backups and point in time restores for LiteFS - #16 by catgirl