Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 scrutinizing the Monastery: (8)
As of 2014-10-02 11:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (55 votes), past polls