![]() The whole process took about eight hours coming from my primary Linode server in Atlanta. And the server-to-server transfer speeds using their b2 Python script, while not as fast as using a raw rsync connection, are quite a bit quicker than using S3.īefore committing to B2, I gave it a really thorough test by seeding it with 350,000 files totaling 450GB. The cost savings are enormous - especially for a small business like myself. Last week I migrated all of my backups off of Amazon S3 and to Backblaze B2. Localsshkeys= "/var/opt/gitlab/.ssh " # Check remote quota # change to true or 1 to enableĮxample for crontab to run at 5:05am everyday.Just a quick note for my future self and anyone else who might be running into this problem. Rsync_password_file= " " # only change if configs are in different locations. RVM_envPath= " " # only use the below settings if your destination is using rsync in daemon mode GitHome= "/var/opt/gitlab " # only set below if rvm is in use and you need to source the rvm env file # echo $(rvm env -path) # Only change the below setting if you have git's home in a different location RemoteConfDest= " " # ssh port or 873 for rsyncd port LocalConfDir= "/var/opt/gitlab/backups/configBackups " # set $remoteServer path for gitlab configs # blank disables remote copy # unless $localConfDir is outside /var/opt/gitlab/backups/configBackups # you can leave this blank # So you won't need to enable a separate rsync run # set $localConfDir # blank disables conf backups # you can create /var/opt/gitlab/backups/configBackups - # gitlab doesn't seem to complain with a subfolder # in there. # enable backblaze b2 sync # change to 1 to enable # and set bucket name # and change b2keepDays if other than 5 days is desired # rake quietly # change to 1 to enable quiet rake job RemoteDest= "/var/opt/gitlab/backups " # backup gitlab configs # change to 1 to enable SshKeyPath= " " # $remoteServer path for gitlab backups RemoteServer= " " # path to an alternate ssh key, if needed. RemoteUser= " " # remote host # a backup gitlab server? ![]() ![]() # user account on remote server # likely 'git' user ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |