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

Offload import process #26

Closed
darrepac opened this issue Aug 2, 2022 · 8 comments
Closed

Offload import process #26

darrepac opened this issue Aug 2, 2022 · 8 comments

Comments

@darrepac
Copy link

darrepac commented Aug 2, 2022

Hi,

Is there a mean to offload the import process?
I have a big set of pictures and video that take age to import (due to transcoding and my server processor not being the latest one)
For doing so I am doing an import with no move option in the container running on my server.
Is there a mean to run this import from a more powerful machine yet filling the database in the container server? (I have a windows desktop PC which is more powerful)

@fuji246
Copy link
Contributor

fuji246 commented Aug 5, 2022

You can import that with more powerful machine and then change the home directory once you move it to power efficient server. see https://docs.lomorage.com/docs/Usage/lomorage-client/#reset-users-backup-home-directory-and-backup-directory

@darrepac
Copy link
Author

darrepac commented Aug 5, 2022

Ok but I thought using another machine but with the same home directory (home directory is on a NAS).
There will be no conflict having 2 lomo instance on 2 different machines pointing on to the same home directory?

@fuji246
Copy link
Contributor

fuji246 commented Aug 6, 2022 via email

@darrepac
Copy link
Author

darrepac commented Aug 6, 2022

That’s why I am currently running lomorage on my NAS… but seeing that after 15days, import is still not finished, I guess CPU is more the bottleneck (and videos)

I don’t know if the windows executable as an import with « no move » option. If yes, I think the problem will be how to replace the absolute path of assets in the database (the one from windows instance would be different than the one from NAS instance)

@fuji246
Copy link
Contributor

fuji246 commented Aug 7, 2022

One option is to use Linux machine or VM to import, and mount it with the same path you are going to use later.

@darrepac
Copy link
Author

darrepac commented Aug 7, 2022 via email

@fuji246
Copy link
Contributor

fuji246 commented Oct 9, 2022

@darrepac , to speed up import process, now "--no-video" is added to skip video import, see https://docs.lomorage.com/docs/Usage/lomorage-client/#import-from-one-existing-folders

@fuji246
Copy link
Contributor

fuji246 commented Oct 29, 2022

close it now, feel free to reopen if it still happens.

@fuji246 fuji246 closed this as completed Oct 29, 2022
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

2 participants