That will be very helpfull. Thanks.
One problem is that you are calling e2fsck if I read your script correctly.
I don't think that works with xfs. xfs_check would be a better choice I think.
I don't know if there are any other maintenance programs one should invoke on
a scheduled basis.
And a real nit-picky thing is that you are not triming the xfs backup
inventory. It probably won't be a problem for a while.
xfsinvutil does this. I't looks easy to delete anything over a year old if you
want to do something like that.
It's probably going overboard, but I think I will actually write an expect
script that invokes xfsinvutil and actually maintains a preset retention
Quarterly Full - Maintain for 5 years
Monthly Full - Maintain for 12 months
Weekly Full - Maintain for 6 months
Daily Differential - Maintain for 3 months.
I tend to do something like the above for my production backup tapes, and it
only makes sense for the inventory to match the real tapes.
>> Hi Greg,
>> Thu, May 16, 2002 at 04:24:01PM -0400, Greg Freemyer wrote:
>> > Are there any sample scripts which are designed to be called from cron
>> and do something like the following:
>> I posted this script to the list last month (I've since tidied it up a
>> little bit), which might be what you are looking for.
>> Basically, I do full (level 0) dumps every Sunday, with incremental
>> backups every other day of the week.
>> I've been running this script for a few weeks. It does the job for me :)
>> See the attached files, and the brief documentation within.
>> Ian Cumming, ian@xxxxxxxxxxxxxx
>> "The number of Unix installations has grown to 10, with more expected."
>> -- The Unix Programmer's Manual, 2nd Edition, June, 1972
>> -- NextPart --
>> Attached File: c:\program files\goldmine\MailBox\Attach\gaf\backup.sh
>> -- NextPart --
>> Attached File: c:\program files\goldmine\MailBox\Attach\gaf\backup_cron.sh
Deployment and Integration Specialist
Compaq ASE - Tru64
Compaq Master ASE - SAN Architect
The Norcross Group