[CentOS] Bash script for backup
Alan Hoffmeister
alangtk at gmail.comMon Jan 25 18:48:19 UTC 2010
- Previous message: [CentOS] [Fwd: Re: The directory that I am trying to clean up is huge]
- Next message: [CentOS] Bash script for backup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello guyz! I'm new here, and this is my very first truble... I need a script that will backup & compress the folder /media/system in the folder /media/backups But that's not the problem, I need that only the last 7 backups (last 7 days, yeah I know, cronjob...) will stay in that folder... The script need: 1 - Compress folder /media/system 2 - Store in /media/backups 3 - Name the compressed backup like day_month_year.tar.gzip 4 - Check the other backups and delete backups older than 7 days.. Can some one help me? Tanks!
- Previous message: [CentOS] [Fwd: Re: The directory that I am trying to clean up is huge]
- Next message: [CentOS] Bash script for backup
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list