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/dev_tests/test_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.
test_backup_and_restore.sh
on main
Author
Date
Commit
Line
Code
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
- 1
#!/usr/bin/env bash
#!/usr/bin/env bash
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
- 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
- 3
# Test script for backup_and_restore.sh
# Test script for backup_and_restore.sh
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
- 4
# Tests backward compatibility with .tar.gz and new .tar.zst format
# Tests backward compatibility with .tar.gz and new .tar.zst format
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
- 5
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
- 6
set -e
set -e
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
- 7
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
- 8
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
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
- 9
BACKUP_IMAGE="${BACKUP_IMAGE:-ghcr.io/mailcow/backup:latest}"
BACKUP_IMAGE="${BACKUP_IMAGE:-ghcr.io/mailcow/backup:latest}"
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
- 10
TEST_DIR="/tmp/mailcow_backup_test_$$"
TEST_DIR="/tmp/mailcow_backup_test_$$"
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
- 11
THREADS=2
THREADS=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
- 12
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
- 13
echo "=== Mailcow Backup & Restore Test Suite ==="
echo "=== Mailcow Backup & Restore Test Suite ==="
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
- 14
echo "Test directory: ${TEST_DIR}"
echo "Test directory: ${TEST_DIR}"
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
- 15
echo "Backup image: ${BACKUP_IMAGE}"
echo "Backup image: ${BACKUP_IMAGE}"
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
- 16
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
- 17
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
- 18
# Cleanup function
# Cleanup function
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
- 19
cleanup() {
cleanup() {
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
- 20
echo "Cleaning up test files..."
echo "Cleaning up test files..."
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
- 21
rm -rf "${TEST_DIR}"
rm -rf "${TEST_DIR}"
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
- 22
docker rmi mailcow-backup-test 2>/dev/null || true
docker rmi mailcow-backup-test 2>/dev/null || true
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
- 23
}
}
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
- 24
trap cleanup EXIT
trap cleanup EXIT
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
- 25
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
- 26
# Create test directory structure
# Create test directory structure
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
- 27
mkdir -p "${TEST_DIR}"/{test_data,backup_zst,backup_gz,restore_zst,restore_gz,backup_large_zst,backup_large_gz}
mkdir -p "${TEST_DIR}"/{test_data,backup_zst,backup_gz,restore_zst,restore_gz,backup_large_zst,backup_large_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
- 28
echo "Test data for mailcow backup compatibility test" > "${TEST_DIR}/test_data/test.txt"
echo "Test data for mailcow backup compatibility test" > "${TEST_DIR}/test_data/test.txt"
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
- 29
echo "Additional file to verify complete restore" > "${TEST_DIR}/test_data/test2.txt"
echo "Additional file to verify complete restore" > "${TEST_DIR}/test_data/test2.txt"
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
- 30
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
- 31
# Build test backup image with zstd support
# Build test backup image with zstd support
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
- 32
echo "=== Building backup image with zstd support ==="
echo "=== Building backup image with zstd support ==="
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
- 33
docker build -t mailcow-backup-test "${SCRIPT_DIR}/../data/Dockerfiles/backup/" || {
docker build -t mailcow-backup-test "${SCRIPT_DIR}/../data/Dockerfiles/backup/" || {
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
- 34
echo "ERROR: Failed to build backup image"
echo "ERROR: Failed to build backup image"
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
- 35
exit 1
exit 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
- 36
}
}
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
- 37
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
- 38
# Test 1: Create .tar.zst backup
# Test 1: Create .tar.zst backup
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
- 39
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
- 40
echo "=== Test 1: Creating .tar.zst backup ==="
echo "=== Test 1: Creating .tar.zst backup ==="
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
- 41
docker run --rm \
docker run --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
- 42
-w /data \
-w /data \
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
- 43
-v "${TEST_DIR}/test_data:/data:ro" \
-v "${TEST_DIR}/test_data:/data:ro" \
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
- 44
-v "${TEST_DIR}/backup_zst:/backup" \
-v "${TEST_DIR}/backup_zst:/backup" \
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
- 45
mailcow-backup-test \
mailcow-backup-test \
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
- 46
/bin/tar --use-compress-program="zstd --rsyncable -T${THREADS}" \
/bin/tar --use-compress-program="zstd --rsyncable -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
- 47
-cvpf /backup/backup_test.tar.zst . \
-cvpf /backup/backup_test.tar.zst . \
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
- 48
> /dev/null
> /dev/null
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
- 49
echo "✓ .tar.zst backup created: $(ls -lh ${TEST_DIR}/backup_zst/backup_test.tar.zst | awk '{print $5}')"
echo "✓ .tar.zst backup created: $(ls -lh ${TEST_DIR}/backup_zst/backup_test.tar.zst | awk '{print $5}')"
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
- 50
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
- 51
# Test 2: Create .tar.gz backup
# Test 2: Create .tar.gz backup
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
- 52
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
- 53
echo "=== Test 2: Creating .tar.gz backup (legacy) ==="
echo "=== Test 2: Creating .tar.gz backup (legacy) ==="
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
- 54
docker run --rm \
docker run --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
- 55
-w /data \
-w /data \
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
- 56
-v "${TEST_DIR}/test_data:/data:ro" \
-v "${TEST_DIR}/test_data:/data:ro" \
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
- 57
-v "${TEST_DIR}/backup_gz:/backup" \
-v "${TEST_DIR}/backup_gz:/backup" \
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
- 58
mailcow-backup-test \
mailcow-backup-test \
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
- 59
/bin/tar --use-compress-program="pigz --rsyncable -p ${THREADS}" \
/bin/tar --use-compress-program="pigz --rsyncable -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
- 60
-cvpf /backup/backup_test.tar.gz . \
-cvpf /backup/backup_test.tar.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
- 61
> /dev/null
> /dev/null
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
- 62
echo "✓ .tar.gz backup created: $(ls -lh ${TEST_DIR}/backup_gz/backup_test.tar.gz | awk '{print $5}')"
echo "✓ .tar.gz backup created: $(ls -lh ${TEST_DIR}/backup_gz/backup_test.tar.gz | awk '{print $5}')"
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
- 63
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
- 64
# Test 3: Test get_archive_info function
# Test 3: Test get_archive_info function
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
- 65
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
- 66
echo "=== Test 3: Testing get_archive_info function ==="
echo "=== Test 3: Testing get_archive_info function ==="
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
- 67
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
- 68
# Extract and test the function directly
# Extract and test the function directly
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
- 69
get_archive_info() {
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
- 70
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
- 71
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
- 72
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
- 73
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
- 74
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
- 75
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
- 76
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
- 77
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
- 78
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
- 79
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
- 80
}
}
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
- 81
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
- 82
# Test with .tar.zst
# Test with .tar.zst
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
- 83
result=$(get_archive_info "backup_test" "${TEST_DIR}/backup_zst")
result=$(get_archive_info "backup_test" "${TEST_DIR}/backup_zst")
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
- 84
if [[ "${result}" =~ "zstd" ]]; then
if [[ "${result}" =~ "zstd" ]]; 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
- 85
echo "✓ Correctly detects .tar.zst and returns zstd decompressor"
echo "✓ Correctly detects .tar.zst and returns zstd decompressor"
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
- 86
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
- 87
echo "✗ Failed to detect .tar.zst"
echo "✗ Failed to detect .tar.zst"
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
- 88
exit 1
exit 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
- 89
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
- 90
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
- 91
# Test with .tar.gz
# Test with .tar.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
- 92
result=$(get_archive_info "backup_test" "${TEST_DIR}/backup_gz")
result=$(get_archive_info "backup_test" "${TEST_DIR}/backup_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
- 93
if [[ "${result}" =~ "pigz" ]]; then
if [[ "${result}" =~ "pigz" ]]; 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
- 94
echo "✓ Correctly detects .tar.gz and returns pigz decompressor"
echo "✓ Correctly detects .tar.gz and returns pigz decompressor"
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
- 95
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
- 96
echo "✗ Failed to detect .tar.gz"
echo "✗ Failed to detect .tar.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
- 97
exit 1
exit 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
- 98
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
- 99
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
- 100
# Test with no file
# Test with no 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
- 101
result=$(get_archive_info "backup_test" "${TEST_DIR}")
result=$(get_archive_info "backup_test" "${TEST_DIR}")
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
- 102
if [[ -z "${result}" ]]; then
if [[ -z "${result}" ]]; 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
- 103
echo "✓ Correctly returns empty when no backup file found"
echo "✓ Correctly returns empty when no backup file found"
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
- 104
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
- 105
echo "✗ Should return empty but got: ${result}"
echo "✗ Should return empty but got: ${result}"
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
- 106
exit 1
exit 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
- 107
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
- 108
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
- 109
# Test 4: Restore from .tar.zst
# Test 4: Restore from .tar.zst
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
- 110
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
- 111
echo "=== Test 4: Restoring from .tar.zst ==="
echo "=== Test 4: Restoring from .tar.zst ==="
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
- 112
docker run --rm \
docker run --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
- 113
-w /restore \
-w /restore \
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
- 114
-v "${TEST_DIR}/backup_zst:/backup:ro" \
-v "${TEST_DIR}/backup_zst:/backup:ro" \
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
- 115
-v "${TEST_DIR}/restore_zst:/restore" \
-v "${TEST_DIR}/restore_zst:/restore" \
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
- 116
mailcow-backup-test \
mailcow-backup-test \
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
- 117
/bin/tar --use-compress-program="zstd -d -T${THREADS}" -xvpf /backup/backup_test.tar.zst \
/bin/tar --use-compress-program="zstd -d -T${THREADS}" -xvpf /backup/backup_test.tar.zst \
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
- 118
> /dev/null 2>&1
> /dev/null 2>&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
- 119
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
- 120
if [[ -f "${TEST_DIR}/restore_zst/test.txt" ]] && \
if [[ -f "${TEST_DIR}/restore_zst/test.txt" ]] && \
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
- 121
[[ -f "${TEST_DIR}/restore_zst/test2.txt" ]]; then
[[ -f "${TEST_DIR}/restore_zst/test2.txt" ]]; 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
- 122
echo "✓ Successfully restored from .tar.zst"
echo "✓ Successfully restored from .tar.zst"
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
- 123
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
- 124
echo "✗ Failed to restore from .tar.zst"
echo "✗ Failed to restore from .tar.zst"
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
- 125
ls -la "${TEST_DIR}/restore_zst/" || true
ls -la "${TEST_DIR}/restore_zst/" || true
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
- 126
exit 1
exit 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
- 127
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
- 128
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
- 129
# Test 5: Restore from .tar.gz
# Test 5: Restore from .tar.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
- 130
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
- 131
echo "=== Test 5: Restoring from .tar.gz (backward compatibility) ==="
echo "=== Test 5: Restoring from .tar.gz (backward compatibility) ==="
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
- 132
docker run --rm \
docker run --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
- 133
-w /restore \
-w /restore \
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
- 134
-v "${TEST_DIR}/backup_gz:/backup:ro" \
-v "${TEST_DIR}/backup_gz:/backup:ro" \
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
- 135
-v "${TEST_DIR}/restore_gz:/restore" \
-v "${TEST_DIR}/restore_gz:/restore" \
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
- 136
mailcow-backup-test \
mailcow-backup-test \
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
- 137
/bin/tar --use-compress-program="pigz -d -p ${THREADS}" -xvpf /backup/backup_test.tar.gz \
/bin/tar --use-compress-program="pigz -d -p ${THREADS}" -xvpf /backup/backup_test.tar.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
- 138
> /dev/null 2>&1
> /dev/null 2>&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
- 139
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
- 140
if [[ -f "${TEST_DIR}/restore_gz/test.txt" ]] && \
if [[ -f "${TEST_DIR}/restore_gz/test.txt" ]] && \
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
- 141
[[ -f "${TEST_DIR}/restore_gz/test2.txt" ]]; then
[[ -f "${TEST_DIR}/restore_gz/test2.txt" ]]; 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
- 142
echo "✓ Successfully restored from .tar.gz (backward compatible)"
echo "✓ Successfully restored from .tar.gz (backward compatible)"
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
- 143
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
- 144
echo "✗ Failed to restore from .tar.gz"
echo "✗ Failed to restore from .tar.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
- 145
ls -la "${TEST_DIR}/restore_gz/" || true
ls -la "${TEST_DIR}/restore_gz/" || true
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
- 146
exit 1
exit 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
- 147
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
- 148
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
- 149
# Test 6: Verify content integrity
# Test 6: Verify content integrity
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
- 150
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
- 151
echo "=== Test 6: Verifying content integrity ==="
echo "=== Test 6: Verifying content integrity ==="
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
- 152
original_content=$(cat "${TEST_DIR}/test_data/test.txt")
original_content=$(cat "${TEST_DIR}/test_data/test.txt")
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
- 153
zst_content=$(cat "${TEST_DIR}/restore_zst/test.txt")
zst_content=$(cat "${TEST_DIR}/restore_zst/test.txt")
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
- 154
gz_content=$(cat "${TEST_DIR}/restore_gz/test.txt")
gz_content=$(cat "${TEST_DIR}/restore_gz/test.txt")
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
- 155
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
- 156
if [[ "${original_content}" == "${zst_content}" ]] && \
if [[ "${original_content}" == "${zst_content}" ]] && \
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
- 157
[[ "${original_content}" == "${gz_content}" ]]; then
[[ "${original_content}" == "${gz_content}" ]]; 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
- 158
echo "✓ Content integrity verified for both formats"
echo "✓ Content integrity verified for both formats"
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
- 159
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
- 160
echo "✗ Content mismatch detected"
echo "✗ Content mismatch detected"
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
- 161
exit 1
exit 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
- 162
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
- 163
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
- 164
# Test 7: Compare compression ratios
# Test 7: Compare compression ratios
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
- 165
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
- 166
echo "=== Test 7: Compression comparison ==="
echo "=== Test 7: Compression comparison ==="
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
- 167
zst_size=$(stat -f%z "${TEST_DIR}/backup_zst/backup_test.tar.zst" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_zst/backup_test.tar.zst")
zst_size=$(stat -f%z "${TEST_DIR}/backup_zst/backup_test.tar.zst" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_zst/backup_test.tar.zst")
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
- 168
gz_size=$(stat -f%z "${TEST_DIR}/backup_gz/backup_test.tar.gz" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_gz/backup_test.tar.gz")
gz_size=$(stat -f%z "${TEST_DIR}/backup_gz/backup_test.tar.gz" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_gz/backup_test.tar.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
- 169
improvement=$(echo "scale=2; (${gz_size} - ${zst_size}) * 100 / ${gz_size}" | bc)
improvement=$(echo "scale=2; (${gz_size} - ${zst_size}) * 100 / ${gz_size}" | bc)
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
- 170
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
- 171
echo " Small files - .tar.gz size: ${gz_size} bytes"
echo " Small files - .tar.gz size: ${gz_size} bytes"
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
- 172
echo " Small files - .tar.zst size: ${zst_size} bytes"
echo " Small files - .tar.zst size: ${zst_size} bytes"
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
- 173
echo " Small files - Improvement: ${improvement}% smaller with zstd"
echo " Small files - Improvement: ${improvement}% smaller with zstd"
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
- 174
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
- 175
# Test 8: Error handling - missing backup file
# Test 8: Error handling - missing backup 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
- 176
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
- 177
echo "=== Test 8: Error handling - Missing backup file ==="
echo "=== Test 8: Error handling - Missing backup 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
- 178
result=$(get_archive_info "nonexistent_backup" "${TEST_DIR}/backup_zst")
result=$(get_archive_info "nonexistent_backup" "${TEST_DIR}/backup_zst")
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
- 179
if [[ -z "${result}" ]]; then
if [[ -z "${result}" ]]; 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
- 180
echo "✓ Correctly handles missing backup files"
echo "✓ Correctly handles missing backup files"
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
- 181
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
- 182
echo "✗ Should return empty for missing files"
echo "✗ Should return empty for missing files"
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
- 183
exit 1
exit 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
- 184
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
- 185
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
- 186
# Test 9: Error handling - Empty directory
# Test 9: Error handling - Empty directory
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
- 187
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
- 188
echo "=== Test 9: Error handling - Empty directory ==="
echo "=== Test 9: Error handling - Empty directory ==="
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
- 189
mkdir -p "${TEST_DIR}/empty_dir"
mkdir -p "${TEST_DIR}/empty_dir"
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
- 190
result=$(get_archive_info "backup_test" "${TEST_DIR}/empty_dir")
result=$(get_archive_info "backup_test" "${TEST_DIR}/empty_dir")
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
- 191
if [[ -z "${result}" ]]; then
if [[ -z "${result}" ]]; 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
- 192
echo "✓ Correctly handles empty directories"
echo "✓ Correctly handles empty directories"
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
- 193
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
- 194
echo "✗ Should return empty for empty directories"
echo "✗ Should return empty for empty directories"
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
- 195
exit 1
exit 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
- 196
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
- 197
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
- 198
# Test 10: Priority test - .tar.zst preferred over .tar.gz
# Test 10: Priority test - .tar.zst preferred over .tar.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
- 199
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
- 200
echo "=== Test 10: Format priority - .tar.zst preferred ==="
echo "=== Test 10: Format priority - .tar.zst preferred ==="
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
- 201
mkdir -p "${TEST_DIR}/both_formats"
mkdir -p "${TEST_DIR}/both_formats"
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
- 202
touch "${TEST_DIR}/both_formats/backup_test.tar.gz"
touch "${TEST_DIR}/both_formats/backup_test.tar.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
- 203
touch "${TEST_DIR}/both_formats/backup_test.tar.zst"
touch "${TEST_DIR}/both_formats/backup_test.tar.zst"
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
- 204
result=$(get_archive_info "backup_test" "${TEST_DIR}/both_formats")
result=$(get_archive_info "backup_test" "${TEST_DIR}/both_formats")
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
- 205
if [[ "${result}" =~ "zstd" ]]; then
if [[ "${result}" =~ "zstd" ]]; 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
- 206
echo "✓ Correctly prefers .tar.zst when both formats exist"
echo "✓ Correctly prefers .tar.zst when both formats exist"
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
- 207
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
- 208
echo "✗ Should prefer .tar.zst over .tar.gz"
echo "✗ Should prefer .tar.zst over .tar.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
- 209
exit 1
exit 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
- 210
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
- 211
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
# Test 11: Large file compression test
# Test 11: Large file compression test
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
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
- 214
echo "=== Test 11: Large file compression test ==="
echo "=== Test 11: Large file compression test ==="
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
mkdir -p "${TEST_DIR}/large_data"
mkdir -p "${TEST_DIR}/large_data"
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
# Create ~10MB of compressible data (log-like content)
# Create ~10MB of compressible data (log-like content)
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
for i in {1..50000}; do
for i in {1..50000}; do
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 "[$(date '+%Y-%m-%d %H:%M:%S')] INFO: Processing email message $i from [email protected] to [email protected]" >> "${TEST_DIR}/large_data/maillog.txt"
echo "[$(date '+%Y-%m-%d %H:%M:%S')] INFO: Processing email message $i from [email protected] to [email protected]" >> "${TEST_DIR}/large_data/maillog.txt"
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
echo "[$(date '+%Y-%m-%d %H:%M:%S')] DEBUG: SMTP connection established from 192.168.1.$((i % 255))" >> "${TEST_DIR}/large_data/maillog.txt"
echo "[$(date '+%Y-%m-%d %H:%M:%S')] DEBUG: SMTP connection established from 192.168.1.$((i % 255))" >> "${TEST_DIR}/large_data/maillog.txt"
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
done 2>/dev/null
done 2>/dev/null
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
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
# Get size (portable: works on Linux and macOS)
# Get size (portable: works on Linux and macOS)
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
if du --version 2>/dev/null | grep -q GNU; then
if du --version 2>/dev/null | grep -q GNU; 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
- 224
original_size=$(du -sb "${TEST_DIR}/large_data" | cut -f1)
original_size=$(du -sb "${TEST_DIR}/large_data" | cut -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
- 225
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
- 226
# macOS
# macOS
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
- 227
original_size=$(find "${TEST_DIR}/large_data" -type f -exec stat -f%z {} \; | awk '{sum+=$1} END {print sum}')
original_size=$(find "${TEST_DIR}/large_data" -type f -exec stat -f%z {} \; | awk '{sum+=$1} END {print sum}')
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
- 228
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
- 229
echo " Original data size: $(echo "scale=2; ${original_size} / 1024 / 1024" | bc) MB"
echo " Original data size: $(echo "scale=2; ${original_size} / 1024 / 1024" | bc) MB"
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
- 230
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
- 231
# Backup with zstd
# Backup with zstd
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
- 232
docker run --rm \
docker run --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
- 233
-w /data \
-w /data \
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
- 234
-v "${TEST_DIR}/large_data:/data:ro" \
-v "${TEST_DIR}/large_data:/data:ro" \
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
- 235
-v "${TEST_DIR}/backup_large_zst:/backup" \
-v "${TEST_DIR}/backup_large_zst:/backup" \
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
- 236
mailcow-backup-test \
mailcow-backup-test \
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
- 237
/bin/tar --use-compress-program="zstd --rsyncable -T${THREADS}" \
/bin/tar --use-compress-program="zstd --rsyncable -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
- 238
-cvpf /backup/backup_large.tar.zst . \
-cvpf /backup/backup_large.tar.zst . \
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
- 239
> /dev/null 2>&1
> /dev/null 2>&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
- 240
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
- 241
# Backup with pigz
# Backup with pigz
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
- 242
docker run --rm \
docker run --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
- 243
-w /data \
-w /data \
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
- 244
-v "${TEST_DIR}/large_data:/data:ro" \
-v "${TEST_DIR}/large_data:/data:ro" \
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
- 245
-v "${TEST_DIR}/backup_large_gz:/backup" \
-v "${TEST_DIR}/backup_large_gz:/backup" \
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
- 246
mailcow-backup-test \
mailcow-backup-test \
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
- 247
/bin/tar --use-compress-program="pigz --rsyncable -p ${THREADS}" \
/bin/tar --use-compress-program="pigz --rsyncable -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
- 248
-cvpf /backup/backup_large.tar.gz . \
-cvpf /backup/backup_large.tar.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
- 249
> /dev/null 2>&1
> /dev/null 2>&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
- 250
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
- 251
zst_large_size=$(stat -f%z "${TEST_DIR}/backup_large_zst/backup_large.tar.zst" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_large_zst/backup_large.tar.zst" 2>/dev/null || echo "0")
zst_large_size=$(stat -f%z "${TEST_DIR}/backup_large_zst/backup_large.tar.zst" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_large_zst/backup_large.tar.zst" 2>/dev/null || echo "0")
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
- 252
gz_large_size=$(stat -f%z "${TEST_DIR}/backup_large_gz/backup_large.tar.gz" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_large_gz/backup_large.tar.gz" 2>/dev/null || echo "0")
gz_large_size=$(stat -f%z "${TEST_DIR}/backup_large_gz/backup_large.tar.gz" 2>/dev/null || stat -c%s "${TEST_DIR}/backup_large_gz/backup_large.tar.gz" 2>/dev/null || echo "0")
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
- 253
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 [[ ${zst_large_size} -gt 0 ]] && [[ ${gz_large_size} -gt 0 ]]; then
if [[ ${zst_large_size} -gt 0 ]] && [[ ${gz_large_size} -gt 0 ]]; 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
large_improvement=$(echo "scale=2; (${gz_large_size} - ${zst_large_size}) * 100 / ${gz_large_size}" | bc)
large_improvement=$(echo "scale=2; (${gz_large_size} - ${zst_large_size}) * 100 / ${gz_large_size}" | bc)
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
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
echo " .tar.gz compressed: $(echo "scale=2; ${gz_large_size} / 1024 / 1024" | bc) MB"
echo " .tar.gz compressed: $(echo "scale=2; ${gz_large_size} / 1024 / 1024" | bc) MB"
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
echo " .tar.zst compressed: $(echo "scale=2; ${zst_large_size} / 1024 / 1024" | bc) MB"
echo " .tar.zst compressed: $(echo "scale=2; ${zst_large_size} / 1024 / 1024" | bc) MB"
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
echo " Improvement: ${large_improvement}% smaller with zstd"
echo " Improvement: ${large_improvement}% smaller with zstd"
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
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
- 261
echo " ✗ Failed to get file sizes"
echo " ✗ Failed to get file sizes"
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
exit 1
exit 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
- 263
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
- 264
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
- 265
if [[ $(echo "${large_improvement} > 0" | bc) -eq 1 ]]; then
if [[ $(echo "${large_improvement} > 0" | bc) -eq 1 ]]; 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
- 266
echo "✓ zstd provides better compression on realistic data"
echo "✓ zstd provides better compression on realistic data"
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
- 267
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
- 268
echo "⚠ zstd compression similar or worse than gzip (unusual but not critical)"
echo "⚠ zstd compression similar or worse than gzip (unusual but not critical)"
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
- 269
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
- 270
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
- 271
# Test 12: Thread scaling test
# Test 12: Thread scaling test
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
- 272
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
- 273
echo "=== Test 12: Multi-threading verification ==="
echo "=== Test 12: Multi-threading verification ==="
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
- 274
# This test verifies that different thread counts work (not measuring speed difference)
# This test verifies that different thread counts work (not measuring speed difference)
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
- 275
for thread_count in 1 4; do
for thread_count in 1 4; do
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
- 276
THREADS=${thread_count}
THREADS=${thread_count}
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
- 277
result=$(get_archive_info "backup_test" "${TEST_DIR}/backup_zst")
result=$(get_archive_info "backup_test" "${TEST_DIR}/backup_zst")
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
- 278
if [[ "${result}" =~ "-T${thread_count}" ]]; then
if [[ "${result}" =~ "-T${thread_count}" ]]; 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
- 279
echo "✓ Thread count ${thread_count} correctly configured"
echo "✓ Thread count ${thread_count} correctly configured"
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
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
- 281
echo "✗ Thread count not properly applied"
echo "✗ Thread count not properly applied"
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
exit 1
exit 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
- 283
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
- 284
done
done
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
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
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
- 287
echo "=== All tests passed! ==="
echo "=== All tests passed! ==="
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
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
- 289
echo "Summary:"
echo "Summary:"
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
- 290
echo " ✓ zstd compression working"
echo " ✓ zstd compression working"
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
- 291
echo " ✓ pigz compression working (legacy)"
echo " ✓ pigz compression working (legacy)"
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
- 292
echo " ✓ zstd decompression working"
echo " ✓ zstd decompression working"
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
- 293
echo " ✓ pigz decompression working (backward compatible)"
echo " ✓ pigz decompression working (backward compatible)"
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
- 294
echo " ✓ Archive detection working"
echo " ✓ Archive detection working"
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
echo " ✓ Content integrity verified"
echo " ✓ Content integrity verified"
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 " ✓ Format priority correct (.tar.zst preferred)"
echo " ✓ Format priority correct (.tar.zst preferred)"
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
echo " ✓ Error handling for missing files"
echo " ✓ Error handling for missing files"
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
echo " ✓ Error handling for empty directories"
echo " ✓ Error handling for empty directories"
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
echo " ✓ Multi-threading configuration verified"
echo " ✓ Multi-threading configuration verified"
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
echo " ✓ Large file compression: ${large_improvement}% improvement"
echo " ✓ Large file compression: ${large_improvement}% improvement"
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
echo " ✓ Small file compression: ${improvement}% improvement"
echo " ✓ Small file compression: ${improvement}% improvement"