google-cloud-storage-backup Automatically backup one or more folders to Google Cloud Storage[br][br] [b][u][span style='color: #E80000;']Configuration[/span][/u][/b][br] [b]/data[/b] This is where you need to mount your volumes which you want backed up.[br][br] Volumes can be mounted read-only, and you can mount multiple volumes below, for example:[br] - Container volume: /data/documents, Host path: /mnt/user/documents[br] - Container volume: /data/photos, Host path: /mnt/user/media/photos[br][br] You [span style='color: #E80000;']must[/span] set the correct envionment variables for the container. Click on "Advanced view" in the top right and fill in the fields[br] - ACCESS_KEY - your Google Cloud Platform access key for a service account. The string should not contains the character `|`.[br] - SECRET_KEY - your Google Cloud Platform secret key for a service account. The string should not contains the character `|`.[br] - GCSPATH - your Google Cloud Platform bucket and path (ex: gs://personal-backup-bucket/)[br] - GCSOPTIONS - custom parameters to gsutil. (ex: "-d" to have a exact copy of the local files (delete on the bucket files that don't exists anymore) )[br] - CRON_SCHEDULE - Customize how often the backup is executed (default: hourly), "0 3 * * *" for once every night at 3am[br][br] A simple way to backup important files to Google Cloud Storage. Notes: Specific number version are tested versions including the latest tag. If you want to use a config file instead of the variables, please check the readme of the project on Github. https://forums.unraid.net/topic/99258-supportcontainer-vinid223s-google-cloud-storage-backup/ https://hub.docker.com/r/vinid223/gcloud-storage-backup https://github.com/vinid223/GcloudStorage-docker vinid223/gcloud-storage-backup true false bridge ACCESS_KEY Container Variable: ACCESS_KEY SECRET_KEY Container Variable: SECRET_KEY GCSPATH gs://mybucket/ GCSOPTIONS CRON_SCHEDULE 0 * * * * Backup path /mnt/user/backup /data/backup ro https://i.imgur.com/jdjTCs8.png False Backup: Cloud: If you like this image or just want to give me a coffee https://paypal.me/vinid223 [center][font size=5]google-cloud-backup-docker Change Log[/font][/center] [font size=4] V1.3 [/font] [font size=4] 2022-08-25 [/font] Changed base image from ubuntu to alpine Fix and rework the logging system (previously barely working) Updated the handling of the ACCESS_KEY and SECRET_KEY variable while configuring the boto.config file [font size=4] V1.2.0 [/font] [font size=4] 2021-04-26 [/font] Added the possibility to import the .boto file with a volume instead of using variables. [font size=4] V1.1.7 [/font] [font size=4] 2021-01-31 [/font] Change base image for debian Fix issue with cronjob not triggering and wrong time [font size=4] V1.1.5 [/font] [font size=4] 2021-01-17 [/font] Updated Ubuntu base image. Updated Google Cloud SDK installation. [font size=4] V1.1.4 [/font] [font size=4] 2020-11-22 [/font] Fixed an issue with TimeZone not working properly [font size=4] V1.1.3 [/font] [font size=4] 2020-11-22 [/font] Used a specific tag for the Ubuntu image for a better stability in the future Added a cleanup phase to remove unused packages [font size=4] V1.1.2 [/font] [font size=4] 2020-11-21 [/font] Fixed env for home in cron and default GCSOPTIONS value [font size=4] V1.1.1 [/font] [font size=4] 2020-11-21 [/font] Fixed default value for GCSOPTIONS [font size=4] V1.1 [/font] [font size=4] 2020-11-21 [/font] Fixed permissions for image entrypoint [font size=4] V1.0 [/font] [font size=4] 2020-11-21 [/font] Initial Release 2021-04-26