Delete files after backup

Questions about Cobian Reflector
Post Reply
cirilorochabr
Posts: 3
Joined: 03 Jan 2023, 11:38

Delete files after backup

Post by cirilorochabr »

Once again congratulations on the excellent work.
I would like to leave here a suggestion to improve the backups. Here I have a situation where the database generates partial backup files during the day, we are going to compress and copy the backup to a safe place after that.
It happens that we need to clean up the original uncompressed files after compressing the backup and copying it.
All this control we currently do using batch files, if cobian had this type of resource it would be interesting. After the backup is complete, delete the original files.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Delete files after backup

Post by cobian »

There is a post-backup event for that (Delete source). Use with care.
--
Luis Cobian
Cobian Backup's creator
cirilorochabr
Posts: 3
Joined: 03 Jan 2023, 11:38

Re: Delete files after backup

Post by cirilorochabr »

There really is such an option and I had seen it. However, it does not have any control over the files that will be deleted. In my case it didn't help because I wanted it to delete only the files that were backed up.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Delete files after backup

Post by cobian »

I understand. I my self execute a batch file as a post-backup event when such a thing is needed.
--
Luis Cobian
Cobian Backup's creator
Post Reply