rsync-time-backup icon indicating copy to clipboard operation
rsync-time-backup copied to clipboard

Out of space issue

Open leonard-limon opened this issue 3 years ago • 2 comments

Hi, I have a problem with the script : I do backups from Mac OS X 10.13.6 to a Raspberry Pi server running Raspbian 10. The destination is an ext4 disk image. Whenever the disk image gets full, the script gets stuck and does not tell me anything or delete the oldest backup. I do not have the --no-auto-expire on. Any idea why the script does not automatically delete the oldest backup to make room for the new one? Regards.

leonard-limon avatar Jul 28 '20 07:07 leonard-limon

I've had this sort of issue on Synology NAS drives. I believe the issue may be with line 81 of the script; find "$DEST_FOLDER/" -maxdepth 1 -type d -name "????-??-??-??????" -prune | sort -r

Essentially you need to remove the \ before the quote in the command it's executing; find "$DEST_FOLDER/" -maxdepth 1 -type d -name "????-??-??-??????" -prune | sort -r

If you ran the above command, and changed your destination folder obviously and it doesn't return anything with what's in the script, but it does when you remove the \ you may have your answer.

beeconnected-au avatar Feb 12 '24 03:02 beeconnected-au

Hello, thank you for your reply. I will try that workaround when I will be using the script again. Regards.

leonard-limon avatar Mar 03 '24 21:03 leonard-limon