Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Tomas_Hamrle
Contributor
Contributor
Jump to solution

SmartEvent - deleting of archived pdf reports

Hello,

Customer has R80.30 management server (JHA Take 111) and there are about ten pdf SmartEvent reports scheduled and sent via email everyday. Right now, there are more than 2000 pdf reports stored on management server. I want to delete the old reports, but I'm able to delete only one by one in SmartConsole, so to delete all reports it would take a lot of time. Is is possible to delete multiple stored pdf SmartEvent reports?

Thank you

1 Solution

Accepted Solutions
nadavb
Employee Alumnus
Employee Alumnus

Hi Tomas,

 

Currently we do not have this capability in the UI.

We will certainly add it to our backlog.

 

I can offer you a workaround in case the customer is interested in deleting all the archive entries.

  • Backup the following folders
    • $RTDIR/smartview/exported_files
      This folder contains all the exported documents
    • $RTDIR/smartview/db
      This folder contains the archive history for each user
  • $RTDIR/scripts/stopSmartView
  • rm -r $RTDIR/smartview/exported_files
  • find $RTDIR/smartview/db -name archive.xml | xargs rm
  • $RTDIR/scripts/startSmartView

 

Let me know if this workaround is acceptable and if it works as expected.

 

Thanks,

Nadav Bueno

View solution in original post

4 Replies
nadavb
Employee Alumnus
Employee Alumnus

Hi Tomas,

 

Currently we do not have this capability in the UI.

We will certainly add it to our backlog.

 

I can offer you a workaround in case the customer is interested in deleting all the archive entries.

  • Backup the following folders
    • $RTDIR/smartview/exported_files
      This folder contains all the exported documents
    • $RTDIR/smartview/db
      This folder contains the archive history for each user
  • $RTDIR/scripts/stopSmartView
  • rm -r $RTDIR/smartview/exported_files
  • find $RTDIR/smartview/db -name archive.xml | xargs rm
  • $RTDIR/scripts/startSmartView

 

Let me know if this workaround is acceptable and if it works as expected.

 

Thanks,

Nadav Bueno

Tomas_Hamrle
Contributor
Contributor

Hello Nadav,

as I understand it correctly, your steps should be used for deleting all pdf reports, right? But I don't want to delete everything, I'd like to delete just some pfd repots, which are older than three months for example.

0 Kudos
nadavb
Employee Alumnus
Employee Alumnus

Hi Tomas,

 

The procedure will delete the entire archive DB as you understood.

Currently we do not have the capability you require.

We will include it in a future version but I do not have an ETA yet.

You can open an RFE.

 

Thanks,

Nadav

 

0 Kudos
Miri_Ofir
Employee
Employee

The capability of multi-selection was added in R81 version, I recommend to upgrade and enjoy it.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events