feat: more backup goodies

main
sudo pacman -Syu 2023-06-10 11:53:34 +07:00
parent b5c5b31812
commit 98e1751b81
2 changed files with 72 additions and 18 deletions

View File

@ -122,16 +122,29 @@
</ul> </ul>
<p>App/Service I use daily:</p> <p>App/Service I use daily:</p>
<ul> <ul>
<li><a href="https://bitwarden.com/" rel="nofollow">Bitwarden</a></li>
<li> <li>
<a href="https://getaegis.app/" rel="nofollow">Aegis Authenticator</a> <a href="https://bitwarden.com/" rel="nofollow">Bitwarden</a>: password
manager
</li>
<li>
<a href="https://getaegis.app/" rel="nofollow">Aegis Authenticator</a>:
2FA manager
</li>
<li>
<a href="https://rclone.org/" rel="nofollow">Rclone</a>: sync data to
cloud
</li>
<li>
<a href="https://restic.net/" rel="nofollow">restic</a>: backup data
</li> </li>
<li><a href="https://rclone.org/" rel="nofollow">Rclone</a></li>
<li><a href="https://restic.net/" rel="nofollow">restic</a></li>
<li><a href="https://tailscale.com/" rel="nofollow">Tailscale</a></li> <li><a href="https://tailscale.com/" rel="nofollow">Tailscale</a></li>
<li>GitHub / GitLab</li> <li>GitHub/GitLab</li>
<li>Google Keep / Notion</li> <li>Google Keep/Notion</li>
<li>Google Drive (I use 200GB plan)</li> <li>Google Drive (currently use 200GB plan)</li>
<li>
GMail/<a href="https://simplelogin.io/" rel="nofollow">SimpleLogin</a
>/Proton Mail
</li>
</ul> </ul>
<p> <p>
The purpose is that I want my data to be safe, secure, and can be easily The purpose is that I want my data to be safe, secure, and can be easily
@ -184,7 +197,7 @@
> >
to quickly capture what I need to do. I back up all my dotfiles in GitHub to quickly capture what I need to do. I back up all my dotfiles in GitHub
and GitLab as I trust them both. Also as I travel the Internet, I discover and GitLab as I trust them both. Also as I travel the Internet, I discover
<a href="https://codeberg.org/" rel="nofollow">Codeberg</a> and <a href="https://codeberg.org/" rel="nofollow">Codeberg</a>,
<a href="https://gitea.treehouse.systems/" rel="nofollow">Treehouse</a> <a href="https://gitea.treehouse.systems/" rel="nofollow">Treehouse</a>
and use them as another backup for git repo. and use them as another backup for git repo.
</p> </p>
@ -210,7 +223,7 @@ rclone sync remote:MyBooks MyBooks -P --exclude .DS_Store</pre>
> >
first. first.
</p> </p>
<p>For private data, I use restic which can be used with Rclone:</p> <p>For private data, I use restic which use Rclone as backend:</p>
<div class="highlight highlight-source-shell"> <div class="highlight highlight-source-shell">
<pre><span class="pl-c"><span class="pl-c">#</span> Init</span> <pre><span class="pl-c"><span class="pl-c">#</span> Init</span>
restic -r rclone:remote:PrivateData init restic -r rclone:remote:PrivateData init
@ -282,6 +295,33 @@ restic -r rclone:remote:PrivateData restore latest --target <span class="pl-k">~
master password and OTP from Gmail, which I open previously. master password and OTP from Gmail, which I open previously.
</li> </li>
</ul> </ul>
<h2>
<a id="user-content-misc" class="anchor" aria-hidden="true" href="#misc"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>Misc
</h2>
<p>
To backup everything is hard, so keep it simple and only backup important
things. Pick one then stay away from other cloud services:
</p>
<ul>
<li>TODOis, Evernote, ... -&gt; Google Keep/Notion</li>
<li>Dropbox, OneDrive, ... -&gt; Google Drive</li>
</ul>
<h2>
<a id="user-content-todo" class="anchor" aria-hidden="true" href="#todo"
><span aria-hidden="true" class="octicon octicon-link"></span></a
>TODO
</h2>
<ul>
<li>
[ ] Backup Notion data then stores it in GitHub/GitLab/Goolge Drive.
</li>
<li>
[ ] Convert as many as GMail accounts as possible to SimpleLogin/Proton
Mail.
</li>
</ul>
<h2> <h2>
<a <a
id="user-content-the-end" id="user-content-the-end"

View File

@ -12,14 +12,15 @@ First thing first, I want to list my own devices, which I have through the years
App/Service I use daily: App/Service I use daily:
- [Bitwarden](https://bitwarden.com/) - [Bitwarden](https://bitwarden.com/): password manager
- [Aegis Authenticator](https://getaegis.app/) - [Aegis Authenticator](https://getaegis.app/): 2FA manager
- [Rclone](https://rclone.org/) - [Rclone](https://rclone.org/): sync data to cloud
- [restic](https://restic.net/) - [restic](https://restic.net/): backup data
- [Tailscale](https://tailscale.com/) - [Tailscale](https://tailscale.com/)
- GitHub / GitLab - GitHub/GitLab
- Google Keep / Notion - Google Keep/Notion
- Google Drive (I use 200GB plan) - Google Drive (currently use 200GB plan)
- GMail/[SimpleLogin](https://simplelogin.io/)/Proton Mail
The purpose is that I want my data to be safe, secure, and can be easily recovered if I lost some devices; The purpose is that I want my data to be safe, secure, and can be easily recovered if I lost some devices;
or in the worst situation, I lost all. or in the worst situation, I lost all.
@ -40,7 +41,7 @@ The others are dotfiles, which I write my own [dotfiles tool](https://github.com
Also, I know that installing Arch Linux is not easy, despite I install it too many times (Like thousand times since I was in high school). Also, I know that installing Arch Linux is not easy, despite I install it too many times (Like thousand times since I was in high school).
Not because it is hard, but as life goes on, the [official install guide](https://wiki.archlinux.org/title/installation_guide) keeps getting new update and covering too many cases for my own personal use, so I write my own [guide](https://github.com/haunt98/til/blob/main/install-archlinux.md) to quickly capture what I need to do. Not because it is hard, but as life goes on, the [official install guide](https://wiki.archlinux.org/title/installation_guide) keeps getting new update and covering too many cases for my own personal use, so I write my own [guide](https://github.com/haunt98/til/blob/main/install-archlinux.md) to quickly capture what I need to do.
I back up all my dotfiles in GitHub and GitLab as I trust them both. I back up all my dotfiles in GitHub and GitLab as I trust them both.
Also as I travel the Internet, I discover [Codeberg](https://codeberg.org/) and [Treehouse](https://gitea.treehouse.systems/) and use them as another backup for git repo. Also as I travel the Internet, I discover [Codeberg](https://codeberg.org/), [Treehouse](https://gitea.treehouse.systems/) and use them as another backup for git repo.
So that is my dotfiles, for my regular data, like Wallpaper or Books, Images, I use Google Drive (Actually I pay for it). So that is my dotfiles, for my regular data, like Wallpaper or Books, Images, I use Google Drive (Actually I pay for it).
But the step: open the webpage, click the upload button and choose files seems boring and time-consuming. But the step: open the webpage, click the upload button and choose files seems boring and time-consuming.
@ -57,7 +58,7 @@ rclone sync remote:MyBooks MyBooks -P --exclude .DS_Store
Before you use Rclone to sync to Google Drive, you should read [Google Drive rclone configuration](https://rclone.org/drive/) first. Before you use Rclone to sync to Google Drive, you should read [Google Drive rclone configuration](https://rclone.org/drive/) first.
For private data, I use restic which can be used with Rclone: For private data, I use restic which use Rclone as backend:
```sh ```sh
# Init # Init
@ -99,6 +100,19 @@ There are many strategies that I process to react as if something strange is hap
The first step is to recover my SIM, then log in to Google account using the password and SMS OTP. The first step is to recover my SIM, then log in to Google account using the password and SMS OTP.
After that, log in to Bitwarden account using the master password and OTP from Gmail, which I open previously. After that, log in to Bitwarden account using the master password and OTP from Gmail, which I open previously.
## Misc
To backup everything is hard, so keep it simple and only backup important things.
Pick one then stay away from other cloud services:
- TODOis, Evernote, ... -> Google Keep/Notion
- Dropbox, OneDrive, ... -> Google Drive
## TODO
- [ ] Backup Notion data then stores it in GitHub/GitLab/Goolge Drive.
- [ ] Convert as many as GMail accounts as possible to SimpleLogin/Proton Mail.
## The end ## The end
This guide will be updated regularly I promise. This guide will be updated regularly I promise.