Skip to content

restoring a droplet_A with a backup of a droplet_B #2

@alexx8bits

Description

@alexx8bits

Hi.
I Recently a came across this doubt. For what I understand this is theoretically imposible. A backup of droplet_B can not be used to restore droplet_A. The goal is to have in the end droplet_A=droplet_B. I know there is a more easy way to do this, for example cloning the droplet, but this is my doubt.

The command used to try this was:
dobackup --restore-droplet droplet_A --restore-to "droplet_B--dobackup--2021-09-22 10:59:45"

the result is this error:

2021-09-30 15:54:47,297 [INFO ] Starting Restore Process
2021-09-30 15:54:47,739 [WARNI] json.decoder.DataReadError WHILE SENDING <Droplet: 267137674 droplet_A>.restore(), TRYING AGAIN
2021-09-30 15:54:53,216 [WARNI] json.decoder.DataReadError WHILE SENDING <Droplet: 267137674 droplet_A>.restore(), TRYING AGAIN
2021-09-30 15:54:58,824 [WARNI] json.decoder.DataReadError WHILE SENDING <Droplet: 267137674 droplet_A>.restore(), TRYING AGAIN
2021-09-30 15:55:04,285 [WARNI] json.decoder.DataReadError WHILE SENDING <Droplet: 267137674 droplet_A>.restore(), TRYING AGAIN
2021-09-30 15:55:09,783 [WARNI] json.decoder.DataReadError WHILE SENDING <Droplet: 267137674 droplet_A>.restore(), TRYING AGAIN
2021-09-30 15:55:14,789 [CRITI] NEVER RETURNED, WHILE SENDING <Droplet: 267137674 droplet_A>.restore(), TRYING AGAIN

If I am right and this cant't be achieved, then I think the dobackup tool should handle this error, and says, for example: "there is imposible to restore because the backup if from another droplet" or something more easy to understand like "domain error", jajaja.
regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions