Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@24th-Dragon ok here is the catch, I need to do it via termux 😛 (no root enabled)
Is just enabling sshd enough? -
stop67845y@melezorus34 git is based on textbased diffs. Borgbackup for example can use ssh and also compress and encrypt it. For borg you only need to access the space where the backup lies.
-
C0D4667535yGitLab -> self host + pull from "live repo" on a regular basis. Then use incremental backup software.
-
start_git_monitor_daemon() {
local repodir=${1:?Missing repo directory}
cd "${repodir}" || {
echo "cannot access repo: ${repodir}" >&2;
return 1;
}
while :; do
git fetch && git pull;
sleep 60;
done
} -
@juanchdzl this will be on my local network, not on internet.
@netikras as I said not the local computer itself either.
Related Rants
Have anyone created a git backup machine? Basically a machine in my network needs to be able to recieve git pushes from another computer.
question
git
push
commit
remote