For about six months I’ve been using a WebDAV share to view and edit OrgMode files on Android and in Emacs (post about it). The folder is included in my daily backup and I haven’t lost any data so far. However, I’d like version control and possibly to run a Forgejo Action on the contents, so the data should be committed to a Forgejo repository.

The first step is to set up Git and pushing to Forgejo on the Raspberry Pi running the WebDAV Docker container. My initial plan was to run a cron job that commits and pushes changes, but systemd can trigger scripts on change, so I started with that.

Git setup

I created a repository named “webdav-backup” on my private Forgejo server. A private GitHub repository should work similarly.

To …

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help