When defining the backup strategy, consider the following:
Following are a few sequences that might meet your PostgreSQL database protection requirements.
• |
Full Database Cluster backups only: If update characteristics are similar across multiple databases, Full Database Cluster backups scheduled every night ensures data protection up to the previous day. |
• |
Full Database Cluster backups and Individual Database/Table backups: If some databases are updated more frequently than others, regular Individual Database/Table backup coupled with periodic Full Database Cluster backup is an ideal strategy. For example, Full Database Cluster backups can be performed every Sunday night at 11:00 p.m., while Individual Database backups for the databases that are updated frequently can be performed Monday through Saturday at 11:00 p.m. This ensures data protection up to the previous day. You can increase backup frequency to reduce data loss, and use the Custom Archive format with a higher compression level for large databases to reduce the backup size. |
• |
Global Objects Only backup: Because the individual database backups exclude the global objects, you can use Global Objects Only after updates are made to the database users, groups, and access permissions. This option ensures that these recent backups can be used instead of Full Database Cluster backups. |
• |
Individual Database/Table backups and Global Objects Only backups: You could use a backup strategy of Individual Database/Table backups plus Global Objects Only backup where you back up the individual databases according to their update frequency. You might back up databases that updated less frequently on a weekly basis and back up the remaining databases daily. Also, you might run Global Objects Only backups weekly or on demand after an update to the database groups, users, and access permissions is made. |
A backup using Plug‑in for PostgreSQL includes the steps outlined in the following topics.
You must use sets — Backup Selection Set, Backup Options Set, Schedule Set, Target Set, and Advanced Options Set — to create a backup job. For more information, see the Quest NetVault Administrator’s Guide.
1 |
2 |
In Job Name, specify a name for the job. |
3 |
Next to the Selections list, click . |
4 |
5 |
Open the target database-cluster node, and you see two nodes: Configuration Files and All Databases. |
• |
To make Full Database Cluster backups, do one of the following: |
• |
To back up all the databases, including Template Databases, and the configuration files contained in the cluster, select the database-cluster node. |
• |
To back up only the databases, including Template Databases, select the All Databases node, or clear the Configuration Files node after selecting the database-cluster node. |
• |
Open the All Databases node, and select the required databases. To include Template Databases in the backup, select the node, for example, template1. |
6 |
© ALL RIGHTS RESERVED. Términos de uso Privacidad Cookie Preference Center