954,515 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

shell script fo backup archiving

hi there,
i am looking for some sample shell scripts where i could run this shell scipt after my backups are done and are lying in the directory.
what i want to accomplish is:
to run the script after the backups are done and to delete the past tar files according to the following:
it shud delete any one file from last year
one a month in quarter
one a week
one per day for current week...

so that we dont have to manually delete those file all the time.i want to autmoate the process.

please help!!!

SmileSmita
Newbie Poster
4 posts since Jul 2006
Reputation Points: 10
Solved Threads: 0
 

You could consider [mis]using logadm.
See "man logadm"
It gives you all that you need.

thekashyap
Practically a Posting Shark
811 posts since Feb 2007
Reputation Points: 254
Solved Threads: 75
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You