Change schedule backup

This commit is contained in:
Ruben Hensen
2025-03-03 22:40:24 +01:00
parent a54126f045
commit 4607163d4e
8 changed files with 557 additions and 3 deletions
@@ -0,0 +1,30 @@
kind: Deployment
apiVersion: apps/v1
metadata:
name: restore-ubuntu
labels:
app: restore-ubuntu
# namespace: immich # edit in apps folder
# docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
spec:
replicas: 1
selector:
matchLabels:
app: restore-ubuntu
template:
metadata:
labels:
app: restore-ubuntu
spec:
containers:
- name: restore-ubuntu
image: ubuntu:plucky
volumeMounts:
- name: restorevol
mountPath: /mnt/restorevol/
command: [ "/bin/bash", "-c", "--" ] # Let container sleep, so it does not close because of 'completion'
args: [ "while true; do sleep 30; done;" ]
volumes:
- name: restorevol
persistentVolumeClaim:
claimName: backupofimmich