Microsoft Exchange
Listing Exchange storage groups and databases
-
Listing Exchange storage groups and databases on the local Exchange server.
acrocmd list exchange_databases --exchange_credentials=domain1\exch_user1,12345
-
Listing Exchange storage groups and databases on an Exchange server. The Exchange server is accessed via the management server.
acrocmd list exchange_databases --host=srv1 --credentials=user,pass1 --service=ams --address=exch_srv --exchange_credentials=domain1\exch_user1,12345
Backing up Exchange storage groups and databases
-
Backing up three databases on a remote Exchange server. The backup will be saved to a network folder.
acrocmd backup exchange_database --host=exch_srv --credentials=user,pass1 --exchange_credentials=domain1\exch_user1,12345 --items=db1,db2,db5 --loc=\\bkpsrv\exchg_backups --credentials=bkpuser,pass --arc=exchg_db_arc(1)
-
Backing up two storage groups (Exchange 2007) on the local Exchange server. The backup will be saved to a network folder.
acrocmd backup exchange_database --exchange_credentials=domain1\exch_user1,12345 --items=storage_group_1,storage_group_2 --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=exchg_db_arc(2)
Recovering Exchange storage groups and databases
-
Recovering a database from the specified backup. The database will be recovered to its original location on the server.
acrocmd recover exchange_database --host=exchange_srv --credentials=user123,pass123 --exchange_credentials=domain1\exch_user1,12345 --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=exchg_db_arc(2) --backup=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX --items=db1 --target=original
-
Recovering two databases from the latest backup of an archive. The databases and transaction log files will be saved to a network folder.
acrocmd recover exchange_database --host=exchange_srv --credentials=user123,pass123 --exchange_credentials=domain1\exch_user1,12345 --loc=\\bkpsrv\exchg_backups --credentials=bkpuser,pass --arc=exchg_db_arc(2) --items=db1,db2 --target=disk --disk_location=\\host\share --credentials=netuser,pass
-
Recovering a storage group (Exchange 2007) containing two databases from the latest backup of an archive. The storage group will be recovered to a new storage group.
acrocmd recover exchange_database --host=exchange_srv --credentials=user123,pass123 --exchange_credentials=domain1\exch_user1,12345 --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=exchg_db_arc(1) --items=storage_group_1 --target=another_database --destination_database=new_sg --database=db1 --database_location=d:\ExchData\db1 --database=db2 --database_location=d:\ExchData\db2 --log_location=e:\new_sg_logs
Recovering mailboxes and public folders
-
Recovering a mailbox from the latest backup of an archive. The mailbox will be recovered to the specified Exchange server.
acrocmd recover exchange_mailbox --host=exchange_srv --credentials=user123,pass123 --exchange_credentials=domain1\exch_user1,12345 --loc=\\bkpsrv\backups --credentials=netuser,pass --arc=exchg_mb_arc(1) --items="storage group 1/mailbox database/John P. Smith"