Back-up failed... Why?

Hi all...

My back-ups are failed with sysupgrade - b command...

I have the command in my cron:

sysupgrade -b /mnt/sdb1/horus/bkps/backup-${HOSTNAME}-$(date +%F).tar.gz

but nothing is write in destinantion directory, why, maybe permisson?

testing, I have:

root@horus://# sysupgrade -b /mnt/sdb1/horus/bkps/backup-${HOSTNAME}-$(date +%F).tar.gz
Sun Dec 29 12:18:36 -03 2024 upgrade: Saving config files...
Failed to create the configuration backup.
rm: can't stat '/mnt/sdb1/horus/bkps/backup-horus-2024-12-29.tar.gz': Bad message
root@horus://#

and...

root@horus://# mkdir  /mnt/sdb1/horus/bkps/test_openwrt
mkdir: can't create directory '/mnt/sdb1/horus/bkps/test_openwrt': Bad message
root@horus://#

and

root@horus:/mnt/sdb1/horus/bkps# ls -ld
drwxr-xr-x    3 root     root         12288 Dec 20 00:00 .

Any help is very appreciate.

Thanks and I wihh a Happy New Year for all !!

Did your backups ever work? What changed since?

1 Like

Does it backup successfully to /tmp ?

2 Likes

Perhaps the device is damaged.

I'm a little skeptical on this one.

"Bad message" ? Really ? Pass.

Yes! It works well!

Strange Edu, because I have 2 folders in this device and 1 folder works well, but in other, I have the "bad message" message...

I wonder which filesystem driver generates errno 74.
fsck (nstall respective fsck tools) to check the filesystem.

2 Likes

I would unmount the drive, then do a complete fsck on it.

2 Likes

Hello everybody...

Today I had time to test my USB Sstick and...
bad warning: it turned into rubbish after a few years of good work done :confounded:

See:
2024-12-30_22h36_06

Changed by a new USB stick, reconfigured all and done!
After all, testing the new USB Stick...
2024-12-30_22h41_49

Thanks all again! Happy New Year!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.