Closed delipastrami closed 1 year ago
Apologies, I thought there was some kind of error. Additionally, I was looking in completely the wrong location for the backup files:
root@ragnarok:/volume2/docker# ls -l pialert/db/
total 4612
-rwxrwxrwx 1 33 33 479232 Mar 14 02:35 pialert.db
-rwxrwxrwx 1 33 33 32768 Mar 14 02:57 pialert.db-shm
-rwxrwxrwx 1 33 33 4210672 Mar 14 02:57 pialert.db-wal
root@ragnarok:/volume2/docker#
root@ragnarok:/volume2/docker#
versus
root@ragnarok:/volume2/docker# ls -l pialert/config/
total 36
-rwxrwxrwx 1 estevan users 4420 Mar 14 01:19 pialert.conf
-rw-rw-rw- 1 estevan users 3445 Mar 12 23:51 pialert.conf_2023-03-12_23-51-29.backup
-rw-rw-rw- 1 estevan users 4372 Mar 13 00:07 pialert.conf_2023-03-13_00-07-58.backup
-rw-rw-rw- 1 estevan users 4372 Mar 14 00:52 pialert.conf_2023-03-14_00-52-47.backup
-rwxrwxrwx 1 estevan users 4420 Mar 14 00:52 pialert.confe
Hi guys,
I have the exact same behaviour as described by @delipastrami above. And I confirm that my local/path/pialert/db folder doesn't contain any backup generated ("The database backups are located in the database directory as a zip-archive, named with the creation date. There is no maximum number of backups."), and that the UI shows 0 backup ("0 backups were found / total disk usage: 0,00 MB").
My log is empty of any error (same as what @delipastrami posted above).
Not sure what I'm doing wrong if anything please ?
Thanks in advance for the help.
Hi,
Backups are not created automatically. You have to manually click the DB backup
button:
I recommend the CSV Export function for backup purposes.
j
Hello,
Thank you very much for taking the time to answer. Sorry if I wasn't clear enough, I did mean that this happens after I click on the "DB Backup" button.
Meaning I click, then I get the message "The original database could not be saved" (same as in the screenshot from OP), and no backup gets generated in the /db folder.
Thanks vm in advance for the help if you hav any idea what else I could check (nothing appears in the logs)
For what it’s worth, I could never figure out how to get that db backup button to work. Only the csv export.
In most cases, this error is a permission problem. However, since integrity problems (in the backup itself) could also occur in this context, this function has been changed. However, even with the changed version, the correct permission in DB folder is important.
Describe the issue Hello, whenever I navigate to Maintenance > Backup / Restore > DB Backup, it does not complete successfully. Export from CSV works alright. Might there be something I am doing incorrectly?
Paste last few lines from
pialert.log
Paste your
pialert.conf
(remove personal info)Paste your
docker-compose.yml
and.env
(remove personal info)docker-compose.yml
.env
Screenshots https://i.imgur.com/ON8OmoT.png