fix: formatting
This commit is contained in:
@@ -92,15 +92,15 @@ jobs:
|
|||||||
# Create manifest
|
# Create manifest
|
||||||
cd "$BACKUP_DIR"
|
cd "$BACKUP_DIR"
|
||||||
cat > manifest.txt << EOF
|
cat > manifest.txt << EOF
|
||||||
Backup created: $(date)
|
Backup created: $(date)
|
||||||
Hostname: $(hostname)
|
Hostname: $(hostname)
|
||||||
|
|
||||||
Files:
|
Files:
|
||||||
$(ls -lh *.tar.gz 2>/dev/null || echo "No backup files created")
|
$(ls -lh *.tar.gz 2>/dev/null || echo "No backup files created")
|
||||||
|
|
||||||
Checksums (SHA256):
|
Checksums (SHA256):
|
||||||
$(sha256sum *.tar.gz 2>/dev/null || echo "No files to checksum")
|
$(sha256sum *.tar.gz 2>/dev/null || echo "No files to checksum")
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
echo "Backup manifest:"
|
echo "Backup manifest:"
|
||||||
cat manifest.txt
|
cat manifest.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user