fix Rclone backup command to escape date variable in docker-compose.yml
All checks were successful
Portainer Stack Update / update_stack (push) Successful in 7s
All checks were successful
Portainer Stack Update / update_stack (push) Successful in 7s
This commit is contained in:
parent
d41d9ac752
commit
c9a92005eb
@ -125,7 +125,7 @@ services:
|
|||||||
rclone-sync:
|
rclone-sync:
|
||||||
image: rclone/rclone:latest
|
image: rclone/rclone:latest
|
||||||
entrypoint: ""
|
entrypoint: ""
|
||||||
command: /bin/sh -c 'rclone sync /data GDrive:Backups/immich/full_backup --backup-dir=GDrive:Backups/immich/archive/$(date +%Y-%m-%d) --progress'
|
command: /bin/sh -c 'rclone sync /data GDrive:Backups/immich/full_backup --backup-dir=GDrive:Backups/immich/archive/$$(date +%Y-%m-%d) --progress'
|
||||||
networks:
|
networks:
|
||||||
- public
|
- public
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user