Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Curve fitting for rsync snapshot deletion

by Bloodnok (Vicar)
on Nov 22, 2013 at 08:39 UTC ( #1063894=note: print w/ replies, xml ) Need Help??


in reply to Re: Curve fitting for rsync snapshot deletion
in thread Curve fitting for rsync snapshot deletion

Hi Voronich ,

In the OP, given

1. Convert the snapshot dir's datetime name to epoch 2. In the trip script apply the epochs to a parabolic function: y = x^ +2
x is the epoch equivalent of the directorys' timestamp and y is the value on which the decision to backup (or not) is made - as determined by applying the function to the epoch.

Is that of any help ?

A user level that continues to overstate my experience :-))


Comment on Re^2: Curve fitting for rsync snapshot deletion
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1063894]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2015-07-28 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls