28 of 28 people found the following review helpful
- Published on Amazon.com
W. Curtis Preston is the king of backups, and his book Backup and Recovery (BAR) is easily the best book available on the subject. Preston makes many good decisions in this book, covering open source projects and considerations for commercial solutions. Tool discussions are accompanied by sound advice and plenty of short war stories. If the author addresses the few concerns I have in his next edition, that should be a five star book.
The best aspect of BAR is the author's obvious expertise in this subject. He does a good job sharing lots of his knowledge with the reader. Probably the most valuable conceptual framework I learned in BAR is the difference between backups and archives. Pages 696-7 summarize this nicely: "Backups are the secondary copy of primary data... Archives are the primary copy of secondary data." In this section and elsewhere, Preston describes how archives are the repository one should create when answering ediscovery requests and similar queries -- not backups. This is an extremely powerful idea and I plan to see how my employer deals with this issue.
The second best aspect of BAR involves multiple chapters on backing up various databases. One can usually find similar coverage in single books on specific databases, but having all information in one book is useful for purposes of comparison. Chapter 15 provides an overview of the entire problem by discussing terminology and features found in many databases. This chapter helps storage admins understand the database admin world. Of particular note was the coverage of Microsoft Exchange, which the book calls a specialized database. I had not thought of Exchange in this light, but it's true -- especially when Microsoft indicates future versions will have SQL Server replacing Extensible Storage Engine. I only read chapters on SQL Server, Exchange, and MySQL.
The third best aspect of BAR includes OS-specific chapters on bare-metal recovery. Although my OS of choice (FreeBSD) didn't merit its own chapter, I felt the material in the bare-metal section was robust enough to help me perform this work if necessary. I really only read the chapters on Windows/Linux and ignored Solaris, HP-UX, AIX, and Mac OS X.
BAR is a good book, so why not five stars? First, I thought the chapters on open source backup options (especially ch 7 on "Open-Source Near CDP") were weak. I wanted to learn a lot more about rdiff-backup, for example, but the tool merited about 5 pages and introduced only the simplest possible invocation. Rsnapshot was also undercovered. It seemed like too many pages were spent on utilities I would probably never use (given newer options) like dump and cpio. I was also not confident I could get very far with Amanda, BackupPC, or Bacula given the detail given to each open source product. (Regarding BackupPC -- I had to guess it was open source and then only found out the truth when its Web site at sf.net was mentioned late in the chapter!)
Second, some topics never really made sense. For example, I still do not understand how snapshots actually work. Calling it a "picture" means nothing to me. Snapshots are mentioned throughout the text, and the explanation that finally appears near the end of the book in a miscellanea chapter doesn't help.
Third, I would really have liked to hear more about services offering backup to the Internet, like Amazon's S3 and others. This MUST be covered in the next edition.
Finally, although the book has lots of advice, it would have been nice to have had a case study chapter where multiple example enterprises demonstrate their backup and recovery solutions. After finishing the book I have lots of ideas floating around, but seeing how a one-person, 100-person, 10,000-person, and 500,000-person environment implement BAR would be greatly appreciated.
3 of 3 people found the following review helpful
Sean P. Hull
- Published on Amazon.com
When I picked up this text, I kind of expected it to be a bit sparse in some areas. After all, it's an ambitious book. With individual chapters on every database from DB2, Oracle and Sybase to MySQL, Postgres and SQL Server. In addition he also covers OS backups on Solaris, Linux, AIX, HP-UX, and Mac OS X.
Preston though, succeeds, and succeeds with flying colors. What I was struck by most of all, after reading it, is his clear breadth of knowledge in the subject of backups. Each of the different databases alone do things differently, and have a lot of different concepts, and vernacular to describe it.
He starts the book with the basics, what backing up is all about, why you do it, and what to consider. What are you backing up and why? How often, and using what method? Roll-your-own solution scripting with unix utils like dd, cpio, or tar, go with an open source solution such as Amanda, Bacula, or BackupPC, or consider various commercial solutions. And lastly, don't forget testing and verifying your backups. Preston doesn't let anything through the cracks.
I have worked on Unix for years and years, but my sweet spot is working with databases. So I read the chapters on Oracle and MySQL very carefully. In both cases I learned something new. For instance during an Oracle hotbackup, did you know that changes to datafiles are *NOT* frozen. Learn how Oracle reconstructs your data using a hotbackup, by reading his careful discussion on the topic. Databases are not simple beasts, and the backup considerations are not trivial. Nonetheless, I would recommend this book as your reference for doing database backups on any of these platforms.
Lastly I like the writing style. He calls it "champagne backup on a beer budget". Good stuff. You'll find this book interesting to read, full of detail when you need it and pointed when necessary. Go pickup a copy.
4 of 5 people found the following review helpful
- Published on Amazon.com
In the realm of important things in the world of computers are good backups and equally important is the ability to properly restore those backups. My initial attraction to this book had to do with it being tapered toward open system solutions. I am an avid user of Linux and open-source software, so I was interesting in learning about the free tools that the author writes about.
The author starts out by discussing "The Philosophy of Backup" which covers why backups are so important and how you to find a solution that both meets your needs and your budget. Chapter two goes over what to backup, how often and at what levels. It also discussed what types of disaster to be prepared for, automation, storage, testing and things to look out for on various OS's.
Chapters 3-7 cover open-source backup utilities. In chapter three the author discusses and provides examples of how to use basic utilities such as dump, cpio, tar and dd for Unix systems, ntbackup and System Restore for the Window's crowd, ditto for Mac, and the GNU versions of tar, cpio, and rsync. Chapter's 4-6 discuss Amanda, BackupPC and Bacula. Chapter seven digs into near-continuous data protection and how the open-source community is achieving this, and what tools to use.
By chapter 8 and 9 the author is discussing commercial backup solutions. This section is different from the last in that it doesn't really discuss specific tools and how to use them, but rather it discusses the features of commercial products. This section also covers the various types of backup hardware on the market in an effort to help the reader decide what media best meets their needs.
Chapters 10-14 covers "Bare-Metal Recovery". The author takes you through the process of a bare-metal recovery with Solaris, Linux, Windows, HP-UX, AIX, and Mac OS X.
By chapters 15-22 the author has moved on to database backups and takes you through the various solutions for Oracle, Sybase, IBM DB2, SQL Server, Exchange, PostegreSQL, and MySQL. Finally the author wraps up the book with VMware server backup solutions and discussing data protection.
I found this book to be a very interesting read. I especially enjoyed the open-source, bare-metal recovery, and database sections. The author does an excellent job of taking the reader through all of the steps including example syntax needed to perform a backup and restore with the various tools discussed. Another high point is that the author includes current tools and techniques. This book holds lots of real world wisdom and I would recommend it to any system administrator, developer, or user who is interested in protecting their data.
3 of 5 people found the following review helpful
- Published on Amazon.com
This book's does not only teaches you have to create safe backup but it takes you to the next level where a large organization can save tons of dollars a year by making their backup and restore faster and more reliable process.
Backup and Recovery is the most interesting subject to me. I have always enjoyed reading and writing about this subject. I personally believe that without proper backup and ability to restore the backup to recover the system to original state, any organization is at great risk. Biggest change in the recent industry has been the proliferation of Windows, Exchange and SQL Server.
This book is aimed at the people who feel that the commercial software precuts aren't meeting all their needs. Almost everything which is discussed in this book is either included with operating system or application. This book vastly covers the tools which are open-source projects. This book covers how to back up and recover everything from a basic Linux, Windows, or Max OS workstation to a complicated DB2, Oracle, Sybase or SQL Server (my favorite) databases as well many other things.
This book suggests tools which are less than $100 or in most of the cases almost free. This book is for every developer or system administrator. This book tells users how exactly to choose which backup tool is best. This book stays away from ever changing product names. It focuses on concepts only - what a novel approach! I appreciate author for the same.
This book focuses on two people mainly - Database Administrators (DBA) and System Administrator (SA). Concepts for both the roles are explained in detail in this book. In author's own word "I explained the backup utilities in plain language so that any DBA can understand them, and I explain database architecture in such a way that an SA, even one who has never before seen a database, can understand it."
A book on Backup and Recovery are incomplete without discussing Bare-Metal Recovery. When operating system disk is lost and it is needed to recovered, it is called Bare-Metal Recovery. Out of hundreds of way to recover, this book focuses on best ways for Bare-Metal Recovery.
Working as SQL Server Principal Database Administrator, I have been involved with Database Backup since day one. In several years of my career, I have seen many large organizations ignoring backup of master database. I was very glad when I see in just three lines author has conveyed clear message about master database. These three lines explain the understanding of author for SQL Server.
"It is extremely important to backup the master database on regular basis. This database holds all the configuration information for the running system as well as all the configuration information for all databases and other information such as logon accounts. Without this database, the rest of the system is useless!"
Rating: 4 and 1/2 stars
In Summary, Backup and Recovery is not everything. This book takes you to highest level of the backup and recovery at conceptually strong working examples.
Principal Database Administrator