Comment

Comment by rsync

I've been (proudly) noting these elegant one-liners for ... 18 years now:

  pg_dump -U postgres db | ssh [email protected] "dd of=db_dump"

  mysqldump -u mysql db | ssh [email protected] "dd of=db_dump"
... but what is the equivalent command for SQLite ?

I see that there is a '.dump' command for use within the SQLite console but that wouldn't be suitable for pipelining ... is there not a standalone 'sqlitedump' binary ?

parent rsync 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton