public
nobgit
read
NobMail
Based on mailcow: dockerized
Languages
Repository composition by tracked source files.
PHP
49%
JavaScript
35%
HTML
9%
CSS
4%
Shell
2%
Python
1%
Lua
0%
Perl
0%
Ruby
0%
SCSS
0%
Create file
Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git
Trace
helper-scripts/backup_and_restore.sh
Trace helps you understand code history line by line. See who changed each line, when it changed, and which commit introduced it.
backup_and_restore.sh
on main
Author
Date
Commit
Line
Code
Harald Glatt
about 7 years ago
7dc0a05
Update all helper scripts to '/usr/bin/env bash' shebang
- Full commit hash
7dc0a05a71d958918644339649ac6874c821eacb- Author
- Harald Glatt <[email protected]>
- Date
- about 7 years ago
- Selected line
- 1
#!/usr/bin/env bash
#!/usr/bin/env bash
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 2
Peter
over 1 year ago
3c9d0c9
use ghcr.io for backupimage (#6333)
- Full commit hash
3c9d0c9d577a3ac8a159a34c7851b14cd6d4ecb1- Author
- Peter <[email protected]>
- Date
- over 1 year ago
- Selected line
- 3
DEBIAN_DOCKER_IMAGE="ghcr.io/mailcow/backup:latest"
DEBIAN_DOCKER_IMAGE="ghcr.io/mailcow/backup:latest"
Christian Burmeister
over 6 years ago
25f7ecc
Update backup_and_restore.sh (#3490)
- Full commit hash
25f7ecc5427784470382c557c1bcbd7829864c0a- Author
- Christian Burmeister <[email protected]>
- Date
- over 6 years ago
- Selected line
- 4
André
almost 8 years ago
67b3dec
[Helper] Add MAILCOW_BACKUP_LOCATION as alternative to BACKUP_LOCATION to backup script, fixes #957
- Full commit hash
67b3dec5a2260caf32ddcdc9d78188995336fa4f- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 5
if [[ ! -z ${MAILCOW_BACKUP_LOCATION} ]]; then
if [[ ! -z ${MAILCOW_BACKUP_LOCATION} ]]; then
same change
67b3dec
[Helper] Add MAILCOW_BACKUP_LOCATION as alternative to BACKUP_LOCATION to backup script, fixes #957
- Full commit hash
67b3dec5a2260caf32ddcdc9d78188995336fa4f- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 6
BACKUP_LOCATION="${MAILCOW_BACKUP_LOCATION}"
BACKUP_LOCATION="${MAILCOW_BACKUP_LOCATION}"
same change
67b3dec
[Helper] Add MAILCOW_BACKUP_LOCATION as alternative to BACKUP_LOCATION to backup script, fixes #957
- Full commit hash
67b3dec5a2260caf32ddcdc9d78188995336fa4f- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 7
fi
fi
same change
67b3dec
[Helper] Add MAILCOW_BACKUP_LOCATION as alternative to BACKUP_LOCATION to backup script, fixes #957
- Full commit hash
67b3dec5a2260caf32ddcdc9d78188995336fa4f- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 8
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 9
if [[ ! ${1} =~ (backup|restore) ]]; then
if [[ ! ${1} =~ (backup|restore) ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 10
echo "First parameter needs to be 'backup' or 'restore'"
echo "First parameter needs to be 'backup' or 'restore'"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 11
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 12
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 13
andryyy
over 6 years ago
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 14
if [[ ${1} == "backup" && ! ${2} =~ (crypt|vmail|redis|rspamd|postfix|mysql|all|--delete-days) ]]; then
if [[ ${1} == "backup" && ! ${2} =~ (crypt|vmail|redis|rspamd|postfix|mysql|all|--delete-days) ]]; then
same change
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 15
echo "Second parameter needs to be 'vmail', 'crypt', 'redis', 'rspamd', 'postfix', 'mysql', 'all' or '--delete-days'"
echo "Second parameter needs to be 'vmail', 'crypt', 'redis', 'rspamd', 'postfix', 'mysql', 'all' or '--delete-days'"
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 16
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 17
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 18
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 19
if [[ -z ${BACKUP_LOCATION} ]]; then
if [[ -z ${BACKUP_LOCATION} ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 20
while [[ -z ${BACKUP_LOCATION} ]]; do
while [[ -z ${BACKUP_LOCATION} ]]; do
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 21
read -ep "Backup location (absolute path, starting with /): " BACKUP_LOCATION
read -ep "Backup location (absolute path, starting with /): " BACKUP_LOCATION
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 22
done
done
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 23
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 24
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 25
if [[ ! ${BACKUP_LOCATION} =~ ^/ ]]; then
if [[ ! ${BACKUP_LOCATION} =~ ^/ ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 26
echo "Backup directory needs to be given as absolute path (starting with /)."
echo "Backup directory needs to be given as absolute path (starting with /)."
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 27
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 28
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 29
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 30
if [[ -f ${BACKUP_LOCATION} ]]; then
if [[ -f ${BACKUP_LOCATION} ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 31
echo "${BACKUP_LOCATION} is a file!"
echo "${BACKUP_LOCATION} is a file!"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 32
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 33
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 34
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 35
if [[ ! -d ${BACKUP_LOCATION} ]]; then
if [[ ! -d ${BACKUP_LOCATION} ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 36
echo "${BACKUP_LOCATION} is not a directory"
echo "${BACKUP_LOCATION} is not a directory"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 37
read -p "Create it now? [y|N] " CREATE_BACKUP_LOCATION
read -p "Create it now? [y|N] " CREATE_BACKUP_LOCATION
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 38
if [[ ! ${CREATE_BACKUP_LOCATION,,} =~ ^(yes|y)$ ]]; then
if [[ ! ${CREATE_BACKUP_LOCATION,,} =~ ^(yes|y)$ ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 39
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 40
else
else
Alice Ferrazzi
over 7 years ago
5a56965
Create nested directory for backup
- Full commit hash
5a56965a4819f7bea91f130ca7c3d7abc6ff532d- Author
- Alice Ferrazzi <[email protected]>
- Date
- over 7 years ago
- Selected line
- 41
mkdir -p ${BACKUP_LOCATION}
mkdir -p ${BACKUP_LOCATION}
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 42
chmod 755 ${BACKUP_LOCATION}
chmod 755 ${BACKUP_LOCATION}
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 43
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 44
else
else
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 45
if [[ ${1} == "backup" ]] && [[ -z $(echo $(stat -Lc %a ${BACKUP_LOCATION}) | grep -oE '[0-9][0-9][5-7]') ]]; then
if [[ ${1} == "backup" ]] && [[ -z $(echo $(stat -Lc %a ${BACKUP_LOCATION}) | grep -oE '[0-9][0-9][5-7]') ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 46
echo "${BACKUP_LOCATION} is not write-able for others, that's required for a backup."
echo "${BACKUP_LOCATION} is not write-able for others, that's required for a backup."
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 47
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 48
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 49
fi
fi
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 50
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 51
BACKUP_LOCATION=$(echo ${BACKUP_LOCATION} | sed 's#/$##')
BACKUP_LOCATION=$(echo ${BACKUP_LOCATION} | sed 's#/$##')
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 52
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 53
COMPOSE_FILE=${SCRIPT_DIR}/../docker-compose.yml
COMPOSE_FILE=${SCRIPT_DIR}/../docker-compose.yml
andryyy
almost 6 years ago
d3a14f3
[Helper] Allow to run backup script everywhere
- Full commit hash
d3a14f397c95751e3151c387bbe5400efa423179- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 54
ENV_FILE=${SCRIPT_DIR}/../.env
ENV_FILE=${SCRIPT_DIR}/../.env
DerLinkman
almost 4 years ago
6306c45
Removed Thread Prompt and set default value to 1 Thread
- Full commit hash
6306c4555c7221493fac0ff19e9aed2f73459d64- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 55
THREADS=$(echo ${THREADS:-1})
THREADS=$(echo ${THREADS:-1})
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 56
ARCH=$(uname -m)
ARCH=$(uname -m)
DerLinkman
almost 4 years ago
6306c45
Removed Thread Prompt and set default value to 1 Thread
- Full commit hash
6306c4555c7221493fac0ff19e9aed2f73459d64- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 57
Tomasz Orzechowski
over 2 years ago
6dc0bdb
Proper number of threads regex.
- Full commit hash
6dc0bdbfa377eef1198063bccd41bd86a0858800- Author
- Tomasz Orzechowski <[email protected]>
- Date
- over 2 years ago
- Selected line
- 58
if ! [[ "${THREADS}" =~ ^[1-9][0-9]?$ ]] ; then
if ! [[ "${THREADS}" =~ ^[1-9][0-9]?$ ]] ; then
DerLinkman
over 3 years ago
b73d879
Removed thread prompt again. Added notice message
- Full commit hash
b73d879f3c681593f763cbf1a0ed286e9edb17e8- Author
- DerLinkman <[email protected]>
- Date
- over 3 years ago
- Selected line
- 59
echo "Thread input is not a number!"
echo "Thread input is not a number!"
same change
b73d879
Removed thread prompt again. Added notice message
- Full commit hash
b73d879f3c681593f763cbf1a0ed286e9edb17e8- Author
- DerLinkman <[email protected]>
- Date
- over 3 years ago
- Selected line
- 60
exit 1
exit 1
Tomasz Orzechowski
over 2 years ago
6dc0bdb
Proper number of threads regex.
- Full commit hash
6dc0bdbfa377eef1198063bccd41bd86a0858800- Author
- Tomasz Orzechowski <[email protected]>
- Date
- over 2 years ago
- Selected line
- 61
elif [[ "${THREADS}" =~ ^[1-9][0-9]?$ ]] ; then
elif [[ "${THREADS}" =~ ^[1-9][0-9]?$ ]] ; then
Peter
over 3 years ago
ff71024
[Helper] Backup and restore: Use latest tag for image
- Full commit hash
ff7102468ee0db49d866301aecc03690f69f1191- Author
- Peter <[email protected]>
- Date
- over 3 years ago
- Selected line
- 62
echo "Using ${THREADS} Thread(s) for this run."
echo "Using ${THREADS} Thread(s) for this run."
DerLinkman
over 3 years ago
b73d879
Removed thread prompt again. Added notice message
- Full commit hash
b73d879f3c681593f763cbf1a0ed286e9edb17e8- Author
- DerLinkman <[email protected]>
- Date
- over 3 years ago
- Selected line
- 63
echo "Notice: You can set the Thread count with the THREADS Variable before you run this script."
echo "Notice: You can set the Thread count with the THREADS Variable before you run this script."
same change
b73d879
Removed thread prompt again. Added notice message
- Full commit hash
b73d879f3c681593f763cbf1a0ed286e9edb17e8- Author
- DerLinkman <[email protected]>
- Date
- over 3 years ago
- Selected line
- 64
fi
fi
same change
b73d879
Removed thread prompt again. Added notice message
- Full commit hash
b73d879f3c681593f763cbf1a0ed286e9edb17e8- Author
- DerLinkman <[email protected]>
- Date
- over 3 years ago
- Selected line
- 65
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 66
if [ ! -f ${COMPOSE_FILE} ]; then
if [ ! -f ${COMPOSE_FILE} ]; then
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 67
echo "Compose file not found"
echo "Compose file not found"
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 68
exit 1
exit 1
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 69
fi
fi
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 70
andryyy
almost 6 years ago
d3a14f3
[Helper] Allow to run backup script everywhere
- Full commit hash
d3a14f397c95751e3151c387bbe5400efa423179- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 71
if [ ! -f ${ENV_FILE} ]; then
if [ ! -f ${ENV_FILE} ]; then
same change
d3a14f3
[Helper] Allow to run backup script everywhere
- Full commit hash
d3a14f397c95751e3151c387bbe5400efa423179- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 72
echo "Environment file not found"
echo "Environment file not found"
same change
d3a14f3
[Helper] Allow to run backup script everywhere
- Full commit hash
d3a14f397c95751e3151c387bbe5400efa423179- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 73
exit 1
exit 1
same change
d3a14f3
[Helper] Allow to run backup script everywhere
- Full commit hash
d3a14f397c95751e3151c387bbe5400efa423179- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 74
fi
fi
same change
d3a14f3
[Helper] Allow to run backup script everywhere
- Full commit hash
d3a14f397c95751e3151c387bbe5400efa423179- Author
- andryyy <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 75
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 76
echo "Using ${BACKUP_LOCATION} as backup/restore location."
echo "Using ${BACKUP_LOCATION} as backup/restore location."
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 77
echo
echo
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 78
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 79
source ${SCRIPT_DIR}/../mailcow.conf
source ${SCRIPT_DIR}/../mailcow.conf
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 80
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 81
if [[ -z ${COMPOSE_PROJECT_NAME} ]]; then
if [[ -z ${COMPOSE_PROJECT_NAME} ]]; then
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 82
echo "Could not determine compose project name"
echo "Could not determine compose project name"
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 83
exit 1
exit 1
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 84
else
else
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 85
echo "Found project name ${COMPOSE_PROJECT_NAME}"
echo "Found project name ${COMPOSE_PROJECT_NAME}"
andryyy
over 6 years ago
a71d991
[Helper] Fix for numbers in compose project name
- Full commit hash
a71d991c122683f1a99ea8267d1b7a12af6a8512- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 86
CMPS_PRJ=$(echo ${COMPOSE_PROJECT_NAME} | tr -cd "[0-9A-Za-z-_]")
CMPS_PRJ=$(echo ${COMPOSE_PROJECT_NAME} | tr -cd "[0-9A-Za-z-_]")
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 87
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 88
Niklas Meyer
about 4 years ago
714511b
[Compose] Update to Docker Compose v2 (#4605)
- Full commit hash
714511b0a84691f4c52f55ebbe982623f2512c80- Author
- Niklas Meyer <[email protected]>
- Date
- about 4 years ago
- Selected line
- 89
if grep --help 2>&1 | head -n 1 | grep -q -i "busybox"; then
if grep --help 2>&1 | head -n 1 | grep -q -i "busybox"; then
same change
714511b
[Compose] Update to Docker Compose v2 (#4605)
- Full commit hash
714511b0a84691f4c52f55ebbe982623f2512c80- Author
- Niklas Meyer <[email protected]>
- Date
- about 4 years ago
- Selected line
- 90
>&2 echo -e "\e[31mBusyBox grep detected on local system, please install GNU grep\e[0m"
>&2 echo -e "\e[31mBusyBox grep detected on local system, please install GNU grep\e[0m"
same change
714511b
[Compose] Update to Docker Compose v2 (#4605)
- Full commit hash
714511b0a84691f4c52f55ebbe982623f2512c80- Author
- Niklas Meyer <[email protected]>
- Date
- about 4 years ago
- Selected line
- 91
exit 1
exit 1
same change
714511b
[Compose] Update to Docker Compose v2 (#4605)
- Full commit hash
714511b0a84691f4c52f55ebbe982623f2512c80- Author
- Niklas Meyer <[email protected]>
- Date
- about 4 years ago
- Selected line
- 92
fi
fi
same change
714511b
[Compose] Update to Docker Compose v2 (#4605)
- Full commit hash
714511b0a84691f4c52f55ebbe982623f2512c80- Author
- Niklas Meyer <[email protected]>
- Date
- about 4 years ago
- Selected line
- 93
DerLinkman
7 months ago
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 94
# Add image prefetch function
# Add image prefetch function
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 95
function prefetch_image() {
function prefetch_image() {
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 96
echo "Checking Docker image: ${DEBIAN_DOCKER_IMAGE}"
echo "Checking Docker image: ${DEBIAN_DOCKER_IMAGE}"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 97
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 98
# Get local image digest if it exists
# Get local image digest if it exists
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 99
local local_digest=$(docker image inspect ${DEBIAN_DOCKER_IMAGE} --format='{{index .RepoDigests 0}}' 2>/dev/null | cut -d'@' -f2)
local local_digest=$(docker image inspect ${DEBIAN_DOCKER_IMAGE} --format='{{index .RepoDigests 0}}' 2>/dev/null | cut -d'@' -f2)
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 100
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 101
# Get remote image digest without pulling
# Get remote image digest without pulling
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 102
local remote_digest=$(docker manifest inspect ${DEBIAN_DOCKER_IMAGE} 2>/dev/null | grep -oP '"digest":\s*"\K[^"]+' | head -1)
local remote_digest=$(docker manifest inspect ${DEBIAN_DOCKER_IMAGE} 2>/dev/null | grep -oP '"digest":\s*"\K[^"]+' | head -1)
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 103
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 104
if [[ -z "${remote_digest}" ]]; then
if [[ -z "${remote_digest}" ]]; then
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 105
echo "Warning: Unable to check remote image"
echo "Warning: Unable to check remote image"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 106
if [[ -n "${local_digest}" ]]; then
if [[ -n "${local_digest}" ]]; then
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 107
echo "Using cached version"
echo "Using cached version"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 108
echo
echo
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 109
return 0
return 0
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 110
else
else
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 111
echo "Error: Image ${DEBIAN_DOCKER_IMAGE} not found locally or remotely"
echo "Error: Image ${DEBIAN_DOCKER_IMAGE} not found locally or remotely"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 112
exit 1
exit 1
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 113
fi
fi
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 114
fi
fi
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 115
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 116
if [[ "${local_digest}" != "${remote_digest}" ]]; then
if [[ "${local_digest}" != "${remote_digest}" ]]; then
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 117
echo "Image update available, pulling ${DEBIAN_DOCKER_IMAGE}"
echo "Image update available, pulling ${DEBIAN_DOCKER_IMAGE}"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 118
if docker pull ${DEBIAN_DOCKER_IMAGE} 2>/dev/null; then
if docker pull ${DEBIAN_DOCKER_IMAGE} 2>/dev/null; then
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 119
echo "Successfully pulled ${DEBIAN_DOCKER_IMAGE}"
echo "Successfully pulled ${DEBIAN_DOCKER_IMAGE}"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 120
else
else
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 121
echo "Error: Failed to pull ${DEBIAN_DOCKER_IMAGE}"
echo "Error: Failed to pull ${DEBIAN_DOCKER_IMAGE}"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 122
exit 1
exit 1
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 123
fi
fi
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 124
else
else
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 125
echo "Image is up to date (${remote_digest:0:12}...)"
echo "Image is up to date (${remote_digest:0:12}...)"
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 126
fi
fi
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 127
echo
echo
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 128
}
}
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 129
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 130
# Prefetch the image early in the script
# Prefetch the image early in the script
same change
d977ddb
backup: add image prefetch function to verify latest image is used
- Full commit hash
d977ddb5017e27f817f09310dcb7056449cb88fd- Author
- DerLinkman <[email protected]>
- Date
- 7 months ago
- Selected line
- 131
prefetch_image
prefetch_image
Niklas Meyer
about 4 years ago
714511b
[Compose] Update to Docker Compose v2 (#4605)
- Full commit hash
714511b0a84691f4c52f55ebbe982623f2512c80- Author
- Niklas Meyer <[email protected]>
- Date
- about 4 years ago
- Selected line
- 132
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 133
function backup() {
function backup() {
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 134
DATE=$(date +"%Y-%m-%d-%H-%M-%S")
DATE=$(date +"%Y-%m-%d-%H-%M-%S")
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 135
mkdir -p "${BACKUP_LOCATION}/mailcow-${DATE}"
mkdir -p "${BACKUP_LOCATION}/mailcow-${DATE}"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 136
chmod 755 "${BACKUP_LOCATION}/mailcow-${DATE}"
chmod 755 "${BACKUP_LOCATION}/mailcow-${DATE}"
Maxim Baz
almost 8 years ago
ca18ebd
Always backup mailcow.conf
- Full commit hash
ca18ebdb42682b2bb153156e06752231feb6f065- Author
- Maxim Baz <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 137
cp "${SCRIPT_DIR}/../mailcow.conf" "${BACKUP_LOCATION}/mailcow-${DATE}"
cp "${SCRIPT_DIR}/../mailcow.conf" "${BACKUP_LOCATION}/mailcow-${DATE}"
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 138
touch "${BACKUP_LOCATION}/mailcow-${DATE}/.$ARCH"
touch "${BACKUP_LOCATION}/mailcow-${DATE}/.$ARCH"
DerLinkman
about 4 years ago
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 139
for bin in docker; do
for bin in docker; do
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 140
if [[ -z $(which ${bin}) ]]; then
if [[ -z $(which ${bin}) ]]; then
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 141
>&2 echo -e "\e[31mCannot find ${bin} in local PATH, exiting...\e[0m"
>&2 echo -e "\e[31mCannot find ${bin} in local PATH, exiting...\e[0m"
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 142
exit 1
exit 1
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 143
fi
fi
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 144
done
done
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 145
while (( "$#" )); do
while (( "$#" )); do
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 146
case "$1" in
case "$1" in
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 147
vmail|all)
vmail|all)
Timo N
over 6 years ago
a63bad4
[Helper] Added name to backup and restore containers (#3477)
- Full commit hash
a63bad41bf671610c0b748590ba69bae4d10fecf- Author
- Timo N <[email protected]>
- Date
- over 6 years ago
- Selected line
- 148
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 149
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 150
-v $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$):/vmail:ro,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$):/vmail:ro,z \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 151
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_vmail.tar.zst /vmail
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_vmail.tar.zst /vmail
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 152
;;&
;;&
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 153
crypt|all)
crypt|all)
Timo N
over 6 years ago
a63bad4
[Helper] Added name to backup and restore containers (#3477)
- Full commit hash
a63bad41bf671610c0b748590ba69bae4d10fecf- Author
- Timo N <[email protected]>
- Date
- over 6 years ago
- Selected line
- 154
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 155
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 156
-v $(docker volume ls -qf name=^${CMPS_PRJ}_crypt-vol-1$):/crypt:ro,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_crypt-vol-1$):/crypt:ro,z \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 157
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_crypt.tar.zst /crypt
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_crypt.tar.zst /crypt
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 158
;;&
;;&
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 159
redis|all)
redis|all)
FreddleSpl0it
over 1 year ago
6831f94
[Redis] redis-cli suppress auth warning
- Full commit hash
6831f94fdb209fb4a558f5f81fb7db340c856bd2- Author
- FreddleSpl0it <[email protected]>
- Date
- over 1 year ago
- Selected line
- 160
docker exec $(docker ps -qf name=redis-mailcow) redis-cli -a ${REDISPASS} --no-auth-warning save
docker exec $(docker ps -qf name=redis-mailcow) redis-cli -a ${REDISPASS} --no-auth-warning save
Timo N
over 6 years ago
a63bad4
[Helper] Added name to backup and restore containers (#3477)
- Full commit hash
a63bad41bf671610c0b748590ba69bae4d10fecf- Author
- Timo N <[email protected]>
- Date
- over 6 years ago
- Selected line
- 161
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 162
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 163
-v $(docker volume ls -qf name=^${CMPS_PRJ}_redis-vol-1$):/redis:ro,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_redis-vol-1$):/redis:ro,z \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 164
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_redis.tar.zst /redis
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_redis.tar.zst /redis
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 165
;;&
;;&
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 166
rspamd|all)
rspamd|all)
Timo N
over 6 years ago
a63bad4
[Helper] Added name to backup and restore containers (#3477)
- Full commit hash
a63bad41bf671610c0b748590ba69bae4d10fecf- Author
- Timo N <[email protected]>
- Date
- over 6 years ago
- Selected line
- 167
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 168
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 169
-v $(docker volume ls -qf name=^${CMPS_PRJ}_rspamd-vol-1$):/rspamd:ro,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_rspamd-vol-1$):/rspamd:ro,z \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 170
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_rspamd.tar.zst /rspamd
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_rspamd.tar.zst /rspamd
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 171
;;&
;;&
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 172
postfix|all)
postfix|all)
Timo N
over 6 years ago
a63bad4
[Helper] Added name to backup and restore containers (#3477)
- Full commit hash
a63bad41bf671610c0b748590ba69bae4d10fecf- Author
- Timo N <[email protected]>
- Date
- over 6 years ago
- Selected line
- 173
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 174
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 175
-v $(docker volume ls -qf name=^${CMPS_PRJ}_postfix-vol-1$):/postfix:ro,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_postfix-vol-1$):/postfix:ro,z \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 176
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_postfix.tar.zst /postfix
${DEBIAN_DOCKER_IMAGE} /bin/tar --warning='no-file-ignored' --use-compress-program="zstd --rsyncable -T${THREADS}" -Pcvpf /backup/backup_postfix.tar.zst /postfix
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 177
;;&
;;&
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 178
mysql|all)
mysql|all)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 179
SQLIMAGE=$(grep -iEo '(mysql|mariadb)\:.+' ${COMPOSE_FILE})
SQLIMAGE=$(grep -iEo '(mysql|mariadb)\:.+' ${COMPOSE_FILE})
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 180
if [[ -z "${SQLIMAGE}" ]]; then
if [[ -z "${SQLIMAGE}" ]]; then
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 181
echo "Could not determine SQL image version, skipping backup..."
echo "Could not determine SQL image version, skipping backup..."
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 182
shift
shift
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 183
continue
continue
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 184
else
else
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 185
echo "Using SQL image ${SQLIMAGE}, starting..."
echo "Using SQL image ${SQLIMAGE}, starting..."
Timo N
over 6 years ago
a63bad4
[Helper] Added name to backup and restore containers (#3477)
- Full commit hash
a63bad41bf671610c0b748590ba69bae4d10fecf- Author
- Timo N <[email protected]>
- Date
- over 6 years ago
- Selected line
- 186
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 187
--network $(docker network ls -qf name=^${CMPS_PRJ}_mailcow-network$) \
--network $(docker network ls -qf name=^${CMPS_PRJ}_mailcow-network$) \
same change
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 188
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/var/lib/mysql/:ro,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/var/lib/mysql/:ro,z \
Sven Gottwald
over 5 years ago
f11660a
[Helper] Update backup_and_restore.sh (#4005)
- Full commit hash
f11660a5d8209ff78b047196a39e99c9a31f3c1e- Author
- Sven Gottwald <[email protected]>
- Date
- over 5 years ago
- Selected line
- 189
-t --entrypoint= \
-t --entrypoint= \
andryyy
over 5 years ago
4692826
[Backup Helper] Possible workaround for #3913
- Full commit hash
46928269bbdf7c113b517a8fe2c65c7be4d01aee- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 190
--sysctl net.ipv6.conf.all.disable_ipv6=1 \
--sysctl net.ipv6.conf.all.disable_ipv6=1 \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 191
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
-v ${BACKUP_LOCATION}/mailcow-${DATE}:/backup:z \
andryyy
over 6 years ago
07c7da2
[Helper] Create tar archives for SQL backups
- Full commit hash
07c7da2821c1c45ee4219ac6f4d547763e109675- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 192
${SQLIMAGE} /bin/sh -c "mariabackup --host mysql --user root --password ${DBROOT} --backup --rsync --target-dir=/backup_mariadb ; \
${SQLIMAGE} /bin/sh -c "mariabackup --host mysql --user root --password ${DBROOT} --backup --rsync --target-dir=/backup_mariadb ; \
same change
07c7da2
[Helper] Create tar archives for SQL backups
- Full commit hash
07c7da2821c1c45ee4219ac6f4d547763e109675- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 193
mariabackup --prepare --target-dir=/backup_mariadb ; \
mariabackup --prepare --target-dir=/backup_mariadb ; \
andryyy
over 5 years ago
100650a
[Helper] Use 999:999 as owner instead of mysql:mysql
- Full commit hash
100650a25e61b073bf44e5aeb916a00f9b3fc177- Author
- andryyy <[email protected]>
- Date
- over 5 years ago
- Selected line
- 194
chown -R 999:999 /backup_mariadb ; \
chown -R 999:999 /backup_mariadb ; \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 195
/bin/tar --warning='no-file-ignored' --use-compress-program='zstd --rsyncable' -Pcvpf /backup/backup_mariadb.tar.zst /backup_mariadb ;"
/bin/tar --warning='no-file-ignored' --use-compress-program='zstd --rsyncable' -Pcvpf /backup/backup_mariadb.tar.zst /backup_mariadb ;"
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 196
fi
fi
andryyy
over 6 years ago
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 197
;;&
;;&
same change
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 198
--delete-days)
--delete-days)
same change
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 199
shift
shift
same change
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 200
if [[ "${1}" =~ ^[0-9]+$ ]]; then
if [[ "${1}" =~ ^[0-9]+$ ]]; then
Florian Lindner
about 6 years ago
36890de
Make delete-days delete only files with mailcow-* in backup location (#3609)
- Full commit hash
36890de7f42aa328ce7d74443c6ca2479c3d2683- Author
- Florian Lindner <[email protected]>
- Date
- about 6 years ago
- Selected line
- 201
find ${BACKUP_LOCATION}/mailcow-* -maxdepth 0 -mmin +$((${1}*60*24)) -exec rm -rvf {} \;
find ${BACKUP_LOCATION}/mailcow-* -maxdepth 0 -mmin +$((${1}*60*24)) -exec rm -rvf {} \;
andryyy
over 6 years ago
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 202
else
else
same change
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 203
echo "Parameter of --delete-days is not a number."
echo "Parameter of --delete-days is not a number."
same change
ccd9d93
[Helper] New parameter --delete-days to delete backups older than n days
- Full commit hash
ccd9d934d6350df4a98ce8d67433e7b36fc49b74- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 204
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 205
;;
;;
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 206
esac
esac
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 207
shift
shift
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 208
done
done
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 209
}
}
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 210
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 211
function get_archive_info() {
function get_archive_info() {
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 212
local backup_name="$1"
local backup_name="$1"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 213
local location="$2"
local location="$2"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 214
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 215
if [[ -f "${location}/${backup_name}.tar.zst" ]]; then
if [[ -f "${location}/${backup_name}.tar.zst" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 216
echo "${backup_name}.tar.zst|zstd -d -T${THREADS}"
echo "${backup_name}.tar.zst|zstd -d -T${THREADS}"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 217
elif [[ -f "${location}/${backup_name}.tar.gz" ]]; then
elif [[ -f "${location}/${backup_name}.tar.gz" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 218
echo "${backup_name}.tar.gz|pigz -d -p ${THREADS}"
echo "${backup_name}.tar.gz|pigz -d -p ${THREADS}"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 219
else
else
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 220
echo ""
echo ""
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 221
fi
fi
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 222
}
}
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 223
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 224
function restore() {
function restore() {
DerLinkman
almost 4 years ago
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 225
for bin in docker; do
for bin in docker; do
DerLinkman
about 4 years ago
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 226
if [[ -z $(which ${bin}) ]]; then
if [[ -z $(which ${bin}) ]]; then
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 227
>&2 echo -e "\e[31mCannot find ${bin} in local PATH, exiting...\e[0m"
>&2 echo -e "\e[31mCannot find ${bin} in local PATH, exiting...\e[0m"
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 228
exit 1
exit 1
same change
6195b7c
[Backup Script]Check for docker and docker-compose in each step seperate
- Full commit hash
6195b7c33450b7d38fcc82b2e15de5f246590a61- Author
- DerLinkman <[email protected]>
- Date
- about 4 years ago
- Selected line
- 229
fi
fi
DerLinkman
almost 4 years ago
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 230
done
done
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 231
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 232
if [ "${DOCKER_COMPOSE_VERSION}" == "native" ]; then
if [ "${DOCKER_COMPOSE_VERSION}" == "native" ]; then
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 233
COMPOSE_COMMAND="docker compose"
COMPOSE_COMMAND="docker compose"
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 234
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 235
elif [ "${DOCKER_COMPOSE_VERSION}" == "standalone" ]; then
elif [ "${DOCKER_COMPOSE_VERSION}" == "standalone" ]; then
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 236
COMPOSE_COMMAND="docker-compose"
COMPOSE_COMMAND="docker-compose"
Peter
over 3 years ago
ff71024
[Helper] Backup and restore: Use latest tag for image
- Full commit hash
ff7102468ee0db49d866301aecc03690f69f1191- Author
- Peter <[email protected]>
- Date
- over 3 years ago
- Selected line
- 237
DerLinkman
almost 4 years ago
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 238
else
else
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 239
echo -e "\e[31mCan not read DOCKER_COMPOSE_VERSION variable from mailcow.conf! Is your mailcow up to date? Exiting...\e[0m"
echo -e "\e[31mCan not read DOCKER_COMPOSE_VERSION variable from mailcow.conf! Is your mailcow up to date? Exiting...\e[0m"
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 240
exit 1
exit 1
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 241
fi
fi
same change
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 242
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 243
echo
echo
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 244
echo "Stopping watchdog-mailcow..."
echo "Stopping watchdog-mailcow..."
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 245
docker stop $(docker ps -qf name=watchdog-mailcow)
docker stop $(docker ps -qf name=watchdog-mailcow)
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 246
echo
echo
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 247
RESTORE_LOCATION="${1}"
RESTORE_LOCATION="${1}"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 248
shift
shift
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 249
while (( "$#" )); do
while (( "$#" )); do
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 250
case "$1" in
case "$1" in
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 251
vmail)
vmail)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 252
docker stop $(docker ps -qf name=dovecot-mailcow)
docker stop $(docker ps -qf name=dovecot-mailcow)
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 253
ARCHIVE_INFO=$(get_archive_info "backup_vmail" "${RESTORE_LOCATION}")
ARCHIVE_INFO=$(get_archive_info "backup_vmail" "${RESTORE_LOCATION}")
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 254
if [[ -z "${ARCHIVE_INFO}" ]]; then
if [[ -z "${ARCHIVE_INFO}" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 255
echo -e "\e[31mError: No backup file found for vmail (searched for .tar.zst and .tar.gz)\e[0m"
echo -e "\e[31mError: No backup file found for vmail (searched for .tar.zst and .tar.gz)\e[0m"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 256
else
else
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 257
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 258
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 259
docker run -i --name mailcow-backup --rm \
docker run -i --name mailcow-backup --rm \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 260
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 261
-v $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$):/vmail:z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_vmail-vol-1$):/vmail:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 262
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 263
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 264
docker start $(docker ps -aqf name=dovecot-mailcow)
docker start $(docker ps -aqf name=dovecot-mailcow)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 265
echo
echo
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 266
echo "In most cases it is not required to run a full resync, you can run the command printed below at any time after testing wether the restore process broke a mailbox:"
echo "In most cases it is not required to run a full resync, you can run the command printed below at any time after testing wether the restore process broke a mailbox:"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 267
echo
echo
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 268
echo "docker exec $(docker ps -qf name=dovecot-mailcow) doveadm force-resync -A '*'"
echo "docker exec $(docker ps -qf name=dovecot-mailcow) doveadm force-resync -A '*'"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 269
echo
echo
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 270
read -p "Force a resync now? [y|N] " FORCE_RESYNC
read -p "Force a resync now? [y|N] " FORCE_RESYNC
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 271
if [[ ${FORCE_RESYNC,,} =~ ^(yes|y)$ ]]; then
if [[ ${FORCE_RESYNC,,} =~ ^(yes|y)$ ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 272
docker exec $(docker ps -qf name=dovecot-mailcow) doveadm force-resync -A '*'
docker exec $(docker ps -qf name=dovecot-mailcow) doveadm force-resync -A '*'
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 273
else
else
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 274
echo "OK, skipped."
echo "OK, skipped."
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 275
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 276
;;
;;
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 277
redis)
redis)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 278
docker stop $(docker ps -qf name=redis-mailcow)
docker stop $(docker ps -qf name=redis-mailcow)
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 279
ARCHIVE_INFO=$(get_archive_info "backup_redis" "${RESTORE_LOCATION}")
ARCHIVE_INFO=$(get_archive_info "backup_redis" "${RESTORE_LOCATION}")
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 280
if [[ -z "${ARCHIVE_INFO}" ]]; then
if [[ -z "${ARCHIVE_INFO}" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 281
echo -e "\e[31mError: No backup file found for redis (searched for .tar.zst and .tar.gz)\e[0m"
echo -e "\e[31mError: No backup file found for redis (searched for .tar.zst and .tar.gz)\e[0m"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 282
else
else
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 283
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 284
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 285
docker run -i --name mailcow-backup --rm \
docker run -i --name mailcow-backup --rm \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 286
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 287
-v $(docker volume ls -qf name=^${CMPS_PRJ}_redis-vol-1$):/redis:z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_redis-vol-1$):/redis:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 288
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 289
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 290
docker start $(docker ps -aqf name=redis-mailcow)
docker start $(docker ps -aqf name=redis-mailcow)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 291
;;
;;
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 292
crypt)
crypt)
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 293
docker stop $(docker ps -qf name=dovecot-mailcow)
docker stop $(docker ps -qf name=dovecot-mailcow)
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 294
ARCHIVE_INFO=$(get_archive_info "backup_crypt" "${RESTORE_LOCATION}")
ARCHIVE_INFO=$(get_archive_info "backup_crypt" "${RESTORE_LOCATION}")
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 295
if [[ -z "${ARCHIVE_INFO}" ]]; then
if [[ -z "${ARCHIVE_INFO}" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 296
echo -e "\e[31mError: No backup file found for crypt (searched for .tar.zst and .tar.gz)\e[0m"
echo -e "\e[31mError: No backup file found for crypt (searched for .tar.zst and .tar.gz)\e[0m"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 297
else
else
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 298
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 299
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 300
docker run -i --name mailcow-backup --rm \
docker run -i --name mailcow-backup --rm \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 301
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 302
-v $(docker volume ls -qf name=^${CMPS_PRJ}_crypt-vol-1$):/crypt:z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_crypt-vol-1$):/crypt:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 303
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 304
fi
fi
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 305
docker start $(docker ps -aqf name=dovecot-mailcow)
docker start $(docker ps -aqf name=dovecot-mailcow)
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 306
;;
;;
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 307
rspamd)
rspamd)
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 308
ARCHIVE_INFO=$(get_archive_info "backup_rspamd" "${RESTORE_LOCATION}")
ARCHIVE_INFO=$(get_archive_info "backup_rspamd" "${RESTORE_LOCATION}")
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 309
if [[ -z "${ARCHIVE_INFO}" ]]; then
if [[ -z "${ARCHIVE_INFO}" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 310
echo -e "\e[31mError: No backup file found for rspamd (searched for .tar.zst and .tar.gz)\e[0m"
echo -e "\e[31mError: No backup file found for rspamd (searched for .tar.zst and .tar.gz)\e[0m"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 311
elif [[ $(find "${RESTORE_LOCATION}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') == "" ]]; then
elif [[ $(find "${RESTORE_LOCATION}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') == "" ]]; then
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 312
echo -e "\e[33mCould not find a architecture signature of the loaded backup... Maybe the backup was done before the multiarch update?"
echo -e "\e[33mCould not find a architecture signature of the loaded backup... Maybe the backup was done before the multiarch update?"
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 313
sleep 2
sleep 2
Bruno Antunes
over 1 year ago
65d872c
Fix tiny typo
- Full commit hash
65d872cc1487380e488e26d27a26154a12753f5f- Author
- Bruno Antunes <[email protected]>
- Date
- over 1 year ago
- Selected line
- 314
echo -e "Continuing anyhow. If rspamd is crashing upon boot try remove the rspamd volume with docker volume rm ${CMPS_PRJ}_rspamd-vol-1 after you've stopped the stack.\e[0m"
echo -e "Continuing anyhow. If rspamd is crashing upon boot try remove the rspamd volume with docker volume rm ${CMPS_PRJ}_rspamd-vol-1 after you've stopped the stack.\e[0m"
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 315
sleep 2
sleep 2
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 316
docker stop $(docker ps -qf name=rspamd-mailcow)
docker stop $(docker ps -qf name=rspamd-mailcow)
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 317
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 318
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
Daniel Muehlbachler-Pietrzykowski
about 2 years ago
ffeeb17
restore: remove tty requirement from restore process to allow for automated restores
- Full commit hash
ffeeb179e1894bf83513fe9630f47f27bec69ef7- Author
- Daniel Muehlbachler-Pietrzykowski <[email protected]>
- Date
- about 2 years ago
- Selected line
- 319
docker run -i --name mailcow-backup --rm \
docker run -i --name mailcow-backup --rm \
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 320
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 321
-v $(docker volume ls -qf name=^${CMPS_PRJ}_rspamd-vol-1$):/rspamd:z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_rspamd-vol-1$):/rspamd:z \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 322
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 323
docker start $(docker ps -aqf name=rspamd-mailcow)
docker start $(docker ps -aqf name=rspamd-mailcow)
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 324
elif [[ $ARCH != $(find "${RESTORE_LOCATION}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') ]]; then
elif [[ $ARCH != $(find "${RESTORE_LOCATION}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') ]]; then
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 325
echo -e "\e[31mThe Architecture of the backed up mailcow OS is different then your restoring mailcow OS..."
echo -e "\e[31mThe Architecture of the backed up mailcow OS is different then your restoring mailcow OS..."
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 326
sleep 2
sleep 2
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 327
echo -e "Skipping rspamd due to compatibility issues!\e[0m"
echo -e "Skipping rspamd due to compatibility issues!\e[0m"
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 328
else
else
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 329
docker stop $(docker ps -qf name=rspamd-mailcow)
docker stop $(docker ps -qf name=rspamd-mailcow)
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 330
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 331
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
Daniel Muehlbachler-Pietrzykowski
about 2 years ago
ffeeb17
restore: remove tty requirement from restore process to allow for automated restores
- Full commit hash
ffeeb179e1894bf83513fe9630f47f27bec69ef7- Author
- Daniel Muehlbachler-Pietrzykowski <[email protected]>
- Date
- about 2 years ago
- Selected line
- 332
docker run -i --name mailcow-backup --rm \
docker run -i --name mailcow-backup --rm \
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 333
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 334
-v $(docker volume ls -qf name=^${CMPS_PRJ}_rspamd-vol-1$):/rspamd:z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_rspamd-vol-1$):/rspamd:z \
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 335
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 336
docker start $(docker ps -aqf name=rspamd-mailcow)
docker start $(docker ps -aqf name=rspamd-mailcow)
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 337
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 338
;;
;;
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 339
postfix)
postfix)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 340
docker stop $(docker ps -qf name=postfix-mailcow)
docker stop $(docker ps -qf name=postfix-mailcow)
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 341
ARCHIVE_INFO=$(get_archive_info "backup_postfix" "${RESTORE_LOCATION}")
ARCHIVE_INFO=$(get_archive_info "backup_postfix" "${RESTORE_LOCATION}")
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 342
if [[ -z "${ARCHIVE_INFO}" ]]; then
if [[ -z "${ARCHIVE_INFO}" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 343
echo -e "\e[31mError: No backup file found for postfix (searched for .tar.zst and .tar.gz)\e[0m"
echo -e "\e[31mError: No backup file found for postfix (searched for .tar.zst and .tar.gz)\e[0m"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 344
else
else
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 345
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 346
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 347
docker run -i --name mailcow-backup --rm \
docker run -i --name mailcow-backup --rm \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 348
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 349
-v $(docker volume ls -qf name=^${CMPS_PRJ}_postfix-vol-1$):/postfix:z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_postfix-vol-1$):/postfix:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 350
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
${DEBIAN_DOCKER_IMAGE} /bin/tar --use-compress-program="${DECOMPRESS_PROG}" -Pxvf /backup/${ARCHIVE_FILE}
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 351
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 352
docker start $(docker ps -aqf name=postfix-mailcow)
docker start $(docker ps -aqf name=postfix-mailcow)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 353
;;
;;
andryyy
about 6 years ago
e01c24a
[Helper] Fix mariadb restore when "all" is selected, thanks to @takigama
- Full commit hash
e01c24aa051e07c5b666f262b8275b3f36a8977d- Author
- andryyy <[email protected]>
- Date
- about 6 years ago
- Selected line
- 354
mysql|mariadb)
mysql|mariadb)
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 355
SQLIMAGE=$(grep -iEo '(mysql|mariadb)\:.+' ${COMPOSE_FILE})
SQLIMAGE=$(grep -iEo '(mysql|mariadb)\:.+' ${COMPOSE_FILE})
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 356
if [[ -z "${SQLIMAGE}" ]]; then
if [[ -z "${SQLIMAGE}" ]]; then
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 357
echo "Could not determine SQL image version, skipping restore..."
echo "Could not determine SQL image version, skipping restore..."
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 358
shift
shift
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 359
continue
continue
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 360
elif [ ! -f "${RESTORE_LOCATION}/mailcow.conf" ]; then
elif [ ! -f "${RESTORE_LOCATION}/mailcow.conf" ]; then
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 361
echo "Could not find the corresponding mailcow.conf in ${RESTORE_LOCATION}, skipping restore."
echo "Could not find the corresponding mailcow.conf in ${RESTORE_LOCATION}, skipping restore."
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 362
echo "If you lost that file, copy the last working mailcow.conf file to ${RESTORE_LOCATION} and restart the restore process."
echo "If you lost that file, copy the last working mailcow.conf file to ${RESTORE_LOCATION} and restart the restore process."
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 363
shift
shift
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 364
continue
continue
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 365
else
else
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 366
read -p "mailcow will be stopped and the currently active mailcow.conf will be modified to use the DB parameters found in ${RESTORE_LOCATION}/mailcow.conf - do you want to proceed? [Y|n] " MYSQL_STOP_MAILCOW
read -p "mailcow will be stopped and the currently active mailcow.conf will be modified to use the DB parameters found in ${RESTORE_LOCATION}/mailcow.conf - do you want to proceed? [Y|n] " MYSQL_STOP_MAILCOW
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 367
if [[ ${MYSQL_STOP_MAILCOW,,} =~ ^(no|n|N)$ ]]; then
if [[ ${MYSQL_STOP_MAILCOW,,} =~ ^(no|n|N)$ ]]; then
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 368
echo "OK, skipped."
echo "OK, skipped."
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 369
shift
shift
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 370
continue
continue
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 371
else
else
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 372
echo "Stopping mailcow..."
echo "Stopping mailcow..."
DerLinkman
almost 4 years ago
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 373
${COMPOSE_COMMAND} -f ${COMPOSE_FILE} --env-file ${ENV_FILE} down
${COMPOSE_COMMAND} -f ${COMPOSE_FILE} --env-file ${ENV_FILE} down
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 374
fi
fi
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 375
#docker stop $(docker ps -qf name=mysql-mailcow)
#docker stop $(docker ps -qf name=mysql-mailcow)
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 376
if [[ -d "${RESTORE_LOCATION}/mysql" ]]; then
if [[ -d "${RESTORE_LOCATION}/mysql" ]]; then
Timo N
over 6 years ago
a63bad4
[Helper] Added name to backup and restore containers (#3477)
- Full commit hash
a63bad41bf671610c0b748590ba69bae4d10fecf- Author
- Timo N <[email protected]>
- Date
- over 6 years ago
- Selected line
- 377
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 378
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/var/lib/mysql/:rw,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/var/lib/mysql/:rw,z \
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 379
--entrypoint= \
--entrypoint= \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 380
-v ${RESTORE_LOCATION}/mysql:/backup:z \
-v ${RESTORE_LOCATION}/mysql:/backup:z \
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 381
${SQLIMAGE} /bin/bash -c "shopt -s dotglob ; /bin/rm -rf /var/lib/mysql/* ; rsync -avh --usermap=root:mysql --groupmap=root:mysql /backup/ /var/lib/mysql/"
${SQLIMAGE} /bin/bash -c "shopt -s dotglob ; /bin/rm -rf /var/lib/mysql/* ; rsync -avh --usermap=root:mysql --groupmap=root:mysql /backup/ /var/lib/mysql/"
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 382
elif [[ -f "${RESTORE_LOCATION}/backup_mysql.gz" ]]; then
elif [[ -f "${RESTORE_LOCATION}/backup_mysql.gz" ]]; then
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 383
docker run \
docker run \
Daniel Muehlbachler-Pietrzykowski
about 2 years ago
ffeeb17
restore: remove tty requirement from restore process to allow for automated restores
- Full commit hash
ffeeb179e1894bf83513fe9630f47f27bec69ef7- Author
- Daniel Muehlbachler-Pietrzykowski <[email protected]>
- Date
- about 2 years ago
- Selected line
- 384
-i --name mailcow-backup --rm \
-i --name mailcow-backup --rm \
Joachim Astel
about 5 years ago
b1adbb3
Update backup_and_restore.sh (#4098)
- Full commit hash
b1adbb38e60c5550106cc1cb4d6749b926fbc761- Author
- Joachim Astel <[email protected]>
- Date
- about 5 years ago
- Selected line
- 385
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/var/lib/mysql/:z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/var/lib/mysql/:z \
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 386
--entrypoint= \
--entrypoint= \
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 387
-u mysql \
-u mysql \
Luca Kröger
over 5 years ago
d3e21aa
added selinux labels to backup_and_restore script (#3874)
- Full commit hash
d3e21aae08f10b84db9dffdf2120b0379b3006ab- Author
- Luca Kröger <[email protected]>
- Date
- over 5 years ago
- Selected line
- 388
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 389
${SQLIMAGE} /bin/sh -c "mysqld --skip-grant-tables & \
${SQLIMAGE} /bin/sh -c "mysqld --skip-grant-tables & \
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 390
until mysqladmin ping; do sleep 3; done && \
until mysqladmin ping; do sleep 3; done && \
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 391
echo Restoring... && \
echo Restoring... && \
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 392
gunzip < backup/backup_mysql.gz | mysql -uroot && \
gunzip < backup/backup_mysql.gz | mysql -uroot && \
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 393
mysql -uroot -e SHUTDOWN;"
mysql -uroot -e SHUTDOWN;"
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 394
else
else
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 395
ARCHIVE_INFO=$(get_archive_info "backup_mariadb" "${RESTORE_LOCATION}")
ARCHIVE_INFO=$(get_archive_info "backup_mariadb" "${RESTORE_LOCATION}")
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 396
if [[ -n "${ARCHIVE_INFO}" ]]; then
if [[ -n "${ARCHIVE_INFO}" ]]; then
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 397
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
ARCHIVE_FILE=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f1)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 398
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
DECOMPRESS_PROG=$(echo "${ARCHIVE_INFO}" | cut -d'|' -f2)
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 399
docker run --name mailcow-backup --rm \
docker run --name mailcow-backup --rm \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 400
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/backup_mariadb/:rw,z \
-v $(docker volume ls -qf name=^${CMPS_PRJ}_mysql-vol-1$):/backup_mariadb/:rw,z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 401
--entrypoint= \
--entrypoint= \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 402
-v ${RESTORE_LOCATION}:/backup:z \
-v ${RESTORE_LOCATION}:/backup:z \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 403
${SQLIMAGE} /bin/bash -c "shopt -s dotglob ; \
${SQLIMAGE} /bin/bash -c "shopt -s dotglob ; \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 404
/bin/rm -rf /backup_mariadb/* ; \
/bin/rm -rf /backup_mariadb/* ; \
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 405
/bin/tar --use-compress-program='${DECOMPRESS_PROG}' -Pxvf /backup/${ARCHIVE_FILE}"
/bin/tar --use-compress-program='${DECOMPRESS_PROG}' -Pxvf /backup/${ARCHIVE_FILE}"
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 406
fi
fi
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 407
fi
fi
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 408
echo "Modifying mailcow.conf..."
echo "Modifying mailcow.conf..."
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 409
source ${RESTORE_LOCATION}/mailcow.conf
source ${RESTORE_LOCATION}/mailcow.conf
Maxim Baz
almost 6 years ago
05a5f9e
Support mailcow.conf being a symlink (#3770)
- Full commit hash
05a5f9e84a4bbc24824d7cf5009307ab71dc9af7- Author
- Maxim Baz <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 410
sed -i --follow-symlinks "/DBNAME/c\DBNAME=${DBNAME}" ${SCRIPT_DIR}/../mailcow.conf
sed -i --follow-symlinks "/DBNAME/c\DBNAME=${DBNAME}" ${SCRIPT_DIR}/../mailcow.conf
same change
05a5f9e
Support mailcow.conf being a symlink (#3770)
- Full commit hash
05a5f9e84a4bbc24824d7cf5009307ab71dc9af7- Author
- Maxim Baz <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 411
sed -i --follow-symlinks "/DBUSER/c\DBUSER=${DBUSER}" ${SCRIPT_DIR}/../mailcow.conf
sed -i --follow-symlinks "/DBUSER/c\DBUSER=${DBUSER}" ${SCRIPT_DIR}/../mailcow.conf
same change
05a5f9e
Support mailcow.conf being a symlink (#3770)
- Full commit hash
05a5f9e84a4bbc24824d7cf5009307ab71dc9af7- Author
- Maxim Baz <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 412
sed -i --follow-symlinks "/DBPASS/c\DBPASS=${DBPASS}" ${SCRIPT_DIR}/../mailcow.conf
sed -i --follow-symlinks "/DBPASS/c\DBPASS=${DBPASS}" ${SCRIPT_DIR}/../mailcow.conf
same change
05a5f9e
Support mailcow.conf being a symlink (#3770)
- Full commit hash
05a5f9e84a4bbc24824d7cf5009307ab71dc9af7- Author
- Maxim Baz <[email protected]>
- Date
- almost 6 years ago
- Selected line
- 413
sed -i --follow-symlinks "/DBROOT/c\DBROOT=${DBROOT}" ${SCRIPT_DIR}/../mailcow.conf
sed -i --follow-symlinks "/DBROOT/c\DBROOT=${DBROOT}" ${SCRIPT_DIR}/../mailcow.conf
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 414
source ${SCRIPT_DIR}/../mailcow.conf
source ${SCRIPT_DIR}/../mailcow.conf
same change
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 415
echo "Starting mailcow..."
echo "Starting mailcow..."
DerLinkman
almost 4 years ago
925b220
Compose Version detection implemented in Backup script
- Full commit hash
925b2209058c29a7c5bc5c86c27296826a3670d8- Author
- DerLinkman <[email protected]>
- Date
- almost 4 years ago
- Selected line
- 416
${COMPOSE_COMMAND} -f ${COMPOSE_FILE} --env-file ${ENV_FILE} up -d
${COMPOSE_COMMAND} -f ${COMPOSE_FILE} --env-file ${ENV_FILE} up -d
andryyy
over 6 years ago
212c18f
[Helper] backup fixes
- Full commit hash
212c18fd088dea805916f6869000f420124987e4- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 417
#docker start $(docker ps -aqf name=mysql-mailcow)
#docker start $(docker ps -aqf name=mysql-mailcow)
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 418
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 419
;;
;;
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 420
esac
esac
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 421
shift
shift
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 422
done
done
andryyy
over 6 years ago
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 423
echo
echo
same change
ba246d3
[Helper] Some minor improvements
- Full commit hash
ba246d34cb3dbb5f6906d59039b0adf2c7d238ec- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 424
echo "Starting watchdog-mailcow..."
echo "Starting watchdog-mailcow..."
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 425
docker start $(docker ps -aqf name=watchdog-mailcow)
docker start $(docker ps -aqf name=watchdog-mailcow)
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 426
}
}
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 427
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 428
if [[ ${1} == "backup" ]]; then
if [[ ${1} == "backup" ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 429
backup ${@,,}
backup ${@,,}
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 430
elif [[ ${1} == "restore" ]]; then
elif [[ ${1} == "restore" ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 431
i=1
i=1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 432
declare -A FOLDER_SELECTION
declare -A FOLDER_SELECTION
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 433
if [[ $(find ${BACKUP_LOCATION}/mailcow-* -maxdepth 1 -type d 2> /dev/null| wc -l) -lt 1 ]]; then
if [[ $(find ${BACKUP_LOCATION}/mailcow-* -maxdepth 1 -type d 2> /dev/null| wc -l) -lt 1 ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 434
echo "Selected backup location has no subfolders"
echo "Selected backup location has no subfolders"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 435
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 436
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 437
for folder in $(ls -d ${BACKUP_LOCATION}/mailcow-*/); do
for folder in $(ls -d ${BACKUP_LOCATION}/mailcow-*/); do
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 438
echo "[ ${i} ] - ${folder}"
echo "[ ${i} ] - ${folder}"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 439
FOLDER_SELECTION[${i}]="${folder}"
FOLDER_SELECTION[${i}]="${folder}"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 440
((i++))
((i++))
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 441
done
done
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 442
echo
echo
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 443
input_sel=0
input_sel=0
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 444
while [[ ${input_sel} -lt 1 || ${input_sel} -gt ${i} ]]; do
while [[ ${input_sel} -lt 1 || ${input_sel} -gt ${i} ]]; do
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 445
read -p "Select a restore point: " input_sel
read -p "Select a restore point: " input_sel
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 446
done
done
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 447
i=1
i=1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 448
echo
echo
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 449
declare -A FILE_SELECTION
declare -A FILE_SELECTION
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 450
RESTORE_POINT="${FOLDER_SELECTION[${input_sel}]}"
RESTORE_POINT="${FOLDER_SELECTION[${input_sel}]}"
Süleyman ŞAHİN
over 6 years ago
ccf65fb
Update backup_and_restore.sh (#3493)
- Full commit hash
ccf65fb50f278ca6fa7dacd2d342ea799f938cc4- Author
- Süleyman ŞAHİN <[email protected]>
- Date
- over 6 years ago
- Selected line
- 451
if [[ -z $(find "${FOLDER_SELECTION[${input_sel}]}" -maxdepth 1 \( -type d -o -type f \) -regex ".*\(redis\|rspamd\|mariadb\|mysql\|crypt\|vmail\|postfix\).*") ]]; then
if [[ -z $(find "${FOLDER_SELECTION[${input_sel}]}" -maxdepth 1 \( -type d -o -type f \) -regex ".*\(redis\|rspamd\|mariadb\|mysql\|crypt\|vmail\|postfix\).*") ]]; then
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 452
echo "No datasets found"
echo "No datasets found"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 453
exit 1
exit 1
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 454
fi
fi
Timo Reymann
almost 7 years ago
752f241
Resolve #2794 Add restore for 'all'
- Full commit hash
752f2417de59f7992dea79ad5769e619358c2bb6- Author
- Timo Reymann <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 455
Timo Reymann
over 6 years ago
3453207
Make restore not only find .tar.gz but also .gz for mysql backup (#3113)
- Full commit hash
34532073010d000d747da457982de0f76eef4a4c- Author
- Timo Reymann <[email protected]>
- Date
- over 6 years ago
- Selected line
- 456
echo "[ 0 ] - all"
echo "[ 0 ] - all"
Claas Flint
8 months ago
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 457
# find all files in folder with *.zst or *.gz extension, print their base names, remove backup_, remove .tar (if present), remove .zst/.gz
# find all files in folder with *.zst or *.gz extension, print their base names, remove backup_, remove .tar (if present), remove .zst/.gz
same change
1b833be
Replace pigz with zstd for backup compression (#6897)
- Full commit hash
1b833be760a5e48b9f4d4eb97495ae9c9a4696c8- Author
- Claas Flint <[email protected]>
- Date
- 8 months ago
- Selected line
- 458
FILE_SELECTION[0]=$(find "${FOLDER_SELECTION[${input_sel}]}" -maxdepth 1 \( -type d -o -type f \) \( -name '*.zst' -o -name '*.gz' -o -name 'mysql' \) -printf '%f\n' | sed 's/backup_*//' | sed 's/\.[^.]*$//' | sed 's/\.[^.]*$//' | sort -u)
FILE_SELECTION[0]=$(find "${FOLDER_SELECTION[${input_sel}]}" -maxdepth 1 \( -type d -o -type f \) \( -name '*.zst' -o -name '*.gz' -o -name 'mysql' \) -printf '%f\n' | sed 's/backup_*//' | sed 's/\.[^.]*$//' | sed 's/\.[^.]*$//' | sort -u)
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 459
for file in $(ls -f "${FOLDER_SELECTION[${input_sel}]}"); do
for file in $(ls -f "${FOLDER_SELECTION[${input_sel}]}"); do
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 460
if [[ ${file} =~ vmail ]]; then
if [[ ${file} =~ vmail ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 461
echo "[ ${i} ] - Mail directory (/var/vmail)"
echo "[ ${i} ] - Mail directory (/var/vmail)"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 462
FILE_SELECTION[${i}]="vmail"
FILE_SELECTION[${i}]="vmail"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 463
((i++))
((i++))
André
almost 8 years ago
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 464
elif [[ ${file} =~ crypt ]]; then
elif [[ ${file} =~ crypt ]]; then
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 465
echo "[ ${i} ] - Crypt data"
echo "[ ${i} ] - Crypt data"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 466
FILE_SELECTION[${i}]="crypt"
FILE_SELECTION[${i}]="crypt"
same change
0fb43f4
[Docker API] Use TLS encryption for communication with "on-the-fly" created key paris (non-exposed)
- Full commit hash
0fb43f49161554dbe0e66cd6170ad00166efc8b3- Author
- André <[email protected]>
- Date
- almost 8 years ago
- Selected line
- 467
((i++))
((i++))
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 468
elif [[ ${file} =~ redis ]]; then
elif [[ ${file} =~ redis ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 469
echo "[ ${i} ] - Redis DB"
echo "[ ${i} ] - Redis DB"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 470
FILE_SELECTION[${i}]="redis"
FILE_SELECTION[${i}]="redis"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 471
((i++))
((i++))
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 472
elif [[ ${file} =~ rspamd ]]; then
elif [[ ${file} =~ rspamd ]]; then
DerLinkman
about 3 years ago
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 473
if [[ $(find "${FOLDER_SELECTION[${input_sel}]}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') == "" ]]; then
if [[ $(find "${FOLDER_SELECTION[${input_sel}]}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') == "" ]]; then
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 474
echo "[ ${i} ] - Rspamd data (unkown Arch detected, restore with caution!)"
echo "[ ${i} ] - Rspamd data (unkown Arch detected, restore with caution!)"
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 475
FILE_SELECTION[${i}]="rspamd"
FILE_SELECTION[${i}]="rspamd"
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 476
((i++))
((i++))
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 477
elif [[ $ARCH != $(find "${FOLDER_SELECTION[${input_sel}]}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') ]]; then
elif [[ $ARCH != $(find "${FOLDER_SELECTION[${input_sel}]}" \( -name '*x86*' -o -name '*aarch*' \) -exec basename {} \; | sed 's/^\.//' | sed 's/^\.//') ]]; then
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 478
echo -e "\e[31m[ NaN ] - Rspamd data (incompatible Arch, cannot restore it)\e[0m"
echo -e "\e[31m[ NaN ] - Rspamd data (incompatible Arch, cannot restore it)\e[0m"
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 479
else
else
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 480
echo "[ ${i} ] - Rspamd data"
echo "[ ${i} ] - Rspamd data"
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 481
FILE_SELECTION[${i}]="rspamd"
FILE_SELECTION[${i}]="rspamd"
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 482
((i++))
((i++))
same change
accedf0
Updated mailcow Components to be ARM64 compatible
- Full commit hash
accedf028003ad6f0511a41a8773562458038bed- Author
- DerLinkman <[email protected]>
- Date
- about 3 years ago
- Selected line
- 483
fi
fi
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 484
elif [[ ${file} =~ postfix ]]; then
elif [[ ${file} =~ postfix ]]; then
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 485
echo "[ ${i} ] - Postfix data"
echo "[ ${i} ] - Postfix data"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 486
FILE_SELECTION[${i}]="postfix"
FILE_SELECTION[${i}]="postfix"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 487
((i++))
((i++))
andryyy
over 6 years ago
07c7da2
[Helper] Create tar archives for SQL backups
- Full commit hash
07c7da2821c1c45ee4219ac6f4d547763e109675- Author
- andryyy <[email protected]>
- Date
- over 6 years ago
- Selected line
- 488
elif [[ ${file} =~ mysql ]] || [[ ${file} =~ mariadb ]]; then
elif [[ ${file} =~ mysql ]] || [[ ${file} =~ mariadb ]]; then
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 489
echo "[ ${i} ] - SQL DB"
echo "[ ${i} ] - SQL DB"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 490
FILE_SELECTION[${i}]="mysql"
FILE_SELECTION[${i}]="mysql"
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 491
((i++))
((i++))
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 492
fi
fi
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 493
done
done
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 494
echo
echo
Timo Reymann
almost 7 years ago
45aa7b4
#2794 Make parts to restore depend on backup folder contents
- Full commit hash
45aa7b45fc72e26ed9fefb2d94a917a6d3740b89- Author
- Timo Reymann <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 495
input_sel=-1
input_sel=-1
Timo Reymann
almost 7 years ago
752f241
Resolve #2794 Add restore for 'all'
- Full commit hash
752f2417de59f7992dea79ad5769e619358c2bb6- Author
- Timo Reymann <[email protected]>
- Date
- almost 7 years ago
- Selected line
- 496
while [[ ${input_sel} -lt 0 || ${input_sel} -gt ${i} ]]; do
while [[ ${input_sel} -lt 0 || ${input_sel} -gt ${i} ]]; do
andre.peters
over 8 years ago
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 497
read -p "Select a dataset to restore: " input_sel
read -p "Select a dataset to restore: " input_sel
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 498
done
done
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 499
echo "Restoring ${FILE_SELECTION[${input_sel}]} from ${RESTORE_POINT}..."
echo "Restoring ${FILE_SELECTION[${input_sel}]} from ${RESTORE_POINT}..."
same change
c07e521
[Web] Fixes number validation in forms, fixes #882
- Full commit hash
c07e521309561ed56166c84e0702e56831293857- Author
- andre.peters <[email protected]>
- Date
- over 8 years ago
- Selected line
- 500
restore "${RESTORE_POINT}" ${FILE_SELECTION[${input_sel}]}
restore "${RESTORE_POINT}" ${FILE_SELECTION[${input_sel}]}
Peter
over 3 years ago
ff71024
[Helper] Backup and restore: Use latest tag for image
- Full commit hash
ff7102468ee0db49d866301aecc03690f69f1191- Author
- Peter <[email protected]>
- Date
- over 3 years ago
- Selected line
- 501
fi
fi