Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

incremental b/p

Status
Not open for further replies.

sonun

IS-IT--Management
Dec 26, 2001
384
0
0
US
The first one would be to developa incremental b/p script which would look at files last accesed and backup those.
Say I want to bacjup /home/folder1, how do I go about it. I am not sure about this. Please advise.
Whats the strategy I should follow ??
 
last accesed?
This would be 1 file. The last one.
I don't think you want that.

You can make a file with touch.

thismorning=`/bin/date "+%m%d0100"`
touch -t $thismorning thismorning.tmp

then:
find /home/folder1 -newer thismorning.tmp
result all files udated after 1:00 hour this day.

I hope this is what you want.

regards Gregor
Gregor.Weertman@mailcity.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top