File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
containers/tools/pvbackup Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,5 @@ VERSION = $(shell cat VERSION | grep -Ev "^#" | tail -1)-development
22REGISTRY = ghcr.io/haiku
33default :
44 podman build --no-cache --tag ${REGISTRY} /pvbackup:${VERSION} .
5+ push :
6+ podman push ${REGISTRY} /pvbackup:${VERSION}
Original file line number Diff line number Diff line change @@ -20,4 +20,5 @@ I'm a simple container to backup/restore encrypted persistant volume data to an
2020#### Optional
2121
2222* REMOTE_NAME - name of remote specified in configuration file (defaults to "backup")
23- * REMOTE_MAX_AGE - maximum backup age in bucket. ex: 30d,1y,etc
23+ * REMOTE_MAX_AGE - maximum backup age in bucket. example: 30d,1y,etc
24+
Original file line number Diff line number Diff line change 11# ONLY UPDATE ONCE READY TO BUILD NEW RELEASE
2- 3.0.1
2+ 3.0.2
Original file line number Diff line number Diff line change @@ -33,12 +33,12 @@ if [ ! -f $RCLONE_CONFIG_PATH ]; then
3333 exit 1
3434fi
3535
36- if [ ! -z " $REMOTE_PREFIX " ] ; then
36+ if [ -z " $REMOTE_PREFIX " ] ; then
3737 echo " REMOTE_PREFIX is not defined! This is the bucket name for s3 or other prefix path"
3838 exit 1
3939fi
4040
41- if [ ! -z " $REMOTE_NAME " ] ; then
41+ if [ -z " $REMOTE_NAME " ] ; then
4242 echo " REMOTE_NAME is not defined. Defaulting to 'backup' (make sure this matches config file)"
4343 REMOTE_NAME=" backup"
4444fi
You can’t perform that action at this time.
0 commit comments