start-os icon indicating copy to clipboard operation
start-os copied to clipboard

[feat]: Migrate individual packages from CIFS

Open chrisguida opened this issue 3 years ago • 1 comments

This would enable fast bitcoin syncs (https://github.com/Start9Labs/bitcoind-wrapper/issues/58), easy migrations from other platforms (LND and vaultwarden, for instance), etc. Could also be reversed to allow easy exporting of app data.

I'm picturing a "Migrate from CIFS" OS feature that works similarly to CIFS backup restore but doesn't do any decryption. Instead it just imports data from a particular CIFS network folder, replacing anything in that package's data volume with the contents of the CIFS folder.

As @ProofOfKeags mentioned in the bitcoind issue referenced above, this does seem like something that could be implemented using the actions API; however, I don't believe there's any current way for a package to access CIFS, without some significant changes to the OS. After more thought I've been wondering whether this wouldn't make more sense as a general OS feature rather than individually implementing in each package that needs it.

chrisguida avatar Jun 03 '22 18:06 chrisguida

I think it may actually be preferred to add support for cifs mounts to the Actions API. Then you could create an action for migrating data from external sources.

dr-bonez avatar Jun 21 '22 19:06 dr-bonez