Hi, This is my first post in LQ
I'm an Oracle DBA. My database writes backup files to ../Backup area. After writing those file to tape i would like to remove them from disk. That would be simple for me. But I want to keep last five (5) sets of files on disk for faster restore (please All mighty never force me to need and use it).
I need a script that would do the chore for me.
Directory structure is something like this
I want to delete (rm -r) directory ../20090312 for db1 and db2 every day at 7:00
I would appreciate help from linux expert