Delete imported backup files after restore
After setting up my new Plesk instance i added back my remote backup location (S3) and restored the backup to get the subscriptions back up and running.
The backup was imported and restored just fine and everything was in order. After creating a new full backup, I went ahead and deleted the old backup from the list of backups and it was removed from the remote location.
However the imported copy inside of /var/lib/psa/dumps remained in place, but did not show up in the list of backups any more. There does not seem to be a way in Plesk to remove these temporary files from the restore process.
I would like plesk to remove these imported backups from local storage automatically either after the successful restore operation or when the corresponding backup is removed from the remote location.
Temporary backup archives that are needed for a restore should be deleted after the restore process completes. If that is not the case, you may have found a bug. We'd like to ask you to contact support on this so that an engineer can check what happened on your server, e.g. by looking at your restore log.
-- PD