Em julho 5, 2017 15:57 Florian via arch-devops escreveu:
My gut says 6 months should be enough, but feel free to disagree.
Agree with 6 months. More than enough time for issues to appear and people to need the archive.
Once we have decided how long data should be kept, we also need something to actually delete it. Deleting files from the ./repos directory should be simple, but the ./packages directory is more complicated because it is not nicely separated into directories per day.
Sebastien, do you have an idea about how we could delete old data or do you have a script for that?
Well, find can do that. At least, I always used either atime/mtime to delete older backups with find. Don't know if there is a better tool for this. Cheers, Giancarlo Razzolini