Gphotos-Sync with Cron based on rix1337/docker-gphotos-sync
3.4K
Gphotos-Sync with Cron based on rix1337/docker-gphotos-sync
Read Me Taken from rix1337/docker-gphotos-sync:
Google Photos Sync downloads your Google Photos to the local file system. It will backup all the photos the user uploaded to Google Photos, but also the album information and additional Google Photos ‘Creations’ (animations, panoramas, movies, effects and collages).
docker run -d \
--name="GooglePhotosSync" \
-v /path/to/config/:/config:rw \
-v /path/to/storage/:/storage:rw \
rix1337/docker-gphotos-sync
Place your client_secret.json at /config
How to get it is best described at Logix's Article at Linux Uprising
Beware: Use a "Desktop App" auth token, as opposed to a "Webapp", as there is no more "Other" option
Afterwards you need to sign into the application once which cannot be done headlessly (using the "Syncing" command)
Afterwards you can call the "Syncing" command any time you wish, as long as the container is running (e.g. by using cron).
docker exec -it GooglePhotosSync gphotos-sync /storage
By itself this container will do nothing. A sync will only occur when you call the above command on a running container.
Content type
Image
Digest
Size
54.5 MB
Last updated
over 5 years ago
docker pull gpocali/docker-gphotos-sync