浏览代码

Add rsync.net to hosting providers; includ random link rotation.

Dan Helfman 6 年之前
父节点
当前提交
d2c46e91fe
共有 2 个文件被更改,包括 18 次插入6 次删除
  1. 9 3
      README.md
  2. 9 3
      docs/how-to/set-up-backups.md

+ 9 - 3
README.md

@@ -82,9 +82,10 @@ providers include specific support for Borg/borgmatic. Using these links and
 services helps support borgmatic development and hosting. (These are referral
 links, but without any tracking scripts or cookies.)
 
- * [BorgBase](https://www.borgbase.com/?utm_source=borgmatic): Borg hosting
-   service with support for monitoring, 2FA, and append-only repos.
-
+<ul>
+ <li class="referral"><a href="https://www.rsync.net/cgi-bin/borg.cgi?campaign=borg&adgroup=borgmatic">rsync.net</a>: Cloud Storage provider with full support for borg and any other SSH/SFTP tool</li>
+ <li class="referral"><a href="https://www.borgbase.com/?utm_source=borgmatic">BorgBase</a>: Borg hosting service with support for monitoring, 2FA, and append-only repos</li>
+</ul>
 
 ## Support and contributing
 
@@ -115,3 +116,8 @@ your thing. In general, contributions are very welcome. We don't bite!
 Also, please check out the [borgmatic development
 how-to](https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/) for
 info on cloning source code, running tests, etc.
+
+<script>
+  var links = document.getElementsByClassName("referral");
+  links[Math.floor(Math.random() * links.length)].style.display = "none";
+</script>

+ 9 - 3
docs/how-to/set-up-backups.md

@@ -47,9 +47,10 @@ providers include specific support for Borg/borgmatic. Using these links and
 services helps support borgmatic development and hosting. (These are referral
 links, but without any tracking scripts or cookies.)
 
- * [BorgBase](https://www.borgbase.com/?utm_source=borgmatic): Borg hosting
-   service with support for monitoring, 2FA, and append-only repos.
-
+<ul>
+ <li class="referral"><a href="https://www.rsync.net/cgi-bin/borg.cgi?campaign=borg&adgroup=borgmatic">rsync.net</a>: Cloud Storage provider with full support for borg and any other SSH/SFTP tool</li>
+ <li class="referral"><a href="https://www.borgbase.com/?utm_source=borgmatic">BorgBase</a>: Borg hosting service with support for monitoring, 2FA, and append-only repos</li>
+</ul>
 
 ## Configuration
 
@@ -225,3 +226,8 @@ it.
  * [Inspect your backups](../../docs/how-to/inspect-your-backups.md)
  * [borgmatic configuration reference](../../docs/reference/configuration.md)
  * [borgmatic command-line reference](../../docs/reference/command-line.md)
+
+<script>
+  var links = document.getElementsByClassName("referral");
+  links[Math.floor(Math.random() * links.length)].style.display = "none";
+</script>