Skip to content

Automated Github mirror with python, ansible, and raspberry pis

Notifications You must be signed in to change notification settings

fitzy1321/pygitmoire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyGitmoire

Riffing on Grimoire ...

I want an automated way of backing up my github repos, without spending a lot of time configuring a git repo and mirrors.

I'm thinking of using these technologies:

  • Ansible, for server setup
    • need to figure out secret key management
  • Python
    • PyGithub, maintained python package, automate all the github restapi stuff
    • automate pulling the latest from repos, syncing with local rpi server repos
  • Cron Job?
    • Run python script at midnight or something

cron job example, run at midnight everyday

0 0 * * * python3 home/pi/test.py

About

Automated Github mirror with python, ansible, and raspberry pis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages