gilesknap / gphotos-sync

Google Photos and Albums backup with Google Photos Library API
Apache License 2.0
1.97k stars 161 forks source link

improvements for kubernetes #394

Open jrodan opened 1 year ago

jrodan commented 1 year ago

Hey,

i am running gphotos-sync now in kubernetes. The tools downloads all photos to a nfs storage on my NAS and will be called as cronJob every 6 hours directly from kubernetes.

With this config you can do the same on your setup:

https://gist.github.com/jrodan/8ffc234fbf857606a216bbb4f968d2fa

Now the ideas:

What I really like is that the job writes it's state and can recover from API limits / broken internet / general job interruptions!

good job! :)

gilesknap commented 1 year ago

Thanks for this! I have a K8S cluster and keep meaning to move gphotos-sync to it.

Will give this a go and let you know how I get on.

gilesknap commented 1 year ago

Sorry for the long delay.

I'm still interested in this and am going to give it a go real soon.

gilesknap commented 6 months ago

OK I admit I forgot about this. My cluster needs some work after a NAS failure, not sure when I will get to that.