You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you export only accounts (hcli backup create --name 7-nov-2024 --accounts --safe) it will create a file like this accounts.backup.1730992758671.json.
The docs mentions you can only import state.backup.[...] files. But you can still import accounts.backup.[...] files. However, when you try this, it will overwrite the entire state with just the accounts contents, losing all state like operator accounts for the different networks.
Besides that, the --safe option prints a message Warning: The private keys were not removed from scripts while it did remove the private keys.
Description
When you export only accounts (
hcli backup create --name 7-nov-2024 --accounts --safe
) it will create a file like thisaccounts.backup.1730992758671.json
.The docs mentions you can only import
state.backup.[...]
files. But you can still importaccounts.backup.[...]
files. However, when you try this, it will overwrite the entire state with just the accounts contents, losing all state like operator accounts for the different networks.Besides that, the
--safe
option prints a messageWarning: The private keys were not removed from scripts
while it did remove the private keys.Steps to reproduce
hcli backup create --name 7-nov-2024 --accounts --safe
hcli backup restore -f accounts.backup.1730992758671.json
Additional context
Possible solution:
Verify this for all other types of backups as the same issue will likely occur there as well.
Hedera network
other
Version
latest
Operating system
None
The text was updated successfully, but these errors were encountered: