Search Results

Search: Posts Made By: rab
2,296
Posted By rab
Perfect, thanks.
Perfect, thanks.
2,296
Posted By rab
[Solved] Find Files Created Recently and Print
Hi,

I'm looking to create a script which will find all the files created in the last 24h in a directory starting with a few different letters and send them to the printer. This would be run...
1,963
Posted By rab
Thank you :)
Thank you :)
1,963
Posted By rab
Using OR in ksh
Hi folks,

Just a quick syntax question really. I'm trying to check a tape drive for a tape name in a ksh script. There can be two possible tape names (first three characters) and either is...
4,669
Posted By rab
I found the reason for the backup sizes changing,...
I found the reason for the backup sizes changing, was due to /proc - but still trying to find out what compression is being applied, and if we apply it at all. It seems like it is applied (2:1), but...
4,669
Posted By rab
How to check hardware data compression
Hi,

I'm looking to check the compression ratio applied by hardware to work out how much free space we have on tapes.

mt -f /dev/rmt0 status shows:
If I add up the output of the du command and...
3,845
Posted By rab
Tar Excludes (tar cvfX)
Hi,

Had a quick search around but didn't really find anything that fits my question.

I have a backup script here that's been in use long before I worked here. The main part of it is:

cd /...
2,482
Posted By rab
Thanks Lakris, Now have a working script :) ...
Thanks Lakris,

Now have a working script :)

Really helps to stand back and let someone else see it, instead of doing it the long winded hard way!

Cheers,
Rab
2,482
Posted By rab
Backup script calculating which type to run
Hi,

Second attempt at this, which I have gone down a different and seemingly long winded route but I don't know what other way to do it.

Task -
Create a template (or skeleton) script for our...
10,241
Posted By rab
Hi again! Still trying to get this to work,...
Hi again!

Still trying to get this to work, I have let it run for a while now and here is the results:

Code being run every Friday:
var=$(date +%j)

if [ $(date +%u) -eq 5 ] && [ $((($var /...
10,241
Posted By rab
Cheers for the replies. I have a few test...
Cheers for the replies.

I have a few test things set up in the cron of a test UNIX box to see how they go, executing writing to files rather than running any backups.

Will see over the next few...
10,241
Posted By rab
Good point. Perhaps adding into the monthly...
Good point.

Perhaps adding into the monthly backup script a touch command to create a file with todays date +28 days.

Then on the call script in the cron check to see if that date matches...
10,241
Posted By rab
Thanks! Although a monthly backup may take place...
Thanks! Although a monthly backup may take place on say the 1st. It's not necessarily the last Friday of the month. I'm not really sure how I can write this down clearly. There is an example in post...
10,241
Posted By rab
Thanks - would it be possible to break it down as...
Thanks - would it be possible to break it down as to what it does?

Cheers,
Rab
10,241
Posted By rab
Thanks for the reply, although it may not...
Thanks for the reply, although it may not necessarily be the 4th Friday we do our monthly backups. It's every 4 weeks. A good example of this would be in April 2011. Our monthly backups would be on...
10,241
Posted By rab
Cron job every Friday except 4th
Hi,

I'm looking for a way to run a backup in the cron every Friday, except every 4th Friday (as we do monthly backups then).

The monthly backups are not the 4th Friday of each month, but every...
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 11:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy