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

[FEATURE] Skip download phase for local backups #63

Open
2ban opened this issue Dec 17, 2021 · 2 comments
Open

[FEATURE] Skip download phase for local backups #63

2ban opened this issue Dec 17, 2021 · 2 comments
Assignees
Labels

Comments

@2ban
Copy link

2ban commented Dec 17, 2021

Is your feature request related to a problem? Please describe.
Hello, I'm using Esop with Icarus, and saving backups to local storage (file:///backup-storage/mybackups/some/backup/path).
When I need to restore it, I must specify sourceDir, where backup will be downloaded and imported from.
It makes sense for s3 and other network storages, but not for local.

Describe the solution you'd like
Skip download phase for backups that saved locally

@smiklosovic
Copy link
Collaborator

smiklosovic commented Dec 17, 2021

I know about that but just skipping the download and importing it directly from the dir on the disk is not so easy because the layout is just different and it would break things / it would introduce a lot of problems in the implementation.

What might be possible is to still "download it" but that downloading would be just hardlinking. In other words, it would seem like it is downloaded but it would be just stored under sourceDir having different directory structure so it would not occupy any space and it would not take any time to "download it" either.

@2ban
Copy link
Author

2ban commented Dec 17, 2021

Hardlinking sounds good, the goal is to eliminate losing time and disk space

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants