Environment
Vertica 25.x
Situation
When running the Vertica backup script vbr.py you see a warning
/opt/vertica/bin/vbr:6690: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version.
Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
return datetime.datetime.utcnow().strftime('%Y%m%d_%H%M%S')
This is an informational message only and does not impact the backup itself.