DEV Community

JA Proger
JA Proger

Posted on

VolBack: Backup Tool Part 2

Intro

Read the post VolBack: Backup Tool Part 1 to get familiar with basics ideas

Math

There are special cases of backup volume calculations.

  • If n = 1, we don't need a at all. Therefore S1=x1S_1 = x_1
  • If a is absent, so Sn=nx1S_n = n \cdot x_1
  • If a is static, so Sn=nx1+i=1n1(ni)aS_n = n \cdot x_1 + \sum_{i=1}^{n-1} (n-i) \cdot a

Watch the repository in GitHub VolBack

Top comments (0)