Error: file is encrypted or is not a database

Backup agent for Linux servers and workstations on-premises or in the public cloud

Error: file is encrypted or is not a database

Veeam Logoby delmarthome » Mon 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.
delmarthome
Novice
 
Posts: 7
Liked: 2 times
Joined: Tue Aug 23, 2016 8:40 pm
Full Name: Delmar Jose Thome

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

Veeam Logoby PTide » Tue 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
PTide
Veeam Software
 
Posts: 4027
Liked: 336 times
Joined: Tue May 19, 2015 1:46 pm

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

Veeam Logoby delmarthome » Wed 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: Tue Aug 23, 2016 8:40 pm
Full Name: Delmar Jose Thome

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

Veeam Logoby delmarthome » Mon 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!
delmarthome
Novice
 
Posts: 7
Liked: 2 times
Joined: Tue Aug 23, 2016 8:40 pm
Full Name: Delmar Jose Thome


Return to Veeam Agent for Linux



Who is online

Users browsing this forum: No registered users and 4 guests