3
There is a client of mine who owns two machines, one of them is the server where all the data of the bank is, and the other is the cashier.
However, there is customer concern in case something happens to the server the data gets saved somewhere on the internet. Therefore, I via C# (which is made the application of the box) Gero a file ". sql" every night with the backup of all database data. And I send this ". sql" via FTP to a server of mine.
My big doubt is if the method I am using is good, because we notice that the more time passes, the bigger the file ". sql" keeps getting longer if it takes to upload the file to the FTP server. I would like to know whether the method used is good and viable or whether there is something better.
Search by "redo log", which is basically a file that only grows and is never modified. This file can be copied "hot", using some tool as simple as rsync. Already the database files should never be copied hot (I think Oracle refuses to open a copied database like this) because the file will certainly be corrrompido and is modified everywhere, complicating the life of a rsync of life.
– epx
If the database is Mysql, here is some information about Innodb’s "redo log": https://blogs.oracle.com/mysqlinnodb/entry/redo_logging_in_innodb
– epx