Question

Naming convention of the backup objects in the repository


Userlevel 3

Dear Veeam 

I need your help,

1-I would like to know, How Veeam names each file. Exam xxx_Backup_2022-08-18T22018

I refer to the last numbers. 

2- I don't want to change the name of the backup job, I want to be able to edit or change the naming convention of the backup objects in the repository. like YYYY-MM-DD. 


9 comments

Userlevel 7
Badge +5

Hi

 

We add this random numbers at the end of the filename to avoid conflicts between per-vm backup files for the same machine. It can not be changed.
You can read more about it in this topic in the R&D Forums:

https://forums.veeam.com/post356401.html#p356401
 

The R&D forums are also the right place to add a feature request if you are unhappy with this naming scheme.

 

Thanks

Fabian

Userlevel 3

Hi Fabian,

 

Thanks for the answer. 

I understand that it is to avoid conflicts, but what is the sequence? or What algorithm does it take? I ask the question to identify the order.

 

Thanks :)

Margarita

Userlevel 7
Badge +5

I don‘t think that the algorithm can be shared with the public.

Why is the algorithm important? You can‘t rename the files by yourself, or the chain would be shown as broken in the veeam console.

If you could tell your use case, probably we can find a solution.

 

Thanks

Fabian

 

Userlevel 3

I do NOT want to know the algorithm, I just want to know the sequence the file is named with.
From my point of view, the way they are naming the file is not optimal.

It would simply be easier to take the date and time

 

Why they take the trouble to add codes that do not indicate anything.

Userlevel 7
Badge +3

It used to use the date and time in older versions but it wasn’t guaranteed that the file names would be unique at that time.  I too am curious as to your use case for using the date/time in the file names.  Others have asked about this as well but I’m not sure that I’ve seen the use case for it yet.

Userlevel 7
Badge +5

From my point of view, the way they are naming the file is not optimal.

It would simply be easier to take the date and time

As I told in my first answer, the random _#### value is added to prevent conflicts between 2 different per-vm backup chains for the same machine. Only Date and Time is ok, but what happens, if two backup files were created at the exactly same second? There could be a mixup.

 

A file from my backup repository. 

FK-DC.vm-20398D2022-08-22T200133_F3BA.vib

[VM-Name]D[Date]T[Time]_[RANDOM-Hex-Value].vib

Userlevel 3

From my point of view, the way they are naming the file is not optimal.

It would simply be easier to take the date and time

As I told in my first answer, the random _#### value is added to prevent conflicts between 2 different per-vm backup chains for the same machine. Only Date and Time is ok, but what happens, if two backup files were created at the exactly same second? There could be a mixup.

 

FK-DC.vm-20398D2022-08-22T200133_F3BA.vib

[VM]D[Date]T[TIME]_[RANDOM-Hex-Value].vib

 

Thans you! 

Userlevel 3

It used to use the date and time in older versions but it wasn’t guaranteed that the file names would be unique at that time.  I too am curious as to your use case for using the date/time in the file names.  Others have asked about this as well but I’m not sure that I’ve seen the use case for it yet.

 

Thank you so much.

Userlevel 4
Badge +2

FWIW, initially the new naming schema had the random hash salt first and date last, but this broke sorting on basically every OS, so based on feedback, it was switched so sorts work.

If there’s a specific use-case for the salt being logical in some way, don’t hesitate to share it, definitely it will be considered (not necessarily implemented though!). Just need to know how you’re using it is all, as  the reason for checking on the salt isn’t so clear for me immediately, but maybe I’m just not being creative enough.

Comment