mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-10 23:29:34 +02:00
parent
10ca6356b7
commit
50dbee34ec
@ -1109,8 +1109,7 @@ do_archive_get(InstanceConfig *instance, const char *prefetch_dir_arg,
|
||||
{
|
||||
/* discard prefetch */
|
||||
// n_fetched = 0;
|
||||
// pgut_rmtree(prefetch_dir, false, false);
|
||||
rmtree(prefetch_dir, false);
|
||||
pgut_rmtree(prefetch_dir, false, false);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -985,7 +985,7 @@ do_delete_instance(void)
|
||||
parray_free(backup_list);
|
||||
|
||||
/* Delete all wal files. */
|
||||
rmtree(arclog_path, false);
|
||||
pgut_rmtree(arclog_path, false, true);
|
||||
|
||||
/* Delete backup instance config file */
|
||||
join_path_components(instance_config_path, backup_instance_path, BACKUP_CATALOG_CONF_FILE);
|
||||
|
Loading…
Reference in New Issue
Block a user