1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-15 01:04:37 +02:00

Closed #19: The following tablespace checks have been added: paths or files in pg_tblspc, relative links in pg_tblspc, tablespaces in $PGDATA. All three will generate errors.

This commit is contained in:
David Steele
2016-01-15 07:07:00 -05:00
parent 67fb7a23bc
commit e91e481f3d
15 changed files with 286 additions and 16 deletions

View File

@ -859,8 +859,7 @@ sub BackRestTestBackup_LinkCreate
my $strPathFile = ${$oManifestRef}{&MANIFEST_SECTION_BACKUP_PATH}{$strPath}{&MANIFEST_SUBKEY_PATH} . "/${strFile}";
# Create the file
symlink($strDestination, $strPathFile)
or confess "unable to link ${strPathFile} to ${strDestination}";
BackRestTestCommon_LinkCreate($strPathFile, $strDestination);
# Return path to created file
return $strPathFile;