Restoring instance from swift container with freezer-agent

asked 2017-07-27 10:06:59 -0600

mikael1006 gravatar image

Hello,

I'm a user of OVH Public Cloud which is based on OpenStack. I wanted to backup my instance into a swift container so I have installed Freezer-agent (ocata).

I used the command below to backup my instance into a container named PHPBU.

freezer-agent --action backup --nova-inst-id 95ae3827-6737-492c-8829-3cc04c5eb4a6 --mode nova --no-incremental true --container PHPBU --backup-name BACKUP_NAME1

After few modifications, I have backup up my instance a seconde time into the same container with a different backup name.

freezer-agent --action backup --nova-inst-id 95ae3827-6737-492c-8829-3cc04c5eb4a6 --mode nova --no-incremental true --container PHPBU --backup-name BACKUP_NAME2

When I tried to restore the first backup I have done with the command below, it always restore the last backup.

freezer-agent --action restore--nova-inst-id 95ae3827-6737-492c-8829-3cc04c5eb4a6 --mode nova --no-incremental true --container PHPBU --backup-name BACKUP_NAME1

I tried to use the --restore-from-date option but it restore the last backup too.

freezer-agent --action restore --nova-inst-id 95ae3827-6737-492c-8829-3cc04c5eb4a6 --mode nova --no-incremental true --container PHPBU --backup-name BACKUP_NAME1 --restore-from-date "2017-07-24T14:30:00"

Can you tell me if I can restore the first backup and if so, how can I do that ?

edit retag flag offensive close merge delete