• Summer90 - Monday, March 5, 2018 1:37 PM

    Alexander Zhang - Friday, March 2, 2018 9:15 AM

    Thanks guys for your input. I will give up implementing backup and Verify in parallel. Instead, I will implement backup and restore(in other machine) in parallel. 

    It makes to think about another question. Why do we backup? The short answer is for restore. But when? Actually, disaster is a very small probability event. In most cases, we do that for new environment initialization or data migration. The tradition process is, to backup DB to local disk or share, then copy backup to target server, and then restore it. There are two problems.
    (1) We can't restore until Backup is 100% finished.
    (2) Extra storage is needed. 

    With backup and restore in parallel, Backup DB in Instance-A, and directly restore it in Instance-B at the same time, even though one or both of them stand in AWS EC2. No storage & No Wait! Sounds good?

    The database backup is also for a whoops, I deleted all of the data in the table because I didn't include a where clause, I updated the wrong rows, I have corruption in the database.... many, many reasons to have backups.  It is just not for an actual disaster.   You may also have a need to refresh a non production environment for testing purposes as well.

    Yes, you are correct. It's very bad that I assume the issues I never ran into did not or rarely exist. Thanks for reminding me of them.

    GASQL.com - Focus on Database and Cloud