Dump the physical PGDATA directory with the selected archive format.
(&mut self, format: DataDirArchiveFormat)
| 412 | |
| 413 | /// Dump the physical PGDATA directory with the selected archive format. |
| 414 | pub fn dump_data_dir_with_format(&mut self, format: DataDirArchiveFormat) -> Result<Vec<u8>> { |
| 415 | self.check_ready()?; |
| 416 | self.archive_quiesced_pgdata("dump PGDATA archive", format) |
| 417 | } |
| 418 | |
| 419 | /// Clone this database into a new temporary [`Pglite`] instance. |
| 420 | pub fn try_clone(&mut self) -> Result<Self> { |