1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-12-11 11:41:33 +02:00

[Issue #250] disable remote mode when running retention purge after backup

This commit is contained in:
Grigory Smolkin 2020-08-27 22:03:46 +03:00
parent c1ed6ffaba
commit f2ddb9f352
2 changed files with 4 additions and 1 deletions

View File

@ -726,7 +726,7 @@ backup_non_data_file(pgFile *file, pgFile *prev_file,
}
backup_non_data_file_internal(from_fullpath, FIO_DB_HOST,
to_fullpath, file, true);
to_fullpath, file, missing_ok);
}
/*

View File

@ -135,6 +135,9 @@ void do_retention(void)
backup_deleted = false;
backup_merged = false;
/* For now retention is possible only locally */
MyLocation = FIO_LOCAL_HOST;
/* Get a complete list of backups. */
backup_list = catalog_get_backup_list(instance_name, INVALID_BACKUP_ID);