-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Equinix Move: Backup Server #3749
Comments
@ryanaslett I confirmed with @richardlau that you have infra level access, let us know if there is anything else needed to proceed. |
Progress report:
I have a question about the static data backups: on nodejs-www, there are two subdirectories with
All of the pruned nightly/daily canary v8 builds are on the backup server, going back 8 years. The /backup directory on the current backup server is about 5.1 TB of data, of which 3.7TB of it is the nightly/v8-canary. The pruned versions of those directories on nodejs-www are reduced to 1TB. So, Im wondering what the policy/intent is for keeping daily builds that far back. Its a tremendous amount of data, and now would be a good opportunity to not carry it forward if possible. |
The "policy" was that we didn't delete anything. The pruning was introduced to manage the space on nodejs-www (which has less available space compared to backup) -- previous to introducing the pruning we just kept bumping to larger disks. I know some collaborators have been asking about nightlies (cc @Uzlopak) but I'm not sure they need builds going all the way back to 8 years. |
Given that we wont have enough room on the new backup machine to house all of that data, and that the likelihood of that data needing urgent/immediate restore is presumably low, I propose that we stash that historical data temporarily on digital ocean's spaces (their S3 equivalent) until we can get some confirmation as to a retention policy, which I presume will take longer to establish than aligns with getting off of equinix. |
Are you saying that we pruned what is served through www but on the backup server we never deleted what was pruned from the www server? If so I think that we've never been asked to restore anything from the backup server in terms of the nightlies that having the backup server mirror what is available on www would make sense. @nodejs/build any objections/concerns to that? |
And to the specific suggestion of stashing the data temporarily somewhere else if needed until we agree +1 to that as @ryanaslett suggested. |
Yes, exactly. The scripts appear to append new data to the backup server, but do not do a full synchronize to delete anything that no longer exists on the www server. |
@ryanaslett thanks for confirming. Unless anybody objects I think the right answer is probably to only transfer the data which is on the www server. |
The new mnx.io backup server is online, and populated with everything that is on the old backup server, with the exception of the static daily builds that are trimmed by the prune.sh script that runs on Those files were sent from the old backup server to a pair of R2 buckets on cloudflare for the time being (until we get confirmation they can be deleted) I'd like to get either confirmation or a +1 to now decomission the old backup server and return it to Equinix. |
@ryanaslett how long has the back server been online, and are there any log files for the rsyncs that we can sniff test to see data being sync'd? I trust it's correct but a few sniff checks here and there would be be good as well. |
@mhdawson It's been online and running parallel backups for a couple of weeks now. I offset the cron on it by 8 hours to not collide with the existing backup server process. The static data that is synced over from nodejs-www appears to be keeping in sync:
The periodic weekly/monthly backups were synced from the old backup server to the new backup server, and the daily's were allowed to run. Strangely, theres a monthly anomaly on each server: New backup server seems to be missing the june monthly backup:
And the existing backup server seems to be missing the May backup:
I believe that's due to the new backup server being one week behind the cycle and will eventually propagate. |
@ryanaslett I believe there were also backups of Jenkins being put there as well. Do you have the list of things you set up to backup to the new server? |
@mhdawson The periodic data contains all of the jenkins ci and ci-release data. Everything under the /backup folder on the equinix backup machine is being backed up onto the /data/backup folder on the new mnx.io backup server. It includes
I have duplicated the cron scripts, and updated the backup scripts (#3823) (hadnt yet created that PR) I have made a backup of /root from the old server in a subfolder of root on the new server. I didn't discover anything else on the old backup server outside of the /backup directory in either the scripts, documentation, or in traversing the filesystem. |
@ryanaslett thanks for the details I'm +1 on letting the old backup server go. @nodejs/build anybody have any remaning concerns, if not a +1 to confirm would also be good. |
The backup server has been removed from ansible, and removed from the equinix account. Huzzah! |
sub issue of #3597
Mnx has created the packages that allow us to have a large disk instance for our backup server.
I've created a new home for backups at mnx, but I currently lack the 'infra' privileges to be able to provision it properly.
The text was updated successfully, but these errors were encountered: