Discover millions of ebooks, audiobooks, and so much more with a free trial

Only $11.99/month after trial. Cancel anytime.

Instant PostgreSQL Backup and Restore How-to
Instant PostgreSQL Backup and Restore How-to
Instant PostgreSQL Backup and Restore How-to
Ebook140 pages48 minutes

Instant PostgreSQL Backup and Restore How-to

Rating: 0 out of 5 stars

()

Read preview

About this ebook

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This hands-on guide provides a quick and easy way to back up and restore your database using PostgreSQL. Written for database administrators who want to create backups of their critical enterprise data and efficiently restore it using PostgreSQL.
LanguageEnglish
Release dateMar 26, 2013
ISBN9781782169116
Instant PostgreSQL Backup and Restore How-to

Related to Instant PostgreSQL Backup and Restore How-to

Related ebooks

System Administration For You

View More

Related articles

Reviews for Instant PostgreSQL Backup and Restore How-to

Rating: 0 out of 5 stars
0 ratings

0 ratings0 reviews

What did you think?

Tap to rate

Review must be at least 10 words

    Book preview

    Instant PostgreSQL Backup and Restore How-to - Shaun Thomas

    Table of Contents

    Instant PostgreSQL Backup and Restore How-to

    Credits

    About the Author

    About the Reviewers

    www.PacktPub.com

    Support files, eBooks, discount offers and more

    Why Subscribe?

    Free Access for Packt account holders

    Preface

    What this book covers

    What you need for this book

    Who this book is for

    Conventions

    Reader feedback

    Customer support

    Errata

    Piracy

    Questions

    1. Instant PostgreSQL Backup and Restore How-to

    Getting a basic export (Simple)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Restoring the export

    Exporting global objects

    Compressed backups

    Naming backups

    Partial database exports (Simple)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Compressed exports

    Table-only exports

    Schema-only exports

    Data and schema-only exports

    Restoring a database export (Simple)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Parallel database restore

    Database targeting

    Partial database restores

    Obtaining a binary backup (Simple)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Viewing backup progress

    Compressed tape archive backups

    Making the backup standalone

    Database clones

    Parallel compression

    Stepping into TAR backups (Intermediate)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Parallel compression

    Making a tar backup standby-ready

    Backing up tablespaces

    Backing up archived transaction logs

    Taking snapshots (Advanced)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Proper snapshot sizing

    Snapshot backup targets

    Synchronizing backup servers (Intermediate)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Speeding up rsync

    Whole file sync

    Exclude transaction logs

    Restoring a binary backup (Simple)

    Getting ready

    How to do it...

    How it works...

    There's more...

    No extract for rsync backups

    Remote data copies

    Point in time recovery (Intermediate)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Named restore points

    Timelines

    Warm and hot standby restore (Intermediate)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Trigger a backup online

    Backup database promotion

    Hot standby

    Asynchronous archival

    Streaming replication (Advanced)

    Getting ready

    How to do it...

    How it works...

    There's more...

    Synchronous backup

    Synchronous backup caveates

    Streaming backups

    Instant PostgreSQL Backup and Restore How-to


    Instant PostgreSQL Backup and Restore How-to

    Copyright © 2013 Packt Publishing

    All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

    Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

    Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

    First published: March 2013

    Production Reference: 1200313

    Published by Packt Publishing Ltd.

    Livery Place

    35 Livery Street

    Birmingham B3 2PB, UK.

    ISBN 978-1-78216-910-9

    www.packtpub.com

    Credits

    Author

    Shaun M. Thomas

    Reviewers

    Peter Eisentraut

    Robert H. Treat

    Acquisition Editor

    Martin Bell

    Commissioning Editor

    Yogesh Dalvi

    Technical Editor

    Veena Pagare

    Copy Editor

    Laxmi Subramanian

    Project Coordinator

    Sneha Modi

    Proofreader

    Maria Gould

    Production Coordinator

    Melwyn D'sa

    Cover Work

    Melwyn D'sa

    Cover Image

    Sheetal Aute

    About the Author

    Shaun M. Thomas has been a database administrator for a long time, and has been working with PostgreSQL since late 2000. Over the years, he has contributed frequently to the PostgreSQL performance mailing list to help other DBAs get the most out of his favorite database. In 2011 and 2012, he presented at the Postgres Open conference on topics such as handling extreme throughput, high availability, server redundancy, and failover techniques.

    Currently, he serves as the database architect at OptionsHouse, an online options brokerage with a PostgreSQL database that handles over one billion queries per

    Enjoying the preview?
    Page 1 of 1