Can't Backup

I’ve tried to run a backup this morning via the emonBase Backup Page and it reported the following:

=== Emoncms export start ===
Thu 9 Jul 09:41:35 BST 2020
Backup module version:
“version” : “2.2.3”
EUID: 1000
Reading /opt/emoncms/modules/backup/config.cfg…
Location of databases: /var/opt/emoncms
Location of emonhub.conf: /etc/emonhub
Location of Emoncms: /var/www/emoncms
Backup destination: /var/opt/emoncms/backup
emoncms backup module location /var/www/emoncms/Modules/backup
Image version: emonSD-17Oct19
/opt/emoncms/modules/backup/emoncms-export.sh: line 68: cannot create temp file for here-document: No space left on device
Error: Cannot read MYSQL authentication details from Emoncms settings.php

Have I done something or am I missing something?
I checked the Admin page and theres tons of memory space available.

Many Thanks

Hello @Tri.stand the backup is saved to the SD card, it sounds like the data partition must be full. Can you copy a screenshot of the section on the Admin page that shows the disk space use?

I think you may need to SSH into the emonBase unfortunately to clear the backup if it is full, if you could run this first it will give you a list of files and their sizes, and we can see what’s best to delete:

cd /var/opt/emoncms/backup
ls -lh

@TrystanLea - the tmp location should be on the data partition.

Here is some pics of those screens.

How do I access and delete the contents of the temp folder?

Sorry all very new to me this.

image image

The temp folder is mounted to a filesystem that’s held in RAM.
Translated, that means a reboot, or power cycle will clear the temp directory.

2 Likes

Thank You!

Why didn’t I think to do the old, On Off. Backed up straight away.

1 Like

highfive