Standalone backup agents for Linux, Mac, AIX & Solaris workloads 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 »

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
Product Manager
Posts: 6408
Liked: 724 times
Joined: May 19, 2015 1:46 pm
Contact:

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

Post 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
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 »

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 » 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 9 guests