From the course: Database Foundations: Administration
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Create a PostgreSQL backup
From the course: Database Foundations: Administration
Create a PostgreSQL backup
- [Instructor] The PostgreSQL platform uses a program called PG dump, for creating a database backup. It's usually executed on the command line, but graphical user interfaces, such as Azure Data Studio, often provide a workflow that'll help you through some of the many configuration options that PG dump supports. To get there, let's right click on the two trees database that's inside of the PostgreSQL server, and choose manage. Then on the toolbar, click on the backup button. That'll open up the backup database panel, here on the right side of the screen. At the top are two of the general options that are both required. We need to specify a backup type and an output path. The backup type has a few different options. The SQL file will create a plain text file that's easy to read, so I'm going to stick with that option. The alpha path defines where the file is going to be saved. Now there's one important thing to keep in mind…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
(Locked)
Backup plans4m 29s
-
(Locked)
Create a PostgreSQL backup3m 31s
-
Use pg_dump in the Postgres container6m 12s
-
(Locked)
Restore a Postgres database10m 13s
-
(Locked)
Create a full SQL Server backup6m 42s
-
(Locked)
Restore a SQL Server database3m 42s
-
(Locked)
Incremental and differential backups4m 30s
-
(Locked)
Point-in-time restores4m 20s
-
(Locked)
-
-
-
-
-