BackgroundPostgreSQL logical backup, refers to online backup database data, DDL output as SQL statements, data can be in the form of SQL statements or fixed separators (row format) output.
The backup does not affect the DML operation of the Backup
Postgresql automatic backup generates one file every day and compresses it automatically: 1. write a shell script and save it as/home/db/dump. shpg_dumpdb | gzip & gt;/home/db/db((date?policy=m=d=.backup.gz $ (date + % Y % m % d) can be set by
Original linkDeepgreen DB full name Vitesse Deepgreen DB, a scalable, massively parallel (often called MPP) data warehousing solution that originates from an open source Data Warehouse Project Greenplum DB (often referred to as GP or gpdb). So
BackgroundPostgreSQL cold backup, refers to the database shutdown state of the database data files are backed up.
This backup is not practical in production, the general production environment needs to ensure that the database 7*24 hours.
A cold
First, prepareConnect on master node to create replication user# CREATE ROLE Replicator with login replication password 123456;Modify Whitelist pg_hba.conf# Host replication All XXXXX/32 MD5Second, make the basic backup# pg_basebackup --format=tar \
In Oracle, deleting a table or deleting a table record; There is a flashback feature that does not require a stop operation and can perfectly retrieve the record. There are, of course, some other recovery tools, such as ODU tools, Gdul tools. can
Seven, Pg_dump:
Pg_dump is a tool for backing up the PostgreSQL database. It can even make a full, consistent backup when the database is being used concurrently, without blocking access to the database by other users. The dump format generated by
Pg_dump and Pg_restore to back up and restore data from the database.Original: https://ksearch.wordpress.com/2012/09/28/how-to-backup-a-remote-postgresql-db-and-restore-it-locally/--------------------------------------This article lists the commands
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.