Single Access File

I would like to generate diff in order to do incremental backups of sql database.

Using the standard diff tool unix creates unnecessary large files as they include the full text of the deleted lines. I need support only for fixing in one direction (to create the current db dump from a full dump and incremental patch).

How can I do it? I have so far tried to use diff -e and patch -e, but it seems to be working incorrectly since the resulting file is damaged (maybe the problem is with the "ed" tool used by cygwin)

0
source share

Source: https://habr.com/ru/post/1606459/


All Articles