# Rsnapshot for backup?

**URL:** <https://community.ipfire.org/t/rsnapshot-for-backup/7899>\
**Category:** Add-Ons\
**Created:** [10 May 2022 21:27 UTC](https://community.ipfire.org/t/rsnapshot-for-backup/7899 "2022-05-10T21:27:30Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![bonnietwin](https://community.ipfire.org/user_avatar/community.ipfire.org/bonnietwin/32/12350_2.png) [@bonnietwin](https://community.ipfire.org/u/bonnietwin)\
**Post date:** [10 March 2023 14:00 UTC](https://community.ipfire.org/t/rsnapshot-for-backup/7899/11 "2023-03-10T14:00:22Z")

</div>

If you were trying to send your patch with a git push then that would not succeed as you won’t have permissions to push directly into the IPFire git repo. I also don’t.

That part that mentions git push in  
[https://wiki.ipfire.org/devel/git#Push commits](https://wiki.ipfire.org/devel/git#push-commits)

probably needs to be edited as I believe that can only apply to the core developers and I think even for them they submit their patches via email as per

[https://wiki.ipfire.org/devel/submit-patches](https://wiki.ipfire.org/devel/submit-patches)

The approach that has worked successfully for me for a long time, once you have created your commit is the following.

git format-patch -n -o /path to location to store patch in  
-n is -1 if there is just a single commit or -3 if there is a set of three commits to be provided as a set etc.

followed by

git send-email /path to patch(s)

for send-mail to work you need to add the following into your .gitconfig file on your system adding in the info for your situation.

> [user]  
> name = Your Name  
> email = your ipfire dev mailing list email address  
> [sendemail]  
> smtpencryption = ssl  
> smtpserver = [submissions.ipfire.org](http://submissions.ipfire.org)  
> smtpserverport = 465  
> smtpuser = ipfire people login username  
> smtppass = “ipfire people login password”

When you run git send-email it will open up the git email system and all you have to do is press “y” for yes for a single patch submission or “a” for all for a multi patch submission.

The send-email should finish with a 250 OK or something like that.

The other alternative is to use your own mail client to send the patch but you have to make sure that it only uses text and not html and no weird end of line additions. There is a wiki page for how to use Thunderbird,  
[https://wiki.ipfire.org/devel/send-tb-patches](https://wiki.ipfire.org/devel/send-tb-patches)

The preference from the core devs is for git send-email as that is known to use the correct format. Using Thunderbird or some other MUA is feasible but it can take some time to get it set up correctly to be accepted by the IPFire mail system.

Although there are a lot of words above it didn’t take me long to get it working.

---

_[View the full topic](https://community.ipfire.org/t/rsnapshot-for-backup/7899)._
