Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
Post Reply
grufo
Novice
Posts: 8
Liked: 3 times
Joined: Sep 27, 2017 4:50 am
Full Name: Manfred
Contact:

Restore not possible because /var not mounted

Post by grufo »

Veeam Case ID: 04713453

I can not restore from my backup because /var does not get mounted from backup.

We use to mount our web folders for chroot access into /home/chroot directory with the following command:
mount --bind /var/www/vhosts/test /home/chroot/chroot-test-user/test/

On the host where /var is not mounted form backup this seems to be the problem.

When we mount the backup the "mount" command show the following:

Code: Select all

/dev/loop9 on /mnt/backup type ext4 (rw,relatime)
/dev/loop1 on /mnt/backup/srv type ext4 (rw,relatime)
/dev/loop11 on /mnt/backup/usr type ext4 (rw,relatime)
/dev/loop13 on /mnt/backup/tmp type ext4 (rw,relatime)
/dev/loop7 on /mnt/backup/boot type ext2 (rw,relatime)
/dev/loop10 on /mnt/backup/home type ext4 (rw,relatime)
/dev/loop14 on /mnt/backup/sda9 type ext4 (rw,relatime)
/dev/loop0 on /mnt/backup/disk1 type ext4 (rw,relatime)
/dev/loop3 on /mnt/backup/disk2 type ext4 (rw,relatime)
/dev/loop2 on /mnt/backup/disk3 type ext4 (rw,relatime)
/dev/loop4 on /mnt/backup/backup.cloud type ext4 (rw,relatime)
/dev/loop12 on /mnt/backup/home/chroot/chroot-test-user/test type ext4 (rw,relatime)
The /var volume has the uuid: 9b8da5f8-368b-4db7-b867-b449b54f9de7

The Manager.log files has an entry with that uuid:

Code: Select all

Manager.log:[22.03.2021 17:50:20.879] <139957680821440> vmb    |     [ae32] out:   (EStringArray) Mounter.Fs.FlatPaths =
  {
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/p5-disk1,                              
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/p1-srv,                                
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/p4-disk3,                              
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/p3-disk2,                              
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/p2-backup.cloud,                       
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/{c96839e0-3fbb-4923-be69-a43d9e62f2af},
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/{37caf0b6-5b33-4b5f-bd49-0a7db73ceee7},
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_0,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_1,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_2,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_3,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_4,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_5,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_6,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_7                             
  }
  (EStringArray) Mounter.Fs.LoopPaths =
  {
    /dev/loop0,  /dev/loop1,  /dev/loop2,  /dev/loop3,  /dev/loop4, 
    /dev/loop5,  /dev/loop6,  /dev/loop7,  /dev/loop8,  /dev/loop9, 
    /dev/loop10, /dev/loop11, /dev/loop12, /dev/loop13, /dev/loop14 
  }
  (EStringArray) Mounter.Fs.Types =
  {
    ext4, ext4, ext4, ext4, ext4, ,     ,     ext2, swap, ext4, ext4, ext4,
    ext4, ext4, ext4 
  }
  (EStringArray) Mounter.Fs.Uuids =
  {
    4a5df04d-38ef-4d19-b701-34081f13c526,
    5881b2c3-e23f-4c11-9fad-886bc11b92ad,
    31823759-9cb9-4d16-864a-9f03bda995c2,
    f6c3cbf9-8fe0-43dd-b7ef-e15fe354ae56,
    5eb16282-28e5-4065-a289-0c9bf73cf273,
    ,                                    
    ,                                    
    274929b7-d176-4ad4-8661-9a564abcc51d,
    4d3a8ce3-411b-4b0a-acc9-76581f2cca26,
    36596969-a035-4fbc-8000-07318fdd897e,
    af60e6ee-fbd5-40d2-a588-1997d1273788,
    ee748c6d-ca02-4a18-97b6-7a1829d2ae41,
    9b8da5f8-368b-4db7-b867-b449b54f9de7,
    bcdd8ceb-eda9-45a1-8234-22c9d2b3267d,
    2bc49f96-61b2-432c-bddf-189f5d650941 
  }
  (EStringArray) Mounter.Volumes.FlatPaths =
  {
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/{c96839e0-3fbb-4923-be69-a43d9e62f2af},
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/{37caf0b6-5b33-4b5f-bd49-0a7db73ceee7},
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_0,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_1,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_2,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_3,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_4,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_5,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_6,                            
    /tmp/veeamflr/{7b0d0cd5-4c99-4cac-bf5b-703c5c215a20}/642b1768_7                             
  }
  (EStringArray) Mounter.Volumes.ObjectPaths =
  {
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/{c96839e0-3fbb-4923-be69-a43d9e62f2af},
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/{37caf0b6-5b33-4b5f-bd49-0a7db73ceee7},
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768,                              
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768,                              
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768,                              
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768,                              
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768,                              
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768,                              
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768,                              
    /6745a759-2205-4cd2-b172-8ec8f7e60ef8 (2321bc00-856a-6876-f6f6-38d54702fb93_70758e90-c7ae-470a-b083-c4631a844f3c)/642b1768                               
  }
  (EStringArray) Mounter.Volumes.PartitionInfos =
  {
    ,      ,      mbr/0, mbr/1, mbr/2, mbr/3, mbr/4, mbr/5, mbr/6, mbr/7 
  }
I think /dev/loop5, /dev/loop6 and /dev/loop8 are missing.

Anybody else with that problem?
Really bad about the problem is that you only discover it when you want to restore data! :-)

Regards
Manfred
grufo
Novice
Posts: 8
Liked: 3 times
Joined: Sep 27, 2017 4:50 am
Full Name: Manfred
Contact:

Re: Restore not possible because /var not mounted

Post by grufo »

If I unmount those "mount --bind" directories and start a new backup job, the restore is ok afterwards!

Backup with "mount --bind" active looks like that:

Code: Select all

root@server:/var/log/veeam# ls /mnt/backup/var/
cache  lib  lock  log  run  spool
Backup without "mount --bind" looks like that:

Code: Select all

root@server:/var/log/veeam# ls /mnt/backup/var/
backups  cache  lib  local  lock  log  lost+found  mail  opt  run  spool  tmp  www
So the workaround would be to create a pre/post script to unmount and remount the directories.
But the Veeam Agent version 5.0.0.4318 has definitely a problem with "mount --bind"!

Regards
Manfred
alanlloyd
Lurker
Posts: 1
Liked: never
Joined: Mar 23, 2021 3:40 pm
Full Name: Alan Lloyd
Contact:

Re: Restore not possible because /var not mounted

Post by alanlloyd »

Hi Can you confirm your OPSYS verison?
grufo
Novice
Posts: 8
Liked: 3 times
Joined: Sep 27, 2017 4:50 am
Full Name: Manfred
Contact:

Re: Restore not possible because /var not mounted

Post by grufo »

Ubuntu 20.04 with all the latest patches
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests