charles-001 / backup-warden

Streamline your backup management with ease and simplicity
https://pypi.org/project/backup-warden/
GNU General Public License v3.0
17 stars 0 forks source link

Please add option to specify timezone used to create backup file names #3

Closed Dimagog closed 6 months ago

Dimagog commented 7 months ago

My backup files are named using UTC datetime of the moment when they were created. When I run this tool, it treats them as datetimes in my computer’s timezone, and as a result the retention rules are shifted.

Please add a way to specify timezone (or at least UTC) for backup files.

charles-001 commented 7 months ago

Hi @Dimagog - I will look to add this feature in the next version. Thank you!

charles-001 commented 7 months ago

I've added this to the main branch as --utc. Can you git clone it, run poetry install, then poetry run backup-warden with your normal parameters to test that it works as you expect?

Dimagog commented 7 months ago

Thank you very much for such a quick turnaround on both issues!