Hello,
Is there a way to schedule an automatic cleaning of Azure ? we are piling backup for all our 3 environnements and this is not cool from a green perspective :).
thank you,
Catalina
Hi Catalina, that might be because you're specifying a filename there when you shouldn't be, the backup step should only have the path and should look something like this. If you specify expiration days other than 0 (which would be never expire) Board will automatically put a timestamp in the name of the backup.
Hi @Catalina
you can find informations also in this article:
Avoid using date/time substitution formulas in backup custom paths - Board Community
hope this helps!
br,
federico
Hi Catalina, in the case of backups you can specify a retention period in your backup creation step, Board will automatically delete any backups in the target folder older than the specified retention period.
If you also have data files it's typically good practice to tick "Delete file after reading" on your data reader steps so that loaded files get deleted after use, it prevents build up of old files and is more secure.
Beyond that if you have other files you're storing in there I'm afraid manually clearing them down is the only option I'm aware of.
@Catalina ,
You can use AzCopy to clean up shared Azure Storage. The azcopy remove command is particularly useful for deleting files or entire directories.
AzCopy
azcopy remove
It may be combined with external tools like Power Automate.
Best,
Hello Robert,
Are you speaking about the expiration days option we have in the backup step procedure ?
This doesn't seem to erase the files older than the number of days indicated in the procedure.
t