diff --git a/lib/backend.py b/lib/backend.py
index 1d0d15f080c7d3b34515a6800841753ccb560166..8abe5a676a363a0969aa955e546c8595542dc28e 100644
--- a/lib/backend.py
+++ b/lib/backend.py
@@ -1995,8 +1995,9 @@ def OSEnvironment(instance, inst_os, debug=0):
   """
   result = OSCoreEnv(instance.os, inst_os, instance.osparams, debug=debug)
 
-  result['INSTANCE_NAME'] = instance.name
-  result['INSTANCE_OS'] = instance.os
+  for attr in ["name", "os", "uuid", "ctime", "mtime"]:
+    result["INSTANCE_%s" % attr.upper()] = str(getattr(instance, attr))
+
   result['HYPERVISOR'] = instance.hypervisor
   result['DISK_COUNT'] = '%d' % len(instance.disks)
   result['NIC_COUNT'] = '%d' % len(instance.nics)