Hello,
I back up virtual machines (onPrem) with “verticalbackup” (cmd: vertical) and store all the backups via an AWS Storage Gateway into a S3 bucket. So far so good.
About the fact that an ESXi host cannot run cmds which needs lot of memory I have to run the prune cmd from another Linux machine - in this case with duplicacy. Working.
But - imagine you have a DR case - your server room melt down and you will not have an ESXi server anymore - how you can restore a virtual machine from a backup?
The video I saw and all the comments about restore doesn’t show me how it could work in my case.
So
cd path/to/repository1
duplicacy restore -r 1
why I cannot give the name of the backup with this cmdl?
Imagine:
- your ID is vmware5
- the storage is mounted /esxi-storage
- the ESXi host will backup 6 different virtual machines (vm1,…vm6) every 12 hours
then you will see after a while and prune a list like:
Snapshot vm1@vmware5 revision 1 created at 2022-03-20 19:30
Snapshot vm1@vmware5 revision 11 created at 2022-03-28 12:21
Snapshot vm1@vmware5 revision 21 created at 2022-04-04 12:27
…
Snapshot vm1@vmware5 revision 150 created at 2022-08-10 13:09
Snapshot vm1@vmware5 revision 151 created at 2022-08-11 13:10
Snapshot vm2@vmware5 revision 1 created at 2022-03-20 19:46
…
Snapshot vm2@vmware5 revision 149 created at 2022-08-09 22:26
Snapshot vm2@vmware5 revision 150 created at 2022-08-10 13:24
…
Snapshot vm4@vmware5 revision 149 created at 2022-08-10 13:00
Snapshot vm4@vmware5 revision 150 created at 2022-08-11 13:00
Snapshot vm5@vmware5 revision 1 created at 2022-03-21 14:24
Snapshot vm5@vmware5 revision 10 created at 2022-03-28 12:47
…
Snapshot vm5@vmware5 revision 147 created at 2022-08-05 12:38
Snapshot vm5@vmware5 revision 148 created at 2022-08-09 22:39
Snapshot vm5@vmware5 revision 149 created at 2022-08-10 13:38
Snapshot vm6@vmware2 revision 1 created at 2022-08-04 21:12
Snapshot vm6@vmware2 revision 2 created at 2022-08-05 01:12
Snapshot vm6@vmware2 revision 3 created at 2022-08-05 16:10
Snapshot vm6@vmware2 revision 4 created at 2022-08-09 16:11
Snapshot vm6@vmware2 revision 5 created at 2022-08-10 01:12
Snapshot vm6@vmware2 revision 6 created at 2022-08-11 01:13
Snapshot vm6@vmware5 revision 1 created at 2022-03-20 18:47
How can I tell duplicacy to restore "vm5@vmware5 revision 149 "?
In your documentation I see only “duplicacy restore -r …” without a name.
The init cmd with vmware5 will not work because the result is that vmware5 cannot be found - of course, because this is not the name of the VM but an ID.
Could it be that duplicacy is not able to restore virtual machines which are backed up with verticalbackup?
I will also ask verticalbackup.
Thx and best,
J.