Comments (8)
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.
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.
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.
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.
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.
@xiano8494 any news? Thanks for your help.
from raptor.
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.
Ok, your comment on #17 actually proves this is working, so I'm closing this for now. Thanks.
from raptor.
Related Issues (20)
- Pwgen missing causes strange behaviours HOT 1
- Unable to download file, /tmp/eeupdate20180407-125625 HOT 4
- restore_type: unbound variable HOT 12
- Backup Compression HOT 5
- Testing restore from S3 failed HOT 19
- Backup script doesn't exit on failure HOT 4
- Cannot connect to digitalocean object storage HOT 11
- Tiny typo HOT 1
- After full reinstall backup doesn't run at all HOT 4
- Add lockfile to avoid multiple concurrent backups
- Add ability to reconfigure without running full setup HOT 3
- Cloudflare intergration HOT 12
- bindfs depends on fuse HOT 2
- 18.04 LTS install HOT 3
- getting error mail HOT 1
- Subdomains problem HOT 4
- Trying to update raptor HOT 2
- Installation error on ubuntu 16.04 HOT 1
- Cannot install HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raptor.