How to pull/retrieve directly to the external directory from remote instead of creating local copies? #9707
-
I am facing a challenge and would appreciate your help in finding the best solution. I'm currently working on a project where I want to push/version data from an external location to a remote storage using DVC, and subsequently pull/retrieve updates from the remote repository back to the external location. In this process, I intend to keep only the To provide more context, here are the specific requirements:
I believe DVC provides the necessary functionalities to accomplish this, but I am unsure about the exact steps and configuration required. If anyone has experience with a similar setup or any suggestions on how to achieve this, I would greatly appreciate your guidance. Thank you in advance for your help and expertise! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
See https://dvc.org/doc/user-guide/data-management/importing-external-data for how you can do this.
This is also covered by the guide linked above.
This is not possible with DVC now, although you could of course checkout locally and then upload it back as needed. We have explored this workflow in the past but it becomes clunky with the way DVC works otherwise. Could you explain more about your workflow and why you need to overwrite your source data directly in its original location? |
Beta Was this translation helpful? Give feedback.
-
For the record, I think I answered the same question on SO recently https://stackoverflow.com/a/76643634/298182 . It has some other ideas on how to organize things. |
Beta Was this translation helpful? Give feedback.
See https://dvc.org/doc/user-guide/data-management/importing-external-data for how you can do this.
This is also covered by the guide linked above.