https://bugs.koozali.org/show_bug.cgi?id=12256

--- Comment #1 from Jean-Philippe Pialasse <[email protected]> ---
looking at the freepbx db

there is no more backup_server_details backup_details backup tables



now we can see
 kvstore_FreePBX_modules_Backup

the sql approch seems a loss of time

fwconsole bu --backup  `fwconsole backup --list|grep "Default backup"|cut -d'|'
-f4| sed 's/ *//g'`
gives the output we want for calling backup


trying editing the bakup I however got in the GUI
Invalid value found column: 5 value: 7

I needed to select the storage (was lost during migration) and select the day 0 
also needed to select modules.


also trying to run the backup using fwconsole I got

 fwconsole bu --backup 12bc55f1-2463-472c-8598-1771e13e2b1e
Transaction ID is: 75901534-b5a3-4bee-9a17-1488bfdafaf6
rm: impossible de supprimer « /var/lib/php/php56/tmp/backup/* »: Permission non
accordée
Running Backup ID: 12bc55f1-2463-472c-8598-1771e13e2b1e
Transaction: 75901534-b5a3-4bee-9a17-1488bfdafaf6
Starting backup Default_backup
This backup will be stored locally and is subject to maintenance settings
Backup File Name: 20221209-174656-1670608016-15.0.24-1621614292.tar.gz

In Filesystem.php line 104:

  Failed to create
"/var/lib/php/php56/tmp/backup/75901534-b5a3-4bee-9a17-1488bfdafaf6": mkdir():
Permission non accordée.

previously it used asterisk tmp folder /var/spool/asterisk/tmp/   and not php
one, and as fwcosnole runs as  asterisk, it fails entering the php tmp
folder...



php56 -d sys_temp_dir=/var/spool/asterisk/tmp/ /usr/sbin/fwconsole bu --backup
12bc55f1-2463-472c-8598-1771e13e2b1e


works

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to