Compare commits
3 Commits
aa74cf42f8
...
63f7d3e3bf
| Author | SHA1 | Date | |
|---|---|---|---|
| 63f7d3e3bf | |||
| 0d2c7660fb | |||
| 804bf3e964 |
@@ -5,7 +5,7 @@ services:
|
||||
pbsupper-1:
|
||||
container_name: pbsupper
|
||||
user: 1600:1600
|
||||
image: tea.shupogaki.org/yuruc3/pbsupper:v0.2
|
||||
image: tea.shupogaki.org/yuruc3/pbsupper:v0.2.1
|
||||
environment:
|
||||
LOCAL_DATASTORE: somethingSomething
|
||||
REMOTE_DATASTORE: somethingSomething
|
||||
|
||||
4
main.py
4
main.py
@@ -32,7 +32,7 @@ AUTO_ADD_NAME: Final[str] = os.getenv("AUTO_ADD_NAME", "autoBackupScript_one-sho
|
||||
|
||||
RUN_SCHEDULE: Final[str] = os.getenv("RUN_SCHEDULE", "45 17 * * 5")
|
||||
RUN_SCHEDULE_TZ: Final[str] = os.getenv("RUN_SCHEDULE_TZ", "Europe/Stockholm")
|
||||
RUN_ONE_SHOT: Final[bool] = bool(os.getenv("RUN_ONE_SHOT", False))
|
||||
RUN_ONE_SHOT: Final[bool] = (os.getenv("RUN_ONE_SHOT", "false").lower() == "true")
|
||||
|
||||
|
||||
|
||||
@@ -397,7 +397,7 @@ def theCodeBasically():
|
||||
|
||||
if time.monotonic() - SYNC_JOB_DATE >= (PBS_MAX_RUNTIME_MIN * 60):
|
||||
# print(SYNC_JOB_DATE - time.monotonic())
|
||||
|
||||
|
||||
# Forcefully skip if these tasks are running. reader task is, I think, PVE backup
|
||||
# Also otherjob is something else and it is better to wait if there is one otherjob
|
||||
if (
|
||||
|
||||
@@ -20,7 +20,7 @@ data:
|
||||
# Alternatively you can also use this option instead of PRIVATE_KEY: 123...
|
||||
|
||||
stringData:
|
||||
PRIVATE_KEY: |
|
||||
HOST_USR_SSHKEY: |
|
||||
-----BEGIN OPENSSH PRIVATE KEY-----
|
||||
123...
|
||||
-----END OPENSSH PRIVATE KEY-----
|
||||
@@ -85,7 +85,7 @@ spec:
|
||||
|
||||
containers:
|
||||
- name: pbsupper
|
||||
image: tea.shupogaki.org/yuruc3/pbsupper:v0.2
|
||||
image: tea.shupogaki.org/yuruc3/pbsupper:v0.2.1
|
||||
imagePullPolicy: IfNotPresent
|
||||
|
||||
envFrom:
|
||||
|
||||
Reference in New Issue
Block a user