diff options
Diffstat (limited to 'www/posts/git/atom.xml')
| -rw-r--r-- | www/posts/git/atom.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/www/posts/git/atom.xml b/www/posts/git/atom.xml index 404b492..0ada83f 100644 --- a/www/posts/git/atom.xml +++ b/www/posts/git/atom.xml @@ -2,13 +2,13 @@ <feed xmlns="http://www.w3.org/2005/Atom"> <title type="text">The Home of David T. Sadler - All Posts About Git</title> <id>https://davidtsadler.com/posts/git/atom.xml</id> - <link rel="alternate" type="text/html" href="https://davidtsadler.com/posts/git/index.html"/> + <link rel="alternate" type="text/html" href="https://davidtsadler.com/posts/git/"/> <link rel="self" type="application/atom+xml" href="https://davidtsadler.com/posts/git/atom.xml"/> <updated>2021-06-13T12:00:00Z</updated> <entry> <title type="text">Backing Up a Git Repository</title> - <id>https://davidtsadler.com/posts/git/2021-06-13/backing-up-a-git-repository/index.html</id> - <link rel="alternate" type="text/html" href="https://davidtsadler.com/posts/git/2021-06-13/backing-up-a-git-repository/index.html"/> + <id>https://davidtsadler.com/posts/git/2021-06-13/backing-up-a-git-repository/</id> + <link rel="alternate" type="text/html" href="https://davidtsadler.com/posts/git/2021-06-13/backing-up-a-git-repository/"/> <author><name>David T. Sadler.</name></author> <published>2021-06-13T12:00:00Z</published> <updated>2021-06-13T12:00:00Z</updated> @@ -31,8 +31,8 @@ find $BACKUP_FILES -mtime +3 -delete exit 0</code></pre><p>All it does it tar and gzip any .git directories found under /home/git. It also removes any backups that are more than three days old.</p><p>This script has been saved as /usr/bin/backup_repositories and is ran daily via cron.</p><pre><code class="cron">0 3 * * * /usr/bin/backup_repositories &gt; /dev/null 2&gt;&amp;1</code></pre><p>It is important to know that this backup strategy is far from ideal for repositories that are heavily used as you run the high risk of trying to backup a repository as users are pushing to it. As git updates a repository in two phases this will lead to a backup that may not contain all the data and so won't be suitable for restoring. However its fine for my purposes since I'm the only user and it's unlikely that I will be making changes during the time the backup is running.</p><h3>Links</h3><a href="/posts/git/2021-05-29/setting-up-a-self-host-git-server/">2021-05-29 - Setting up a Self Hosted Git Server</a><a href="/posts/git/">Git - Read More Posts.</a><p>I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.</p><a href="mailto:david@davidtsadler.com">Email david@davidtsadler.com</a><h3>License</h3><a href="https://creativecommons.org/licenses/by-sa/4.0/">The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.</a><p>Copyright © 2021 David T. Sadler.</p><a href="/">Return to Homepage.</a></content> </entry><entry> <title type="text">Setting up a Self Hosted Git Server</title> - <id>https://davidtsadler.com/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html</id> - <link rel="alternate" type="text/html" href="https://davidtsadler.com/posts/git/2021-05-29/setting-up-a-self-host-git-server/index.html"/> + <id>https://davidtsadler.com/posts/git/2021-05-29/setting-up-a-self-host-git-server/</id> + <link rel="alternate" type="text/html" href="https://davidtsadler.com/posts/git/2021-05-29/setting-up-a-self-host-git-server/"/> <author><name>David T. Sadler.</name></author> <published>2021-05-29T12:00:00Z</published> <updated>2021-05-29T12:00:00Z</updated> |
