HPE Morpheus VM Essentials
1844837 Members
3296 Online
110233 Solutions
New Discussion

Temporary backup files location

 
SOLVED
Go to solution
RodPin
Occasional Advisor

Temporary backup files location

Hello! I have a new query that I couldn't find a solution in the forum yet, but I believe it should be fairly simple.

During a backup process using the UI, I've noticed that my VME VM hdd usage was growing quite fast, so I tried to cancel the backup. I had the notification that the backup was cancelled, but the files were still being created. Then I tried to delete the "cancelled" backup and restarted the VM in the process to make it stop.

Now, the disk is full of probably junk files, but I cannot find their location so I can delete them. Where are those temporary files saved?

2025-12-16 18_44_03-Clipboard.png

3 REPLIES 3
SergeMe
Occasional Advisor
Solution

Re: Temporary backup files location

Have you tried the Default Storage location (as per the documentation here), which should be:

/var/opt/morpheus/morpheus-ui/

 

Other than looking in /tmp, you can also look for large files (example here is anything equal to or larger then 1MB) using this command if that directory does not contain what you're looking for:

sudo find / -type f -size +1M 2>/dev/null -exec ls -lh {} + >large-files.txt

And then cat/less/more the txt file (as sudo of course). You could use find to delete the files as well (replace ls -lh with rm -f for instance) but be careful of course!

 


@RodPin wrote:

Hello! I have a new query that I couldn't find a solution in the forum yet, but I believe it should be fairly simple.

During a backup process using the UI, I've noticed that my VME VM hdd usage was growing quite fast, so I tried to cancel the backup. I had the notification that the backup was cancelled, but the files were still being created. Then I tried to delete the "cancelled" backup and restarted the VM in the process to make it stop.

Now, the disk is full of probably junk files, but I cannot find their location so I can delete them. Where are those temporary files saved?

2025-12-16 18_44_03-Clipboard.png


 

RodPin
Occasional Advisor

Re: Temporary backup files location

Great idea! As Morpheus create a flow with 100M files, instead of 1M, I'll just use 99M, for example. Then I can take a look at the folder where probably the files are.
I'll try and revert back!

UPDATE:

So I tried to use the >100M, but it did not find anything, then I went with the >1M option as suggested. I could identify the folder based in the VM HDD serial as per the virsh xml configuration, but not only the failed backup is present, but some other excluded backups! 

The VM backup that I had issues, one of the hdds backup is in the /var/opt/morpheus/morpheus-ui/vms/virtual-images/ folder. Another one that I cancelled (and was also reported as if the cancelling was complete) could be found in the /var/opt/morpheus/bitcan/backup/ folder... Quite messy, but I understand that my "Local_Share" folder is configured tp the virtual-images... Tomorrow, with a cooler head, I'll try to delete those folders and will report back!

 

UPDATE 2:

Just deleted the folders with the not working backups. So far, no issues! Thanks for the great suggestion, @SergeMe !

SergeMe
Occasional Advisor

Re: Temporary backup files location

Great, glad it helped you and thanks for the updates!