Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP of securebox-backup-archive-s3 (upload timestamped archived project on remote S3 compatible storage) #2

Open
fititnt opened this issue Nov 17, 2020 · 0 comments

Comments

@fititnt
Copy link
Owner

fititnt commented Nov 17, 2020

See also:


Isse about implement an minimum viable product (MVP) upload timestamped archived project on remote S3 compatible storage.

This issue implicitly depends on the another issue be ready first, the securebox-backup-archive-locally (see MVP of securebox-backup-archive-locally (save timestamped archived project) #1), but most of shared functionality can be on the securebox-backup-library.sh. Yet some code duplication with securebox-backup-archive-locally may actually be acceptable if it could make more easier to maintain or people create their own versions.

One thing that maybe is a good default for all securebox-backup-archive-* is, even if could not use temporary directory, we do it anyway. The securebox-backup-archive-locally in in some cases could output files from the local mirrored copy (default: /backups/mirror/...) directly on the archived path (default: /backups/archives/...). Yes, I understated that one implication of this is that both securebox-backup-archive-locally and securebox-backup-archive-s3 could end with like almost 60-70% of near equivalent code, but I think that, for the end user, the complete different command names can be more intuitive than an extra flag. This could play a very nice combo with the config files.

fititnt added a commit that referenced this issue Nov 23, 2020
… concept of 'archives' will be changed to 'snapshots' to make clear what it would be
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant