digint / btrbk

Tool for creating snapshots and remote backups of btrfs subvolumes
https://digint.ch/btrbk/
GNU General Public License v3.0
1.6k stars 117 forks source link

btrbk: default to start weeks on mondays #510

Open calestyo opened 1 year ago

calestyo commented 1 year ago

Changed the default of the preserve_day_of_week-option to monday in accordance with the start of an ISO 8601 week as well as the meaning of weekly systemd.

Signed-off-by: Christoph Anton Mitterer mail@christoph.anton.mitterer.name

calestyo commented 1 year ago

@digint Could you possibly review? :-)

digint commented 1 year ago

This will break setup for 99% of btrbk users at once. "sunday" was chosen because for most people it makes sense to keep the backup from the weekend.

calestyo commented 1 year ago

Well... for that one has changelogs or news files… or major versions where one could make such changes.

I mean it's not a super important change, so if you're strictly against it... I don't mind. But I guess it's clear that the future is systemd, whether one likes it or not, and there weeks start on Mondays, so it would be a nicer fit.