# ?cheap, reputable, plug-and-play backup provider

**URL:** <https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348>\
**Category:** Discuss\
**Tags:** english, restore-backup, backup\
**Created:** [November 25, 2023, 10:53pm UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348 "2023-11-25T22:53:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![splunko](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/s/ce7236/32.png) [@splunko](https://forum.yunohost.org/u/splunko)\
**Post date:** [November 25, 2023, 10:53pm UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348/1 "2023-11-25T22:53:02Z")

</div>

### My YunoHost server

**Hardware:** Old computer  
**YunoHost version:** 11.2.6  
**I have access to my server :** direct access via keyboard  
**special context?** : no  
**storage use in the immediate future** : ~100gb

### Context

- Sorry, despite reading numerous guides and forum posts, they seemed aimed at spinning up a second server rather than using a commercial product. I regret I’m a bit overloaded maintaining one server, let alone two!
- noob, minimal free time for server maintenance, thus I want to aim for:
  - everything to be as ‘vanilla’ as possible (I hope to use applications just as their designers intended and avoid any custom scripts).
  - ideally I’d have this all set up through the Yunohost web-gui.
  - everything to be as automated as possible.

- don’t have friends 😛
  - only kidding! But none that self-host with the reliability/availability of a commercial provider.

- some modest degree of security is important to me, so a solution with decent cryptography is desirable.

### Question

- ?what’s the optimal solution for ‘easy’, ‘cheap’, and ‘most-fully-automated’ reasonably reliable backing up of the server:

- It seems like the two cheapest, reputable, plug-ang-play backup storage providers are BorgBase and Backblaze.

- In conclusion:

I’m open to suggestion, and I’d love to be corrected and/or steered.

I can’t find much in the comparisons/guides I’ve come across about ease of restoring a backup, and doing that as quickly and easily (?via gui) as possible is important to me, so if anyone has strong feelings about that, please do share!

* * *

- _thank you to all the devs, mods, documenters, maintainers, and myriad others that keep all this spinning._

- _moved ‘Support’–\>‘Discuss’_

---

<div class="post-metadata">

**Author:** ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)\
**Post date:** [November 27, 2023, 3:43pm UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348/2 "2023-11-27T15:43:33Z")

</div>

I just tried BorgBase, and indeed, it is not plug and play, but a small documentation should be enough, and maybe some improprement on the app code to initialize the repo.

What I did :

1. Create an account on borgbase
2. Create a repository on borgbase
3. Install borg app, and give it the borgbase url
4. Once installed, go in the borg app settings to take the ssh key and give it write access on the repo
5. tricky part : I did not managed to initialize the repo in command line and did it via Vorta, installed on my computer (and I created a backup of an empty folder)

Now it should work easily, more informations soon, when tonight’s backup will run.

---

<div class="post-metadata">

**Author:** ![splunko](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/s/ce7236/32.png) [@splunko](https://forum.yunohost.org/u/splunko)\
**Post date:** [November 27, 2023, 7:56pm UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348/3 "2023-11-27T19:56:56Z")

</div>

Wow, thank you 😍

I’m really looking forward to your report 😃

I will follow in your footsteps.

Maybe one day BorgBase will have a step-by-step guide for Yunohosters!

---

<div class="post-metadata">

**Author:** ![splunko](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/s/ce7236/32.png) [@splunko](https://forum.yunohost.org/u/splunko)\
**Post date:** [November 27, 2023, 9:30pm UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348/4 "2023-11-27T21:30:48Z")

</div>

OK, following your encouragement, my approach was:

1. read the [yunohost forum guide](https://forum.yunohost.org/t/how-to-backup-yunohost-server-on-borgbase-with-borgbackup/15295) to using the BorgBase paid (or free up to 10gb!) service, and the [BorgBase guide](https://docs.borgbase.com/faq/ssh) to making an SSH key.
2. SSH into the yunohost server, type `$ ls -a` to confirm there’s a `.ssh` folder, and then type `cd .ssh`
3. type `$ ssh-keygen -t ed25519` and follow the prompts to create an arbitrarily named file `borgbase` which is the private key.
4. type `$ cat borgbase.pub` to give the public key, which can be copied so it’s ready to paste when asked for by BorgBase when setting up a repository there.
5. make BorgBase account, click on the “Repositories” tab/link at the top, then on the big orange “New repo” button.
6. follow the prompts to create a repo per my needs (ok, I’m a noob, I guessed my needs!), pasting in the public key when indicated.

_edited to add: 7. realise the public key I’ve pasted into the BorgBase web-portal is not the one that appears in my Yunohost server’s applications\>borgbackup\>main settings page, look a bit flustered, then copy the newly-encountered public key, go into the “SSH Keys” tab/link on the BorgBase web-portal, click “Add Key”, and paste it in when prompted._

_8, still in the BorgBase web-portal: click the “Repositories” link/tab, click “edit” on the repository I created for my Yunohost server, and under “Access”, select from the drop-down menu the SSH key I added in step (7)._

_9. Just because I like to keep a backup of all the SSH keys I use, and I presume I might need them to restore backups? (a). SSH into the Yunohost server, type `$ sudo cat /root/.ssh/id_borg_ed25519` to get the private key, copy it from the terminal, make a file on my backup USB drive called `id_borg_ed_2559` and using mousepad, paste the text into the file. (b) . type `$ sudo cat /root/.ssh/id_borg_ed25519.pub` to get the public key, copy it from the terminal, make a file on my backup USB drive called `id_borg_ed_2559.pub` and using mousepad, paste the text into the file._

The Yunohost Borg Backup application went into action automatically at midnight (it was set for daily updates), and appears to have initialised the repository on, and delivered a backup to, the BorgBase server.

I think all I need to do now is read and understand (± try out) [how to restore a complete system using borg backup](https://github.com/YunoHost-Apps/borg_ynh#how-to-restore-a-complete-system).

I’m beginning to accept that, in due course, I might need to make a [borgmatic](https://torsion.org/borgmatic/) config file, and figure out how to make a prepare-for-backup.sh script that makes sure I have good quality backups (as I noob I understand these things in the meanest terms; I presume like taking a photograph, one just needs all the objects to hold still for a moment).

---

<div class="post-metadata">

**Author:** ![Mamie](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mamie/32/1245_2.png) [@Mamie](https://forum.yunohost.org/u/Mamie)\
**Post date:** [November 28, 2023, 9:14am UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348/5 "2023-11-28T09:14:28Z")

</div>

The key part is not that logic, but I remembered this and did not create one, knowing the app will do it after initialisation.

This night backup failed, which is in fact normal, because I have many backups, and it seems that they do NOT like to run at the same time.  
So I manually started the big backup (NextCloud is big), and then I’ll start the small ones, and all should be better tonight.

Just to explain things, I have a daily backup with critical apps, and then a weekly backup with everything else (nothing in common). And now I have 4 backups, because they are all on borgbase too now.

---

<div class="post-metadata">

**Author:** ![splunko](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/s/ce7236/32.png) [@splunko](https://forum.yunohost.org/u/splunko)\
**Post date:** [November 28, 2023, 9:38am UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348/6 "2023-11-28T09:38:03Z")

</div>

Thank you!

I again need to follow in your footsteps, and grok how to divide my backups into different jobs; it sounds like applications are often backed-up separately to application-data (especially with applications like NextCloud). I’ll have to get my head around the best way to do that.

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [December 28, 2023, 9:38am UTC](https://forum.yunohost.org/t/cheap-reputable-plug-and-play-backup-provider/27348/7 "2023-12-28T09:38:29Z")

</div>

Closed on December 28, 2023, 9:38am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
