-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.xml
More file actions
22 lines (20 loc) · 1.57 KB
/
index.xml
File metadata and controls
22 lines (20 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Felipe Amorim</title>
<link>https://felipos.github.io/</link>
<description>Recent content on Felipe Amorim</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-US</language>
<copyright>Copyright © 2020, Felipe Amorim.</copyright>
<lastBuildDate>Sun, 03 Jun 2018 00:00:00 +0000</lastBuildDate><atom:link href="https://felipos.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Incremental backup with rsync</title>
<link>https://felipos.github.io/incremental-backup-with-rsync/</link>
<pubDate>Sun, 03 Jun 2018 00:00:00 +0000</pubDate>
<guid>https://felipos.github.io/incremental-backup-with-rsync/</guid>
<description>Dropbox, Google Drive and other cloud storage providers are useful but they won&rsquo;t last forever. So, it&rsquo;s useful to keep a local copy with you too. The following script is responsible for keeping my files safely stored in a incremental way on my homeserver. Eventually it will be useful to someone, so I&rsquo;m leaving it here.
#!/bin/sh rsync -avh --backup-dir=$(date +%F) \ --exclude=&#39;sasaki/Downloads&#39; \ --exclude=&#39;sasaki/.local/share/Trash&#39; \ /home/sasaki /mnt/Backup/ The options -avh are pretty well known to almost everybody but I&rsquo;ll explain briefly: recursively copy preserving some metadata, like permissions (a).</description>
</item>
</channel>
</rss>