| ▲ | gf000 2 hours ago | |
If the app is not running, then `cp sqlite.db sqlite.db.BK` | ||
| ▲ | subhobroto 2 hours ago | parent [-] | |
The if is doing a lot of heavy lifing there but with that out of the way you do make a strong case about "local first" apps. Nothing beats the simplicity of a simple `cp` but there are other tradeoffs to be made there. That's why I was encouraging people to make backups and restores of their DB because personally, it has made me appreciate why different designs exist and when to use them vs just slapping a DB connection to an RDS instance and calling it a day. | ||