Page 1 of 1

Error: file is encrypted or is not a database

Posted: Nov 06, 2017 1:38 pm
by delmarthome
I installed Veeam Agent for Linux version v1.0.1.364.
Everything is working but i tried the command:

Code: Select all

sqlite3 /var/lib/veeam/veeam_db.sqlite  "select start_time, end_time, state, progress_details from JobSessions order by start_time DESC limit 1;"
It´s return: Error: file is encrypted or is not a database.
Is there a user and password to access this database?
I want to mail the status of last backup session.

Re: Error: file is encrypted or is not a database

Posted: Nov 07, 2017 12:17 pm
by PTide
Hi,

What's is the user that you're running the command from?

P.S. You can also use veeamconfig session list instead

Thanks

Re: Error: file is encrypted or is not a database

Posted: Nov 08, 2017 10:45 am
by delmarthome
Hi PTide,

I'm running the command as root.
I would like to send an email with details like on Windows version, so I need to get details from database.
Any idea?

Re: Error: file is encrypted or is not a database

Posted: Dec 11, 2017 11:55 am
by delmarthome
Hi All,

Finally it´s working.
I installed sqlite3 version 3.7.17 and now it could read database.

Enjoy!