Posts

Incremental Backup Using pg_basebackup in PostgreSQL 18

  In this article, I will show how to create a full backup and an incremental backup using pg_basebackup in PostgreSQL 18. I will then use pg_combinebackup to combine the backups and restore the database. Preparing PostgreSQL First, we need to enable the required parameters in postgresql.conf. Add or modify the following parameters: [postgres @OL8 ~]$ vi / var /lib/pgsql/ 18 /data/postgresql. conf wal_level = replica archive_mode = on archive_command = 'cp "%p" "/archive/%f"' summarize_wal = on The summarize_wal parameter enables WAL summarization, which is required for incremental backups. After changing these parameters, restart PostgreSQL: [postgres@OL8 ~]$ /usr/pgsql-18/bin/pg_ctl -D /var/lib/pgsql/18/data -l logfile restart waiting for server to shut down.... done server stopped waiting for server to start.... done server started Creating Backup Directories Next, create separate directories for the full and incremental backups: [ root@OL8 ~ ] #...

Oracle 26ai- Installing Oracle Grid Infrastructure for a Standalone Server Using the Command-Line Interface

  Before Oracle AI Database 26ai , Oracle Grid Infrastructure could be installed using a response file . For example( using a response file ): ./gridSetup.sh -silent \ INVENTORY_LOCATION=/oraInventory \ SELECTED_LANGUAGES=en \ ORACLE_BASE=/grid/base \ oracle.install.option=HA_CONFIG \ oracle.install.asm.OSDBA=asmdba \ oracle.install.asm.OSOPER=asmoper \ oracle.install.asm.OSASM=asmadmin \ oracle.install.crs.config.autoConfigureClusterNodeVIP= false \ oracle.install.asm.diskGroup.name=ASM \ oracle.install.asm.diskGroup.redundancy=EXTERNAL \ oracle.install.asm.diskGroup.diskDiscoveryString= 'ORCL:*' \ oracle.install.asm.diskGroup.disks=ORCL\:ASM01 \ oracle.install.asm.SYSASMPassword=Your_Password \ oracle.install.asm.monitorPassword=Your_Password \ -ignorePrereqFailure At the end of the installation, the installer displays a message similar to the following: As install user, execute the following command to complete the configuration. /grid/19.25/gridSetup.sh -execut...