Corsinvest / cv4pve-autosnap

Automatic snapshot tool for Proxmox VE
https://www.corsinvest.it/cv4pve
GNU General Public License v3.0
413 stars 51 forks source link

Change Naming of the snapshots #50

Closed tomcatcw1980 closed 3 years ago

tomcatcw1980 commented 3 years ago

Hello,

first of all, tanks to all contributes for this project.

Now my problem: Is there any way to change the naming of the snapshots? Currently they are named after autodaily%y%m%d%H%M. However, I would like to change it to auto-daily-%Y-%m%d-%H%M e.g.

franklupo commented 3 years ago

Hi, Proxmox VE does not allow to rename snapshots.

Best regards

tomcatcw1980 commented 3 years ago

Hi, I don't want to rename afterwards. I would like adjust the naming schema in advance.

Background is, that I want to replicate to a Freenas box. But actual Freenas complains that there must be a %Y with the year with 4 digits (2021) and not only 2 digits %y (21). The replication works without issues if I use the zfs-autosnap with naming schema %Y-%m%-%d-%H%M.

Thank you.

franklupo commented 3 years ago

Hi, See parameter --timestamp-format

Best regards

tomcatcw1980 commented 3 years ago

That's exactly what I looked for. Didn't see that. I'm sorry.

Thank you for guiding me in the right direction.

Bes regards