Backups are duplicating and not respecting number to keep on disk

I, for one, think we should use sidereal time, but I don’t really care when the backups happen… I am more interested in rooting out the cause of the failures and reducing their size (if that’s related).

Right, and one way you do that is by removing variables. Such as discrepancies in time zone settings on a server… since servers should always be in UTC time, like God intended :wink:

1 Like

I changed the host to UTC and rebooted, everything is back up and seems fine. Now lets see if we still have weird backups!

Thanks again for the support, appreciate it immensely!

3 Likes

Since you have so many images and clearly this bloats uploads somewhat, even after we trim it, have you considered moving uploads to S3 and fronting with a CDN? It will heavily reduce backup size

2 Likes

Backups are very cheap going to glacier and we have tons of transfer available at our current host, but I’ll leave the amazon price calcs to my man @clay. Certainly an option.

Before, pause duration 47 seconds

[2019-02-12 10:48:59] Pausing sidekiq...
[2019-02-12 10:49:46] Unpausing sidekiq...

After, pause duration 15 seconds

[2019-02-14 00:48:20] Pausing sidekiq...
[2019-02-14 00:48:35] Unpausing sidekiq...

That’s a 3x improvement in reduced sidekiq pause time. Obviously the larger the number of the uploads, the bigger the difference will be. This is a pretty fast and beefy machine too.

As for the new site setting include thumbnails in backups

Before, archive time 30 seconds, 1.1 GB size

[2019-02-12 10:49:16] Gzipping archive, this may take a while...
[2019-02-12 10:49:46] (archiving complete)

After, archive time 20 seconds, 789 MB size

[2019-02-14 01:05:03] Gzipping archive, this may take a while...
[2019-02-14 01:05:23] Uploading archive...

I give this a :+1: @gerhard

@Wingtip you should get latest, rebuild, turn OFF include thumbnails in backups and give it a shot.

4 Likes

Will do, molto grazie!

3 Likes

No problem, thanks for digging into this so we could fix the root cause for everyone. Large database sites are particularly helpful because they strain different parts of the code etc.

7 Likes