Archive mailboxes and deleting databases in a DAG

dema skorlovy
dema skorlovy used Ask the Experts™
on
Hello,
I have a DAG Exchange Server 2010 SP3 with databases that housed the local user archives. Today everyone on these servers has been migrated to Office 365. A large number of users have their archive attached to their mailbox in Office 365.
Questions: How to display the archives that still exist and if they are still used?
In case I can delete this database in order not to make any mistakes, what is the steps to follow to properly delete these databases knowing that they are in DAG?
Thanks in advance !
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AmitIT Architect
Distinguished Expert 2017

Commented:
Your question is not very clear, if your end goal is to remove db. Make sure you move all mailboxes to office 365. Then you can remove db replicas and then remove the databases.
Exchange Engineer
Distinguished Expert 2018
Commented:
If you are attempting to list all the mailboxes that have an archive, see the below link and you can also run the below cmdlets in the exchange management shell:

Get-Mailbox | where {$_.ArchiveDatabase -ne $null}

https://practical365.com/exchange-server/find-exchange-server-2010-mailbox-archive-enabled/


If their are not results returned then there are active archives associated with a mailbox.
dema skorlovyExchange Administrator

Author

Commented:
Sorry if I wasn't specific.

yes, the goal is to delete the database. this database contained the users' archives. the users are now all on office 365. the users' archives have been migrated to office 365 as well. The goal is to make sure that there are no forgotten archives that have not been migrated for some users.

Thank you Timgreen7077. I will use your order and come back to you with the results.
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

AmitIT Architect
Distinguished Expert 2017
Commented:
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
I miss stated in my answer, i meant to say if there are NO results returned then there are NO archive mailboxes associated with a user mailbox.
dema skorlovyExchange Administrator

Author

Commented:
fine, Timgreen 7077, I get it.

Thank you Amit, excellent KB. I will follow all this to complete my task.

I'll keep you informed. I'll be back at the office on Thursday.^^
dema skorlovyExchange Administrator

Author

Commented:
Hi Timgreen7077,

I executed the command you gave me and it didn't returned me any results. so it's a good thing that confirms that there are no more mailbox archives attached to users as you told me.
Thank you also for the very interesting link.
dema skorlovyExchange Administrator

Author

Commented:
Hi Amit,
I started to plan a procedure to delete archive databases on Exchange servers based on Amit's superb KB.
Thank you for this very good and well done KB.
timgreen7077Exchange Engineer
Distinguished Expert 2018

Commented:
good
AmitIT Architect
Distinguished Expert 2017

Commented:
Thanks @dema

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial