Giter Club home page Giter Club logo

Comments (8)

nordurljosahvida avatar nordurljosahvida commented on June 10, 2024

That's correct. The estimation is /var/www/ x2 if S3 is not enabled as all files are copied into one single dir [1x] + they're archived [1x (actually 0.6x in case of bz2 but we consider it a 1x anyway)], and x3 in case of S3 since we need to restore the entire archive with duplicity from S3 to disk for integrity purposes before we upload with duplicity. This is independent of backup_local_storage_location which we've implemented the other day, as all calculations are in addition to the actual /var/www/ dir.

from raptor.

xiano8494 avatar xiano8494 commented on June 10, 2024

Just for my understanding, could you clarify what you mean by "x3 in case of S3 since we need to restore the entire archive with duplicity from S3 to disk for integrity purposes before we upload with duplicity"

from raptor.

nordurljosahvida avatar nordurljosahvida commented on June 10, 2024

In addition to the copy and the archive, we also fully download the last backup stored on S3 to verify that we can decrypt it correctly [therefore occupying another 1x of space] before we actually upload anything new. This is because duplicity will not warn in case of a new, different key being used if that were to happen by mistake. I guess we could perform the test restore before we actually backup anything locally, let me reopen this to look into it.

from raptor.

nordurljosahvida avatar nordurljosahvida commented on June 10, 2024

Simply moving the test restore a few lines up, purging it, and only then backing up seems to work, let me do some additional testing and I'll push a beta.

from raptor.

nordurljosahvida avatar nordurljosahvida commented on June 10, 2024

Tested, works for me, please try a re-install in beta and let me know. I haven't updated the space required calculation yet, let's first see if the backup script works with this order of operations. Thanks

from raptor.

nordurljosahvida avatar nordurljosahvida commented on June 10, 2024

@xiano8494 any news? Thanks for your help.

from raptor.

xiano8494 avatar xiano8494 commented on June 10, 2024

I'll test to see if I have any issues with the amendments. Although, of course, my S3 backups aren't completing at the moment anyway!

from raptor.

nordurljosahvida avatar nordurljosahvida commented on June 10, 2024

Ok, your comment on #17 actually proves this is working, so I'm closing this for now. Thanks.

from raptor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.