The solution here is wrong, leaving it for posterity and for people to find out why this is a bad idea.
I think you can also get away with copying the database along with the log (copy both the db files and the log to tmp files, and then upload them). Then at the remote end, try to open this data file, and it will fix itself. This is ensured by the application using the correct transactions.
Please read the comments below that explain why this is wrong:
The bottom line is that you can copy db and the log, but only if you can get BOTH EXACTLY at the same time.
Which is more or less impossible.
source share