You cant clear up space on the system?
cant.its so small. may be another way how to backup to another location?
So youāre saying that when you pull out the right side menu you donāt see the options for āServersā? Because you need to go into Servers and select the type of server you want to backup to. You can choose FTP, SSH, AWS S3, Email, Localā¦a Local storage is created by default.
You could put the backup on an FTP serverā¦you can put it on AWS S3ā¦
I do this but error the same:
Saving Backup 5...done!
Initializing Backup 5
Backup Lock acquired!
Running pre-backup hooks...
Adding items...
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on "/var/spool/asterisk/tmp/backup-5/var/spool/asterisk/monitor/SIP-6126-0005bf25-2024-01-15-09-29-04.wav": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(301) [receiver=3.0.6]
rsync: connection unexpectedly closed (860332 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
mysqldump: Couldn't execute 'show fields from `cdr`': Incorrect key file for table '/tmp/#sql_6c2_0.MYI'; try to repair it (126)
rsync: writefd_unbuffered failed to write 4 bytes to socket [sender]: Broken pipe (32)
rsync: write failed on "/var/spool/asterisk/tmp/backup-5/var/lib/asterisk/bin/archive_recordings": No space left on device (28)
rsync error: error in file IO (code 11) at receiver.c(301) [receiver=3.0.6]
rsync: connection unexpectedly closed (243 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
Whoops\Exception\ErrorException: mkdir(): No space left on device in file /var/www/html/admin/modules/backup/functions.inc/class.backup.php on line 211
Stack trace:
1. Whoops\Exception\ErrorException->() /var/www/html/admin/modules/backup/functions.inc/class.backup.php:211
2. Whoops\Run->handleError() :0
3. mkdir() /var/www/html/admin/modules/backup/functions.inc/class.backup.php:211
4. FreePBX\modules\Backup\Backup->add_items() /var/www/html/admin/modules/backup/bin/backup.php:54
Have you tried just backing up the basic configs? Dont backup CDRs, voicemail, recordings, etc.
I also bet there are old log files that can be deleted to make space.
That sounds like you have space elsewhere, in which case you can create a directory, elsewhere, move the current contents to that directory, replace /var/spool/asterisk/backup with a symbolic link to the directory, and do your backup.
If you can temporarily attach an additional ādiskā, you can mount it normally, move the contents, then unmount it and remount it over /var/spool/asterisk/backup.
