From the course: PostgreSQL Backup and Restore with pgBackRest
Unlock the full course today
Join today to access over 25,000 courses taught by industry experts.
Installing pgBackRest - PostgreSQL Tutorial
From the course: PostgreSQL Backup and Restore with pgBackRest
Installing pgBackRest
- [Instructor] So now that we have understood how PostgreSQL backups and restors work in general, let's try to understand more on pgBackRest by initially starting with the installation of pgBackRest. Before going into installation, let's try to understand what kind of setup we want to have. So we will have two servers, the database host and the backup host. Database host is where the PostgreSQL will be installed. It will contain all the DB files, like the archive files, et cetera. And the backup host is something where the pgBackRest will be installed, and it will run the backup jobs as well as it will be used for now to store the backups at a specific location in this backup host. Depending upon the type of the operating system, a package manager can be used to install pgBackRest setup. However, one can also install pgBackRest using the source code installation. To simplify the things, I'm going to use the Ubuntu server and the package manager, as you all know, it will be apt-get…