Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
Back up and restore PostgreSQL databases
Use built-in tools to create simple backups
Restore the easy way with internal commands
Cut backup and restore time with advanced techniques
Description
Backing up a database is something that all system admins must eventually face. Larger warehouses and critical enterprise data requires advanced techniques and tools to handle this complex data. PostgreSQL provides you with the basic tools for accomplishing this complex task.
"Instant PostgreSQL Backup and Restore How-to" is a practical series of proven recipes showing you how to preserve critical business data, and also teach you some advanced methods for restoring this data. It is a perfect manual for managing your critical PostgreSQL data.
Instant PostgreSQL Backup and Restore How-to is your practical guide to the unique features that PostgreSQL offers to create quick backups and efficient restores.
Starting by backing up a simplistic database and learning how-to restore it to working order, we then move on to more complex backup techniques including creating and restoring binary backups.
Covering advanced topics such as Warm and Hot standby restore and Streaming replication, Instant PostgreSQL Backup and Restore How-to gives you the power to make complete backups to guarantee you will always be able to restore your database to full working order!
Who is this book for?
Written for database administrators who want to create backups of their critical enterprise data and efficiently restore it using PostgreSQL.
What you will learn
Target specific data with partial dump and restore
Explore SQL-only techniques for smaller databases
Drastically reduce restore time using Parallel SQL
Create easy binary backups and clones with built-in tools
Slash backup times with parallel compression
Harness file system snapshots for stable online binary backups
Synchronize multiple databases as standby backup servers
"Instant PostgreSQL Backup and Restore How-to" is a concise cookbook containing eleven recipes. The first three cover logical methods using the client applications bundled with PostgreSQL, e.g. pg_dumpall, pg_dump and pg_restore. The rest of the recipes cover physical methods of backing up and restoring the PostgreSQL binary files with data and transaction logs, from the pg_basebackup application to using tar, rsync or Linux Logical Volume Manager (LVM). My special interest focuses on the more advanced recipes for Point-in-time-recovery (PITR), warm and hot standby and streaming replication.The steps are easy to follow, conveniently complemented by explanations on how it all works and more ideas to explore. This cookbook is a great addition to my PostgreSQL library and I look forward to use it for setting up replication in a Linux environment. Note that this book is targeted mostly at the Unix/Linux users.
Amazon Verified review
John McCreaApr 26, 2013
5
I just finished reading "Instant PostgreSQL Backup and Restore How-to". This great little book is packed full of quick and easy to understand tips and tricks. As a SQL Server and Oracle DBA who is dabbling in MySQL and PostgreSQL this book is a perfect addition to my library toolset. The book is a quick read, easy to understand and details everything a DBA needs to know if they are new to PostgreSQL or if they are a seasoned PostgreSQL DBA. I was familiar with many of the commands described in this book, but I also learned some great tips about how compressed backups, point in time recoveries, snapshots, replication and other more intermediate and advanced database topics are implemented in PostgreSQL. Overall, I would gladly recommend this book to any DBA looking to expand their knowledge in PostgreSQL Backups and Restores.
Amazon Verified review
JohnMay 06, 2013
4
I recently was fortunate to receive an ePub copy of "Instant PostgreSQL Backup and Restore How-to" from Packt Publishing for review. The topic obviously high on the list of skills any DBA must master. And given my still relatively recent foray into the realm of Postgres from Oracle, quickly getting up to speed on this is certainly a top priority for me.From the outset, the book does not disappoint. Like any of you, I'm sure, I have a ridiculous number of tech books in my library. This, however, is my first publication from Packt. And I must say, I definitely enjoyed the short, directly to the point format. I'll likely be taking a look at other Packt titles if for no other reason than that.Author Shaun Thomas had my immediate gratitude and admiration for providing an extremely quick, concise method for creating a reasonably large database to work through the methods presented. Again, as a relative newcomer to Postgres, with no Postgres instances in use at my organization, I found this invaluable. And without any delay, you will roll right into the basics of backup of your databases. Full, partial, data only, schema info, specific tables... it's all there within the first few pages. In only a few minutes after beginning the book, you have enough information to have a backup of your database underway. Well done.At the time of this writing, I have not yet made it to the following chapters on more advanced topics. But there is no question I'm looking forward to them given my experience so far.I'd highly recommend this book. Its concise coverage of the backup and recovery of Postgres will have you up and running in no time. And who has time to waster when it comes to developing proficiency in anything data related these days.
Amazon Verified review
MHAug 22, 2018
4
Hat mir sehr geholfen, da ich hier den Einstieg für ein Backup, Migration einer DB per Backup und Restore gesucht habe und dies auch genau so wie im Buch beschrieben geklappt hat.Einen Punkt Abzug gibt es da es noch ein bisschen übersichtlicher sein könnte, das ist aber jammern auf hohem Niveau.Ansonsten sehr gut, gute Informationen detailliert auf den Punkt gebracht und nicht hunderte unnütze Seiten nur um möglichst dick zu sein, wie leider bei vielen anderen IT-Books. Sehr empfehlenswert, benutze es bei der Arbeit oft.
Amazon Verified review
Michael GautierMay 30, 2014
4
This was a quick read which introduced many valuable ideas and processes in how to backup and restore PostgreSQL databases on the command-line. The emphasis on the command-line is a strength since you avoid having your tools lock up on you or misreport success or failure and maximizes your flexibility.Why 4 stars? I think there was probably a better way to present the information. However, I will only vaguely criticize presentation as I think it is good this information is available in a consolidated text. The author does a great job summarizing the types of backups and types of restores you can accomplish for PostgreSQL. Read this book, and you will see that PostgreSQL maybe has one of the most flexible backup processes and one of the most recoverable database formats ever created.[...]
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.