<div dir="auto"><div>Hi Artem,</div><div dir="auto"><br></div><div dir="auto">I would say it's usual operations practice to keep N>1 backups of a system as assurance against corrupted backups. But maybe they could be stored on another server/service?</div><div dir="auto"><br></div><div dir="auto">Other suggestions:</div><div dir="auto"><br></div><div dir="auto">Gitlab stores both artifacts and caches for the CI pipelines. By default, archives are stored on the same machine as the GitLab service, creating the risk of resource contention. But there is an option to store them in an object storage service e.g. S3.</div><div dir="auto"><br></div><div dir="auto">The same goes for caches, but I think they are stored on the CI runner machine by default (is it separate from the GitLab machine?). Plus, caches are shared across many jobs while artifacts are unique to a job, so there are many less caches than artifacts.</div><div dir="auto"><br></div><div dir="auto">Still, it might be valuable to audit the use of both artifacts and caches. </div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sun, 11 Aug 2019, 1.23 Artem Pelenitsyn, <<a href="mailto:a.pelenitsyn@gmail.com">a.pelenitsyn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hello,<div dir="auto"><br></div><div dir="auto">Is there a reason to keep more than one backup of GitLab ever?</div><div dir="auto"><br></div><div dir="auto">--</div><div dir="auto">Best, Artem</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 10, 2019, 4:49 AM Ömer Sinan Ağacan <<a href="mailto:omeragacan@gmail.com" target="_blank" rel="noreferrer">omeragacan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Just yesterday Gitlab was giving 500 because the disk was full. Ben deleted some<br>
files, but in less than 24h it's full again. This started happening regularly, I<br>
wonder if we could do something about this.<br>
<br>
The reason this time seems to be that Gitlab started generating 22G-large<br>
backups daily since the 7th. I'm not sure how important those backups are so I'm<br>
not deleting them.<br>
<br>
There's also a large docker-registry directory (101G).<br>
<br>
I think it might be good to set up some kind of downtime monitoring or maybe<br>
something on the Gitlab server to send an email when the disk is nearly full. It<br>
could send an email to people who has access to the server.<br>
<br>
It'd also be good to come up with an action plan when this happens. I have<br>
access to the server, but I have no idea which files are important. Documenting<br>
Gitlab setup (and the server details) in more details might be helpful.<br>
<br>
Does anyone have any other ideas to keep the server running?<br>
<br>
Ömer<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" rel="noreferrer noreferrer" target="_blank">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank" rel="noreferrer">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote></div></div></div>