Why do restores take longer than backups?

Why do restores take longer than backups?

Why do restores take longer than backups on the same hardware configuration?

    Requires Free Membership to View

    When you register for SearchStorage.com, you’ll also receive targeted emails from my team of award-winning editorial writers. Our goal is to keep you informed on the hottest topics, the latest news and the biggest challenges you face as a storage professional today.

    Rich Castagna, Editorial Director

    By submitting your registration information to SearchStorage.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchStorage.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

The performance variation between both operations is mostly attributable to the number of steps involved in each. Essentially, a backup is not much more that a read operation. Data is simply read from the backup client and sent to the backup server.

Conversely, a restore process implies a write operation. Because data is usually being written to a file system during a restore operation, it involves some file system overhead such as creating an entry in a file allocation table or journal, permission setting, ACL and various other file attributes being recorded. This obviously takes more system cycles and ends up being much slower than a simple backup (read) operation.

Some file systems are better than others are at this and a significant restore performance difference can be noted. However, generally speaking, the worst possible restore performance will be observed when restoring a large number (millions) of small files. In comparison, restoring a 500 GB database will be dramatically faster that restoring a 500 GB file server.

This was first published in September 2004