Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Curve fitting for rsync snapshot deletion

by Voronich (Hermit)
on Nov 21, 2013 at 17:57 UTC ( #1063764=note: print w/replies, xml ) Need Help??

in reply to Curve fitting for rsync snapshot deletion

Color me stupid. but...what is x?

I'm having a real hard time parsing this in my head.

  • Comment on Re: Curve fitting for rsync snapshot deletion

Replies are listed 'Best First'.
Re^2: Curve fitting for rsync snapshot deletion
by Bloodnok (Vicar) on Nov 22, 2013 at 08:39 UTC
    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 :-))

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2016-10-20 22:02 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (283 votes). Check out past polls.