Skip to content

Time issue #22

@ilexpl01

Description

@ilexpl01

Hi,

I run (Version 0.0.7) on Synology NAS

My compose file:

version: '3.8'
services:
portainer-backup:
container_name: portainer-backup-NAS03
image: savagesoftware/portainer-backup:latest
hostname: portainer-backup-NAS03
restart: unless-stopped
command: schedule
environment:
TZ: Europe/Warsaw
PORTAINER_BACKUP_URL: "http://:9000"
PORTAINER_BACKUP_TOKEN: "
************"
PORTAINER_BACKUP_PASSWORD: ""
PORTAINER_BACKUP_OVERWRITE: 1
PORTAINER_BACKUP_SCHEDULE: "0 0 0 * * *"
PORTAINER_BACKUP_STACKS: 1
PORTAINER_BACKUP_DRYRUN: 0
PORTAINER_BACKUP_CONCISE: 1
PORTAINER_BACKUP_DIRECTORY: "/backup/NAS03/{{yyyy-MM-dd}}"
PORTAINER_BACKUP_FILENAME: "portainer-backup-NAS03-{{yyyy-MM-dd}}.tar.gz"
volumes:
- /volume1/docker/portainer_backup:/backup

If I start and have a look in log:

| _ ___ _ | | __ ()_ _ ___ _ _ | _ ) __ _ | |_ _ _ __
| / _ \ '| / | | ' \/ -_) '_| | _ \/ _ / | / / || | '
|
| ___/
| __,||||_|| |/_,_|_\,| .__/
|_|
┌──────────────────────────────────────────────────────────────────┐
│ Made with ♥ by SavageSoftware, LLC © 2022 (Version 0.0.7) │
└──────────────────────────────────────────────────────────────────┘
Initializing operation : ✔ SCHEDULE
Validating portainer server : ✔ http://**********************************
Validating portainer version : ✔ v2.21.1
Validating portainer access token : ✔
Validating schedule expression : ✔

[2024-09-13T11:41:04.200Z] ... Waiting for next scheduled backup

The time is 2 hour behind current Synology time (in that case it is 13:41:04).

Tried with PORTAINER_BACKUP_TZ: Europe/Warsaw - not any better.

What do I do wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions