Skip to content

Thin disk parameter and backup naming convention is not working correctly #333

@JordanAlgar

Description

@JordanAlgar

Firstly, for the disk_backup_format, setting this to thin is still creating thick disks.
I saw someone else report the same issue and there was no response yet.

Secondly, the naming convention is confusing, I've tried a few settings.
If I leave it empty or remove it all together, I get a format where it creates the first folder with the VM name, inside is another folder like - vmname-2025-08-28_17-03-20

This is overcomplicated when it could be far simpler, especially if the rotation is to only ever have 1 set of backups.
I've tried setting it to 'vmname' or 'default', but it simply sets that as the folder name.
If I wasn't using a VM list to backup multiple VM's I could name the setting to be the VM name directly, but I have multiple VMs.

Is there anyway to have the output, create just the one folder where it is only the VM name, and not another folder within this folder, with the date time formatted onto it?

Below is my ghettoVCB.conf and I am using Vsphere 8.0.x

VM_BACKUP_VOLUME=/vmfs/volumes/backups
DISK_BACKUP_FORMAT=thin
VM_BACKUP_DIR_NAMING_CONVENTION=
VM_BACKUP_ROTATION_COUNT=1
POWER_VM_DOWN_BEFORE_BACKUP=1
ENABLE_HARD_POWER_OFF=0
ITER_TO_WAIT_SHUTDOWN=3
POWER_DOWN_TIMEOUT=5
ENABLE_COMPRESSION=0
VM_SNAPSHOT_MEMORY=0
VM_SNAPSHOT_QUIESCE=0
ALLOW_VMS_WITH_SNAPSHOTS_TO_BE_BACKEDUP=0
ENABLE_NON_PERSISTENT_NFS=0
UNMOUNT_NFS=0
NFS_SERVER=0.0.0.0
NFS_VERSION=nfs
NFS_MOUNT=/v1/Backups/VMs
NFS_LOCAL_NAME=/vmfs/volumes/backups

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions