feat: remove todo backup

main
sudo pacman -Syu 2023-08-06 17:52:12 +07:00
parent 0ba84613bb
commit 54d1821127
2 changed files with 67 additions and 91 deletions

View File

@ -42,7 +42,7 @@
<ul> <ul>
<li> <li>
<del <del
>Laptop Samsung NP300E4Z-S06VN (Old laptop which I give to my >Laptop Samsung NP300E4Z-S06VN (old laptop which I give to my
mom)</del mom)</del
> >
</li> </li>
@ -58,7 +58,7 @@
rel="nofollow" rel="nofollow"
>LVFS</a >LVFS</a
> >
(My mom bought it for me when I go to college, I give it to my mom (my mom bought it for me when I go to college, I give it to my mom
afterward)</del afterward)</del
> >
</li> </li>
@ -69,10 +69,10 @@
rel="nofollow" rel="nofollow"
>Laptop Acer Nitro AN515-45</a >Laptop Acer Nitro AN515-45</a
> >
(Gaming laptop which I buy for gaming, I give it to my sister)</del (gaming laptop which I buy for gaming, I give it to my sister)</del
> >
</li> </li>
<li>MacBook Pro M1 2020 (My company laptop)</li> <li>MacBook Pro M1 2020 (my company laptop)</li>
<li> <li>
<del <del
>Phone >Phone
@ -81,14 +81,14 @@
rel="nofollow" rel="nofollow"
>LG G3 D851 T-Mobile</a >LG G3 D851 T-Mobile</a
> >
(Bought long time ago, now is a brick)</del (bought long time ago, now is a brick)</del
> >
</li> </li>
<li> <li>
<del <del
>Phone >Phone
<a <a
href="https://forum.xda-developers.com/c/xiaomi-redmi-6a.7881/" href="https://www.gsmarena.com/xiaomi_redmi_6a-9217.php"
rel="nofollow" rel="nofollow"
>Xiaomi Redmi 6A</a >Xiaomi Redmi 6A</a
> >
@ -98,11 +98,11 @@
<li> <li>
Phone Phone
<a <a
href="https://forum.xda-developers.com/c/xiaomi-poco-x3-nfc.11523/" href="https://www.gsmarena.com/xiaomi_poco_x3_nfc-10415.php"
rel="nofollow" rel="nofollow"
>Xiaomi Poco X3 NFC</a >Xiaomi Poco X3 NFC</a
> >
(Primary phone which I use daily) (primary phone which I use daily)
</li> </li>
</ul> </ul>
<p>App/Service I use daily:</p> <p>App/Service I use daily:</p>
@ -123,13 +123,20 @@
<a href="https://restic.net/" rel="nofollow">restic</a>: backup data <a href="https://restic.net/" rel="nofollow">restic</a>: backup data
</li> </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>
<li>Google Keep/Notion</li> GitHub / GitLab /
<a href="https://git.sr.ht/" rel="nofollow">SourceHut</a> /
<a href="https://codeberg.org/" rel="nofollow">Codeberg</a> /
<a href="https://gitea.treehouse.systems/" rel="nofollow"
>Treehouse Gitea</a
>: stores git repo
</li>
<li>Google Keep / Notion</li>
<li>Google Drive (currently use 200GB plan)</li> <li>Google Drive (currently use 200GB plan)</li>
<li> <li>
GMail &lt; GMail /
<a href="https://simplelogin.io/" rel="nofollow">SimpleLogin</a> &lt; <a href="https://simplelogin.io/" rel="nofollow">SimpleLogin</a> /
Proton Mail Proton Mail: my mail
</li> </li>
</ul> </ul>
<p> <p>
@ -139,9 +146,9 @@
future. future.
</p> </p>
<p> <p>
There are 2 sections which I want to share, the first is There are 2 main sections which I want to share, the first is
<strong>How to backup</strong>, the second is <strong>How to backup</strong>, the second is
<strong>Recover strategy</strong>. <strong>Recovery strategy</strong>.
</p> </p>
<h2> <h2>
<a <a
@ -168,7 +175,7 @@
it. The others are dotfiles, which I write my own it. The others are dotfiles, which I write my own
<a href="https://github.com/haunt98/dotfiles">dotfiles tool</a> to backup <a href="https://github.com/haunt98/dotfiles">dotfiles tool</a> to backup
and reconfigure easily and quickly. Also, I know that installing Arch and reconfigure easily and quickly. Also, I know that installing Arch
Linux is not easy, despite I install it too many times (Like thousand 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 times since I was in high school). Not because it is hard, but as life
goes on, the goes on, the
<a <a
@ -178,18 +185,15 @@
> >
keeps getting new update and covering too many cases for my own personal keeps getting new update and covering too many cases for my own personal
use, so I write my own use, so I write my own
<a href="https://github.com/haunt98/til/blob/main/install-archlinux.md" <a
href="https://github.com/haunt98/posts-go/blob/main/posts/2022-12-25-archlinux.md"
>guide</a >guide</a
> >
to quickly capture what I need to do. I back up all my dotfiles in GitHub to quickly capture what I need to do.
and GitLab as I trust them both. Also as I travel the Internet, I discover
<a href="https://codeberg.org/" rel="nofollow">Codeberg</a>,
<a href="https://gitea.treehouse.systems/" rel="nofollow">Treehouse</a>
and use them as another backup for git repo.
</p> </p>
<p> <p>
So that is my dotfiles, for my regular data, like Wallpaper or Books, 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 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 webpage, click the upload button and choose files seems boring and
time-consuming. So I use Rclone, it supports Google Drive, One Drive and time-consuming. So I use Rclone, it supports Google Drive, One Drive and
many providers but I only use Google Drive for now. The commands are many providers but I only use Google Drive for now. The commands are
@ -232,11 +236,11 @@ restic -r rclone:remote:PrivateData restore latest --target <span class="pl-k">~
for all of my important accounts, should use both OTP and phone method. for all of my important accounts, should use both OTP and phone method.
</p> </p>
<p> <p>
I use Bitwarden for passwords (That is a long story, coming from Google I use Bitwarden for passwords (that is a long story, coming from Google
Password manager to Firefox Lockwise and then settle down with Bitwarden) Password manager to Firefox Lockwise and then settle down with Bitwarden)
and Aegis for OTPs. The reason I choose Aegis, not Authy (I use Authy for and Aegis for OTPs. The reason I choose Aegis, not Authy (I use Authy for
so long but Aegis is definitely better) is because Aegis allows me to so long but Aegis is definitely better) is because Aegis allows me to
extract all the OTPs to a single file (Can be encrypted), which I use to extract all the OTPs to a single file (can be encrypted), which I use to
transfer or backup easily. transfer or backup easily.
</p> </p>
<p> <p>
@ -245,16 +249,15 @@ restic -r rclone:remote:PrivateData restore latest --target <span class="pl-k">~
phones. The thing I need to remember is the master password of Bitwarden phones. The thing I need to remember is the master password of Bitwarden
in my head. in my head.
</p> </p>
<p>With Aegis, I export the data, then:</p>
<ul>
<li>Sync it to Google Drive</li>
<li>Store it locally in my phone.</li>
</ul>
<p> <p>
The main problem here is the OTP, I can not store all of my OTPs in the With Bitwardent/Aegis, I also can export the data (must always be
cloud completely. Because if I want to access my OTPs in the cloud, I encrypted), then:
should log in, and then input my OTP, this is a loop, my friends.
</p> </p>
<ul>
<li>Sync to Google Drive</li>
<li>Store locally in my laptop</li>
<li>Don't store locally in phone (can not keep track easily)</li>
</ul>
<h3> <h3>
<a <a
id="user-content-backup-work-related-data" id="user-content-backup-work-related-data"
@ -311,7 +314,7 @@ restic -r rclone:remote:PrivateData restore latest --target <span class="pl-k">~
In the worst situation, I lost everything, my laptops, my phone. The In the worst situation, I lost everything, my laptops, my phone. The
first step is to recover my SIM, then log in to Google account using 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 password and SMS OTP. After that, log in to Bitwarden account using the
master password and OTP from Gmail, which I open previously. master password and OTP from Gmail, which I log in previously.
</li> </li>
</ul> </ul>
<h2> <h2>
@ -324,25 +327,9 @@ restic -r rclone:remote:PrivateData restore latest --target <span class="pl-k">~
things. Pick one then stay away from other cloud services: things. Pick one then stay away from other cloud services:
</p> </p>
<ul> <ul>
<li>TODOis, Evernote, ... -&gt; Google Keep/Notion</li> <li>TODOis, Evernote, ... -&gt; Google Keep / Notion</li>
<li>Dropbox, OneDrive, ... -&gt; Google Drive</li> <li>Dropbox, OneDrive, ... -&gt; Google Drive</li>
</ul> </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>
<li>[ ] Use Tailscale to selfhost Bitwarden server.</li>
<li>[ ] Stop rely on Google Keep / Notion</li>
</ul>
<h2> <h2>
<a <a
id="user-content-the-end" id="user-content-the-end"

View File

@ -3,21 +3,20 @@
First thing first, I want to list my own devices, which I have through the First thing first, I want to list my own devices, which I have through the
years: years:
- ~~Laptop Samsung NP300E4Z-S06VN (Old laptop which I give to my mom)~~ - ~~Laptop Samsung NP300E4Z-S06VN (old laptop which I give to my mom)~~
- ~~[Laptop Dell Inspiron 15 3567](https://www.dell.com/support/home/en-vn/product-support/product/inspiron-15-3567-laptop/drivers) - ~~[Laptop Dell Inspiron 15 3567](https://www.dell.com/support/home/en-vn/product-support/product/inspiron-15-3567-laptop/drivers)
[LVFS](https://fwupd.org/lvfs/devices/com.dell.uefi1d4362ca.firmware) (My mom [LVFS](https://fwupd.org/lvfs/devices/com.dell.uefi1d4362ca.firmware) (my mom
bought it for me when I go to college, I give it to my mom afterward)~~ bought it for me when I go to college, I give it to my mom afterward)~~
- ~~[Laptop Acer Nitro AN515-45](https://www.acer.com/ac/en/US/content/support-product/8841) - ~~[Laptop Acer Nitro AN515-45](https://www.acer.com/ac/en/US/content/support-product/8841)
(Gaming laptop which I buy for gaming, I give it to my sister)~~ (gaming laptop which I buy for gaming, I give it to my sister)~~
- MacBook Pro M1 2020 (My company laptop) - MacBook Pro M1 2020 (my company laptop)
- ~~Phone [LG G3 D851 T-Mobile](https://forum.xda-developers.com/c/lg-g3.3147/) - ~~Phone [LG G3 D851 T-Mobile](https://forum.xda-developers.com/c/lg-g3.3147/)
(Bought long time ago, now is a brick)~~ (bought long time ago, now is a brick)~~
- ~~Phone - ~~Phone [Xiaomi Redmi 6A](https://www.gsmarena.com/xiaomi_redmi_6a-9217.php)
[Xiaomi Redmi 6A](https://forum.xda-developers.com/c/xiaomi-redmi-6a.7881/) (I (I give it to my sister too)~~
give it to my sister too)~~
- Phone - Phone
[Xiaomi Poco X3 NFC](https://forum.xda-developers.com/c/xiaomi-poco-x3-nfc.11523/) [Xiaomi Poco X3 NFC](https://www.gsmarena.com/xiaomi_poco_x3_nfc-10415.php)
(Primary phone which I use daily) (primary phone which I use daily)
App/Service I use daily: App/Service I use daily:
@ -26,17 +25,19 @@ App/Service I use daily:
- [Rclone](https://rclone.org/): sync data to cloud - [Rclone](https://rclone.org/): sync data to cloud
- [restic](https://restic.net/): backup data - [restic](https://restic.net/): backup data
- [Tailscale](https://tailscale.com/) - [Tailscale](https://tailscale.com/)
- GitHub/GitLab - GitHub / GitLab / [SourceHut](https://git.sr.ht/) /
- Google Keep/Notion [Codeberg](https://codeberg.org/) /
[Treehouse Gitea](https://gitea.treehouse.systems/): stores git repo
- Google Keep / Notion
- Google Drive (currently use 200GB plan) - Google Drive (currently use 200GB plan)
- GMail < [SimpleLogin](https://simplelogin.io/) < Proton Mail - GMail / [SimpleLogin](https://simplelogin.io/) / Proton Mail: my mail
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
recovered if I lost some devices; or in the worst situation, I lost all. Because recovered if I lost some devices; or in the worst situation, I lost all. Because
you know, it is hard to guess what is waiting for us in the future. you know, it is hard to guess what is waiting for us in the future.
There are 2 sections which I want to share, the first is **How to backup**, the There are 2 main sections which I want to share, the first is **How to backup**,
second is **Recover strategy**. the second is **Recovery strategy**.
## How to backup ## How to backup
@ -53,19 +54,16 @@ getting in my way, I leave the default setting there and forget about it. The
others are dotfiles, which I write my own others are dotfiles, which I write my own
[dotfiles tool](https://github.com/haunt98/dotfiles) to backup and reconfigure [dotfiles tool](https://github.com/haunt98/dotfiles) to backup and reconfigure
easily and quickly. Also, I know that installing Arch Linux is not easy, despite easily and quickly. 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). 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 Not because it is hard, but as life goes on, the
[official install guide](https://wiki.archlinux.org/title/installation_guide) [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 keeps getting new update and covering too many cases for my own personal use, so
I write my own I write my own
[guide](https://github.com/haunt98/til/blob/main/install-archlinux.md) to [guide](https://github.com/haunt98/posts-go/blob/main/posts/2022-12-25-archlinux.md)
quickly capture what I need to do. I back up all my dotfiles in GitHub and to quickly capture what I need to do.
GitLab as I trust them both. 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 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 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. So I use the upload button and choose files seems boring and time-consuming. So I use
Rclone, it supports Google Drive, One Drive and many providers but I only use Rclone, it supports Google Drive, One Drive and many providers but I only use
Google Drive for now. The commands are simple: Google Drive for now. The commands are simple:
@ -104,24 +102,22 @@ The next data is my passwords and my OTPs. These are the things which I'm scare
to lose the most. First thing first, I enable 2-Step Verification for all of my to lose the most. First thing first, I enable 2-Step Verification for all of my
important accounts, should use both OTP and phone method. important accounts, should use both OTP and phone method.
I use Bitwarden for passwords (That is a long story, coming from Google Password I use Bitwarden for passwords (that is a long story, coming from Google Password
manager to Firefox Lockwise and then settle down with Bitwarden) and Aegis for manager to Firefox Lockwise and then settle down with Bitwarden) and Aegis for
OTPs. The reason I choose Aegis, not Authy (I use Authy for so long but Aegis is OTPs. The reason I choose Aegis, not Authy (I use Authy for so long but Aegis is
definitely better) is because Aegis allows me to extract all the OTPs to a definitely better) is because Aegis allows me to extract all the OTPs to a
single file (Can be encrypted), which I use to transfer or backup easily. single file (can be encrypted), which I use to transfer or backup easily.
As long as Bitwarden provides free passwords stored, I use all of its apps, As long as Bitwarden provides free passwords stored, I use all of its apps,
extensions so that I can easily sync passwords between laptops and phones. The extensions so that I can easily sync passwords between laptops and phones. The
thing I need to remember is the master password of Bitwarden in my head. thing I need to remember is the master password of Bitwarden in my head.
With Aegis, I export the data, then: With Bitwardent/Aegis, I also can export the data (must always be encrypted),
then:
- Sync it to Google Drive - Sync to Google Drive
- Store it locally in my phone. - Store locally in my laptop
- Don't store locally in phone (can not keep track easily)
The main problem here is the OTP, I can not store all of my OTPs in the cloud
completely. Because if I want to access my OTPs in the cloud, I should log in,
and then input my OTP, this is a loop, my friends.
### Backup work related data ### Backup work related data
@ -149,23 +145,16 @@ happening to my devices.
- In the worst situation, I lost everything, my laptops, my phone. The first - In the worst situation, I lost everything, my laptops, my phone. The first
step is to recover my SIM, then log in to Google account using the password 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 SMS OTP. After that, log in to Bitwarden account using the master password
and OTP from Gmail, which I open previously. and OTP from Gmail, which I log in previously.
## Misc ## Misc
To backup everything is hard, so keep it simple and only backup important To backup everything is hard, so keep it simple and only backup important
things. Pick one then stay away from other cloud services: things. Pick one then stay away from other cloud services:
- TODOis, Evernote, ... -> Google Keep/Notion - TODOis, Evernote, ... -> Google Keep / Notion
- Dropbox, OneDrive, ... -> Google Drive - 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.
- [ ] Use Tailscale to selfhost Bitwarden server.
- [ ] Stop rely on Google Keep / Notion
## The end ## The end
This guide will be updated regularly I promise. This guide will be updated regularly I promise.