<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Howto on negativesign</title>
    <link>https://negativesign.com/categories/howto/</link>
    <description>Recent content in Howto on negativesign</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>copyright © 2011-2020 Andrew Catellier</copyright>
    <lastBuildDate>Tue, 02 Jul 2013 23:57:00 -0600</lastBuildDate>
    
	<atom:link href="https://negativesign.com/categories/howto/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Quick and Dirty Redundancy: Cloning a GitLab Server</title>
      <link>https://negativesign.com/blog/2013/07/02/quick-and-dirty-redundancy-cloning-a-gitlab-server/</link>
      <pubDate>Tue, 02 Jul 2013 23:57:00 -0600</pubDate>
      
      <guid>https://negativesign.com/blog/2013/07/02/quick-and-dirty-redundancy-cloning-a-gitlab-server/</guid>
      <description>I run a GitLab server that I use to collaborate with coworkers.1 It&amp;rsquo;s a custom-built machine with a RAID, lots of memory, redundant power supplies, and is running Ubuntu. Every day, a simple cron script to makes a backup copy of the data on the server to another machine. The script looks something like this:
#!/bin/sh cd /home/gitlab/gitlab sudo -u gitlab -H bundle exec rake gitlab:backup:create RAILS_ENV=production rsync -avrcpt /home/gitlab/gitlab/tmp/backups/ user@remotemachine:/path/to/gitlabtars rsync -avrcpt /home/git/repositories/ user@remotemachine:/path/to/barerepos  This script copies a GitLab-friendly backup file to a remote machine and syncs bare Git repositories to a different place on the same remote machine (just in case GitLab goes out of style).</description>
    </item>
    
  </channel>
</rss>