Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,144
Community Members
 
Community Events
176
Community Groups

How to know the page deleted by whom

Hi there,

 

We met a problem which like below:

1. A kind of root page who has a lot of sub-pages was deleted, and its sub-pages are all gone. We tried to find who deleted them but failed, both on the portal of confluence and with the command line on server.

2. We can find all of the deleted pages in trash, but only can restore them one by one, and without the previous tree org. It's really a hard work.

 

I need your help for above things:

1. How can I find out who deleted the pages? Is there a entrance on the confluence portal?

2. On the server, our developer used command line to find who deleted the pages but failed, it is a strange thing that when I deleted another page, he could find it with command line, it sees only that pages' information are missed

3. Is there a way to batch restore the pages? If restore to the previous tree org will be the best.

 

Thanks a lot!

Lambo

1 answer

0 votes

Hello @Lambo_Xing ,

1) The deletion of a page is an Event, so it is tracked in EVent listeners and should be in:

  • Logs files ({HOME/data/logs/...})
  • Events DB tables

 

2) You can use above-specified entries

3) You can use Java API (https://docs.atlassian.com/ConfluenceServer/javadoc/8.0.2/) to track or retrieve deleted data using PageManager, UserManager, EventsListener, EventPublisher etc.

To restore pages, you can use:

 

def IDS = [111,222,333]
IDS.each {id -> {
pageManager.restorePage(pageManager.getPage(id));
}}

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events