Hi Everyone,
At BlockSurvey, we recently migrated from .org to .io domain. We wanted to check if there is any way to take a dump of files from .org Gaia and migrate it to .io Gaia.
I understand the files are encrypted with the app-key based on the combination of Blockstack id and app origin. So it is not a straight forward move. I have taken the file dump from .org domain using the below command. But few files are encrypted with the .org domain-specific app keys.
$blockstack-cli gaia_dump_bucket xxx.id.blockstack https://blocksurvey.org https://hub.blockstack.org â$BACKUP_PHRASEâ ./backups
Now, below are my list of questions:-
-
Once I have taken my files using gaia_dump_bucket command, gaia_listfiles command is always coming back as null. My understanding is dump should create a copy, but instead, I get a feeling it is deleting and get_files is returning null. Correct me if my understanding is wrong.
-
Is there any endpoint available to encrypt_file / decrypt_file separately similar to
encrypt_keychain / decrypt_keychain. -
One basic question while using gaia_putfile, what is encrypted + signed file?
-
I see collections as a potential solution but wanted to check Is there any alternate approach for my problem to shift files from .org domain to .io domain.
Requesting your inputs on the same. Thanks in advance for the help!