[Bug] VMs → Backup config = removal of the DISPLAY/INPUT Sections from VM info template

Hi,

Its seems there is a nasty bugs in ON 7.2 Restic backup implementation.

  1. VMs → Backup config = removal of the DISPLAY/INPUT Sections from VM info template. Both dumps “onvm show 39” before and after backup config attached.

  2. Attempt to delete backup from web interface fails with error. Had to use oneimage delete <backup_image_id> --force, and then manually cleanup backup data store. I have not verified consistency of backup since in general this functionality is now in unreliable state.

Tue Apr 28 09:31:52 2026 [Z0][ImM][E]: rm: "$RESTIC_BIN" '--prune' '--max-unused=0' '--repo=/var/lib/one/datastores/105/39' forget 3c17cf97
Tue Apr 28 09:31:52 2026 [Z0][ImM][E]: rm: [STDERR] "bash: line 6: /var/tmp/one/datastore/restic/restic: Permission denied\n"
Tue Apr 28 09:31:52 2026 [Z0][ImM][E]: Error removing image from datastore. Retry the operation or manually remove image source and run the delete --force operation to completely delete the image: Command failed:export LANG=Cexport LC_ALL=Cset -e -o pipefail; shopt -qs failglobexport RESTIC_BIN="/var/tmp/one/datastore/restic/restic"export RESTIC_PASSWORD='nebovirt01-011'"$RESTIC_BIN" '--prune' '--max-unused=0' '--repo=/var/lib/one/datastores/105/39' forget 3c17cf97/var/lib/one/remotes/datastore/restic/restic.rb:308:in `remove_snapshots': Unable to remove snapshots: bash: line 6: /var/tmp/one/datastore/restic/restic: Permission denied (StandardError)from /var/lib/one/remotes/datastore/restic/rm:55:in `<main>’

This is quite strange since offending file created by restic itself.

RESTICDATASTORE:/var/tmp/one/datastore/restic # ls -lah
total 26M
drwxr-x— 2 oneadmin users 4.0K Oct 23 2025 .
drwxr-x— 3 oneadmin users 4.0K Oct 23 2025 ..
-rwxr-x— 1 oneadmin users 26M Oct 23 2025 restic

Upon request from dev team can send additional info necessary.

with best regards
Andrei

onevm-show-39.zip (4.7 KB)

Issue Nr2 solved. Bug Nr 1 remains and looks like appear at random.

ON copies Restic binary into “/var/tmp/one/datastore/restic/restic” on backup datastore system and is NOT using the one installed by host OS. It would be nice to add this info into ON manual to avoid unnecessary, time consuming system debugging.

My /var/tmp was not within root partition, and was mounted with “NOEXEC” option. Changing mounting options within /etc/fstab fixed issue Nr2 with inability to delete Restic bakups.

Hello,

I tried to reproduce this on my 7.2 setup, but so far I could not reproduce the template truncation after changing Backup configuration via Sunstone.

In my tests, FEATURES, GRAPHICS, INPUT, OS and VIDEO sections remain intact and only BACKUP_CONFIG is updated.

If this issue happens again, please immediately collect and attach:

  • oned.log
  • fireedge.log

preferably right after changing the Backup configuration in Sunstone, together with approximate timestamps, so we can try to catch the exact update request and identify where the template gets truncated.

Best regards.

Hi, Dmitrii,

Ok, if it happens again I’ll collect more details.