백업 빈도가 이해되지 않습니다

Hey guys,

these are my settings for backup at the moment:

Here you see that actual backups made (It´s a new board, thus the small backups :slight_smile: )

I configured, as you can see, backup frequency “1”, but the backups are made every second day.
Is it just, that I´m too dumb to understand it, or is it something else ?

I want daily backups! :- :joy:

Thanks and Cheers,

Julian

Hey, what is your backup_time_of_day value? Also is it local or S3 storage?

it´s 3:30 and it´s local because of this

Thanks :slight_smile:

I see, thanks! I was maybe thinking of some timing issue, but it doesn’t look this way.
I will try to reproduce it. Let’s hope someone else has a better idea of what’s happening.

여기서는 여전히 같은 문제입니다.

백업 주기가 "1"로 설정되어 있지만, 백업은 이틀에 한 번만 실행됩니다. :frowning:

Docker 컨테이너에 접속하여 rails 콘솔을 실행해 주시겠어요?

./launcher enter app
rails c

… 그리고 다음 두 줄의 코드를 실행한 후 …

BackupRestore::BackupStore.create.latest_file
Time.now.utc

… 결과를 여기에 공유해 주시겠어요?

안녕하세요 @gerhard,

여기 있습니다 :slight_smile:

rails c
[1] pry(main)> BackupRestore::BackupStore.create.latest_file
=> #<BackupFile:0x00007ff6c5ed79e8 @filename="community-2025-03-04-033214-v20250220090521.tar.gz", @last_modified=2025-03-04 02:32:19.790859841 UTC, @size=43521649, @source=nil>
[2] pry(main)> Time.now.utc
=> 2025-03-04 08:07:17.128857559 UTC

최근 백업:

설정은 여전히 다음과 같습니다:

이미지는 "백업 주기"라는 라벨이 있는 필드와 입력값 "1", 그리고 해당 설정을 설명하는 툴팁이 표시된 설정 창을 보여줍니다. (AI 캡션)

WS 드림

감사합니다, 네, 문제점을 파악했습니다.

매일 00:00에 실행되는 백그라운드 작업이 있으며, 이는 나중에 실행될 백업 작업을 큐에 넣습니다. 하지만 이 조건은 일일 백업의 경우 대부분의 경우 참이 아니므로, 해당 작업이 건너뛰어집니다.

그리고 백업의 실제 시작 시간에 일부 잡터(jitter)를 추가하는 것도 도움이 되지 않습니다.

이것은 수정해야 하는 버그라고 생각합니다.