# Samba shares and backups

**URL:** https://discuss.freedombox.org/t/samba-shares-and-backups/1685
**Category:** Uncategorized
**Created:** [August 25, 2021, 10:04am UTC](https://discuss.freedombox.org/t/samba-shares-and-backups/1685 "2021-08-25T10:04:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![glalejos](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/g/45deac/32.png) [@glalejos](https://discuss.freedombox.org/u/glalejos)
#### Post date: [August 25, 2021, 10:04am UTC](https://discuss.freedombox.org/t/samba-shares-and-backups/1685/1 "2021-08-25T10:04:16Z")

</div>

Hi!,

I’m a newcomer to FreedomBox. I first learned about this project a couple of weeks ago, when browsing the topics of Debconf '21. I must say that I’m impressed of the result so far, so thank you! I also believe that this initiative has a lot of potential.

Moving into practical issues, I deployed a FreedomBox instance in my local network, and started to play arround with it, with a focus on backups and file sharing, which are my personal priorities. Everything seemed solid, but I noticed that Samba shares are not covered by the “Backups” module [1].

I wonder whether there are plans to cover Samba shares backups in the future, and if there is any known particular issue.

Thanks in advance,

Guillermo

[1] [FreedomBox/Manual/Backups - Debian Wiki](https://wiki.debian.org/FreedomBox/Manual/Backups#Status_of_Backups_Feature)

---

<div class="post-metadata">

### Author: ![lifeform](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/l/7ab992/32.png) [@lifeform](https://discuss.freedombox.org/u/lifeform)
#### Post date: [September 14, 2021, 1:35am UTC](https://discuss.freedombox.org/t/samba-shares-and-backups/1685/2 "2021-09-14T01:35:06Z")

</div>

From the code it looks like backup/restore for Samba (registry share configuration) has been supported since FreedomBox 19.22, and the manual page has just been slow to catch up. I haven’t actually tried it myself, though.

---

<div class="post-metadata">

### Author: ![Sunil](https://discuss.freedombox.org/user_avatar/discuss.freedombox.org/sunil/32/8_2.png) [@Sunil](https://discuss.freedombox.org/u/Sunil)
#### Post date: [September 14, 2021, 1:50am UTC](https://discuss.freedombox.org/t/samba-shares-and-backups/1685/3 "2021-09-14T01:50:53Z")

</div>

I believe we currently support only configuration backup/restore for Samba. Backup/restore of folders shared with Samba is definitely a good to have.

We have planned to implement [backup/restore of arbitrary folders](https://salsa.debian.org/freedombox-team/freedombox/-/issues/1812) on FreedomBox for sure. Then doing this for Samba folders automatically would be even better.

---

<div class="post-metadata">

### Author: ![glalejos](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/g/45deac/32.png) [@glalejos](https://discuss.freedombox.org/u/glalejos)
#### Post date: [September 19, 2021, 7:42pm UTC](https://discuss.freedombox.org/t/samba-shares-and-backups/1685/4 "2021-09-19T19:42:08Z")

</div>

Thanks for the pointer @Sunil . Indeed, having the ability to backup any directory in the FreedomBox installation would cover this topic’s use case.  
@lifeform, I’ve setup backups for all the applications in my installations, and Samba shares are not included.  
I’ll keep an eye on [backup: Implement ability to backup abitrary folders (#1812) · Issues · FreedomBox / FreedomBox · GitLab](https://salsa.debian.org/freedombox-team/freedombox/-/issues/1812).

---

<div class="post-metadata">

### Author: ![Avron](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/a/a9adbd/32.png) [@Avron](https://discuss.freedombox.org/u/Avron)
#### Post date: [January 24, 2024, 9:23pm UTC](https://discuss.freedombox.org/t/samba-shares-and-backups/1685/5 "2024-01-24T21:23:17Z")

</div>

Sorry for bumping this 2.5 year-old thread. Apparently there was no activity on this issue.

A Pioneer running on an SD card might not have so much disk space of samba, but with an external disk, samba is perfectly usable and automatic backups of data would be extremely useful.

Was this considered lower priority so far? Or are there issues?

---

<div class="post-metadata">

### Author: ![David](https://discuss.freedombox.org/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@David](https://discuss.freedombox.org/u/David)
#### Post date: [June 8, 2024, 2:32pm UTC](https://discuss.freedombox.org/t/samba-shares-and-backups/1685/6 "2024-06-08T14:32:02Z")

</div>

This issue (backup samba and maybe other folders) is the next step to make my Freedomboxes reliable servers. As a newbie to Freedombox and Linux I made progress in setting up these systems and they make a lot of joy, being able to host everything at home. I also moved the btrfs sections to a ssd’s, which takes a weak spot away. But without a good backup the whole project is in danger to fail, and this would be very sad, since Freedombox is very promising and has a lot of potential.

Is there anything in progress or do I have to dig into borg backup documentation and try and error?

Thanks for some information! Again, I deeply appreciate all the work that you all do as developers and maintainers!
