Backup Proxmox Server "Disallowed filesystem /etc/pve"

25 views
Skip to first unread message

Stefan Harbich

unread,
Sep 6, 2025, 6:10:33 PMSep 6
to bareos-users
Hello,
i'm trying to back up a Proxmox server via Bareos. It works. However, not all directories are backed up. For example, the "/etc/pve" directory is not backed up.
...
06-Sep 23:54 psme02-fd JobId 1558: Disallowed filesystem. Will not descend from / into /etc/pve
06-Sep 23:55 psme02-fd JobId 1558: Disallowed filesystem. Will not descend from / into /var/lib/lxcfs
...

The directory has the following file system:
...
root@psme02:~# df -T
Filesystem  Type  1K-blocks Used Available Use% Mounted on
/dev/fuse     fuse  131072     24     131048   1%      /etc/pve
...
How can I back up the directory anyway?
Do I need to add the fuse filesystem to the fileset?
...
FileSet {
  Name = "LinuxAll"
  Description = "Backup all regular filesystems, determined by filesystem type."
  Include {
    Options {
      Signature = MD5 # calculate md5 checksum per file
      One FS = No     # change into other filessytems
      xattrsupport = no
      FS Type = btrfs
      FS Type = ext2  # filesystems of given types will be backed up
      FS Type = ext3  # others will be ignored
      FS Type = ext4
      FS Type = reiserfs
      FS Type = jfs
      FS Type = xfs
      FS Type = zfs
    }
    File = /
  }
  # Things that usually have to be excluded
  # You have to exclude /var/lib/bareos/storage
  # on your bareos server
  Exclude {
    File = /dev
    File = /mnt
    File = /media
    File = /proc
    File = /run
    File = /tmp
    File = /sys
    File = /var/lib/bareos
    File = /var/lib/bareos/storage
    File = /var/lib/elasticsearch/indices
    File = /var/lib/docker/overlay
    File = /var/tmp
    File = /.journal
    File = /.fsck
  }
}
...
I'm using the following Bareos version:
...
*version
bareos-dir Version: 24.0.1~pre67.4ee24a825 (12 February 2025) Debian GNU/Linux 11 (bullseye) debian Debian GNU/Linux 11 (bullseye) 
...
Greetings from Stefan Harbich

Oleg Volkov

unread,
Sep 7, 2025, 8:23:27 AMSep 7
to bareos-users
As I familiar with proxmox, an /etc/pve is not a real filesystem, it is cluster synced filesystem mounted via fuse.
You can rsync a content somewhere else and take a backup there. Anyway, you could not deploy a proxmox cluster by just restoring it.

Bruno Friedmann (bruno-at-bareos)

unread,
Sep 8, 2025, 3:51:51 AMSep 8
to bareos-users
Simply did you try to add FS Type = fuse ?

Stefan Harbich

unread,
Sep 8, 2025, 11:23:32 AMSep 8
to bareos-users
This exact setting
...
FS Type = fuse
...
worked. Thank you very much for the information.

Bruno Friedmann (bruno-at-bareos)

unread,
Sep 9, 2025, 4:38:13 AMSep 9
to bareos-users
After, it is up to your to test the restore, especially if that a specific mountpoint I guess you will have to have it in place before restoring the file there. But at least you have the files. ;-)
Reply all
Reply to author
Forward
0 new messages