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:
parent
c1ed6ffaba
commit
f2ddb9f352
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user