Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Advanced users • Re: Image File Utilities

$
0
0
I just noticed that my monthly backup did not run. When I investigated and tried to run the command by hand. I get the following error. Does anyone have any ideas what might be causing this?

It appears that image-backup ran to successful completion and the image file is likely intact (image-check and image-compare will probably confirm this).

I've never seen syslogd messages issued after image-backup completes and have no idea what their origin or cause is. These messages are not from image-backup.
I am 100% confident that the syslog messages are kernel alerts of some kind caused by image-backup. It is repeatable everytime I run the backup.

image-backup is not completing succesfully. Here is the script that is being used to run it and as you can see form the original post the Echo statement indicating completion of the backup is not executed.

---
#/bin/bash

## Reloading Fstab
sudo systemctl daemon-reload

## Get Current Date
now=$(date +"%Y-%m%d")

## Appending current date to a filename
file="/mnt/Archives/Backups/PiHole/RaspPi02.backup.$now.img"

## Show File Name
## echo "$file"

## Perform System Backup
# sudo image-backup -i $file,8096
sudo image-backup -i $file

## Compress Backup
echo Backup Completed
echo Starting Backup Compression
sudo gzip $file

Statistics: Posted by Highlander_BDJ — Thu May 15, 2025 8:29 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles