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

suggestion to speed up pvc transfer #193

Open
mariosevic opened this issue Jul 5, 2023 · 3 comments
Open

suggestion to speed up pvc transfer #193

mariosevic opened this issue Jul 5, 2023 · 3 comments

Comments

@mariosevic
Copy link

A small suggestion on how Korb could be a lot faster: create a tar.gz file on the source PVC, move it to the destination, and then extract it. This method would significantly improve the speed.

@penumbra23
Copy link

penumbra23 commented Jul 12, 2023

++

@BeryJu
Copy link
Owner

BeryJu commented Jul 12, 2023

with a tgz it might reduce speed actually with the additional compression, however a raw tar file would probably make things faster.

However the issue with this approach is that we'd need to have enough free space on the source PV and the target PV for the archive and the data, which the current solution does not require

@bmuruga1
Copy link

bmuruga1 commented Nov 21, 2023

We had a recent issues in using the korb, where there are millions of files in the Source PVC.
strategy=copy-twice-name took more than 12 -14 hours and failing often with timeouts.

However export and import completed faster (tar option)

So introducing a new strategy (copy_twice_with_tar_pipe) tar to a pipe and extract in a single command line will be helpful and make it faster (Good old unix backup days).

This will not introduce any extra space consumption in the PVC also.

tar cfvz - /source | tar xfvz - -C /Dest

This will avoid the unnecessary space usage on the admin host for the export and import option

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

4 participants