Backup agent for Linux servers and workstations on-premises or in the public cloud
Post Reply
delmarthome
Novice
Posts: 7
Liked: 2 times
Joined: Aug 23, 2016 8:40 pm
Full Name: Delmar Jose Thome
Contact:

Error: file is encrypted or is not a database

Post by delmarthome » Nov 06, 2017 1:38 pm

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.

PTide
Veeam Software
Posts: 4320
Liked: 356 times
Joined: May 19, 2015 1:46 pm
Contact:

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

Post by PTide » Nov 07, 2017 12:17 pm

Hi,

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

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

Thanks

delmarthome
Novice
Posts: 7
Liked: 2 times
Joined: Aug 23, 2016 8:40 pm
Full Name: Delmar Jose Thome
Contact:

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

Post by delmarthome » Nov 08, 2017 10:45 am

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?

delmarthome
Novice
Posts: 7
Liked: 2 times
Joined: Aug 23, 2016 8:40 pm
Full Name: Delmar Jose Thome
Contact:

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

Post by delmarthome » Dec 11, 2017 11:55 am 1 person likes this post

Hi All,

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

Enjoy!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests