Delta backup - can't restore
-
Trying to restore delta backup in Orchestra v5.70.0 build from sources.
Oldest backup
November 8, 2020, 11:20:01 PMLatest backup
November 23, 2020, 11:20:01 PMAvailable Backups
delta 18Web UI throws error:
ENOENT: no such file or directory, open '/run/xo-server/mounts/26a365a5-fff3-4ad9-b9af-f041f04ed42b/xo-vm-backups/b487c411-18b8-1de3-55d3-9ac6480d4732/vdis/638f3d43-3ed8-4906-a78f-b98184681a0e/6f9e79f0-fbc7-4045-acca-44cebbe1c7b4/20201106T222001Z.vhd'
On Orchestra VM:
root@xoa:~# ls /run/xo-server/mounts/26c5174a-1dda-4d2a-a627-543b0d8aeb4b/xo-vm-backups/b487c411-18b8-1de3-55d3-9ac6480d4732/vdis/638f3d43-3ed8-4906-a78f-b98184681a0e/6f9e79f0-fbc7-4045-acca-44cebbe1c7b4 -l -h total 408G -rw-r--r-- 1 root root 20G Nov 24 01:23 20201108T222001Z.vhd -rw-r--r-- 1 root root 31G Nov 9 23:29 20201109T222001Z.vhd -rw-r--r-- 1 root root 34G Nov 10 23:30 20201110T222001Z.vhd -rw-r--r-- 1 root root 43G Nov 11 23:32 20201111T222001Z.vhd -rw-r--r-- 1 root root 34G Nov 12 23:30 20201112T222001Z.vhd -rw-r--r-- 1 root root 35G Nov 13 23:30 20201113T222001Z.vhd -rw-r--r-- 1 root root 16G Nov 14 23:24 20201114T222001Z.vhd -rw-r--r-- 1 root root 15G Nov 15 23:24 20201115T222001Z.vhd -rw-r--r-- 1 root root 30G Nov 16 23:28 20201116T222001Z.vhd -rw-r--r-- 1 root root 14G Nov 17 23:23 20201117T222001Z.vhd -rw-r--r-- 1 root root 36G Nov 18 23:30 20201118T222001Z.vhd -rw-r--r-- 1 root root 34G Nov 19 23:30 20201119T222001Z.vhd -rw-r--r-- 1 root root 36G Nov 20 23:33 20201120T222001Z.vhd -rw-r--r-- 1 root root 12G Nov 21 23:23 20201121T222001Z.vhd -rw-r--r-- 1 root root 12G Nov 22 23:24 20201122T222001Z.vhd -rw-r--r-- 1 root root 12G Nov 23 12:21 20201123T111720Z.vhd -rw-r--r-- 1 root root 603K Nov 23 12:38 20201123T113818Z.vhd
File is really missing. I was not messing with .vhd files on filesystem (actually this is the first time I saw where they are). Just remember lowering retention policy (through web UI) couple days ago if it's relative.
-
Pinging @julien-f if it rings any bell.
-
That may indeed be related to a bug lowering the retention, I don't think this occurs with the new backup code, it would be interesting to test once released in xo-server.
You can take a look at this post where I explain succinctly how to check XO backup files
-
@julien-f Backup files check found no problems, so I tried to restore again and it works. No changes or updates in XO, no changes on vhd or json files (same dates and sizes). Only think I did was detach and attach backup repository (settings - remotes) which I tried before with no luck.