Archive mailboxes and deleting databases in a DAG

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 !
dema skorlovyExchange AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AmitIT ArchitectCommented:
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.
0
timgreen7077Exchange EngineerCommented:
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.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dema skorlovyExchange AdministratorAuthor 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.
0
Determine the Perfect Price for Your IT Services

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

timgreen7077Exchange EngineerCommented:
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.
0
dema skorlovyExchange AdministratorAuthor 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.^^
0
dema skorlovyExchange AdministratorAuthor 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.
0
dema skorlovyExchange AdministratorAuthor 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.
0
timgreen7077Exchange EngineerCommented:
good
0
AmitIT ArchitectCommented:
Thanks @dema
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.