Get size of the mailbox before/after backup

Hi there
i've been assigned to do a specific report related to exchange and its backup 
so what we want is a report that would give us the global size of all our databases before and after the backup ( even the size of the logs before and after)
(example : we have a database x , inside of it we need to go inside the data folder, and retrieve the size of the .edb
then do the same thing with the logs, go inside the logs folder, and retrieve the logs size )
i was wondering if anyone ever managed to pull a script that does similar things, given the fact that i ve never worked with powershell and my knowledge is kinda limited in that area

Hi,
To get the mailbox database size, you can use the following command.
get-mailboxdatabase -status | fl name, databasesize
To check the transaction log size of a specific mailbox database, you need to check the following path and see there is a lot of 1MB size TEXT file like E000000000A.
<drive>\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database
To get the total size of transaction log files, some scripts may help you. You can ask this question in the Script forum which is staffed by more experts specializing in this kind of problem. You might get a better answer there.
http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?category=scripting
Best regards,
Belinda
Belinda Ma
TechNet Community Support

Similar Messages

  • Mailbox database size before & after backup

    Hi there
    i recently made a similar thread and someone told me that i should do it here so here is my issue :
    i've been assigned to do a specific report related to exchange and its backup 
    so what we want is a report that would give us the global size of all our mailbox databases before and after the backup ( even the size of the logs before and after)
    (example : we have a mailbox database X: , we need to go inside the data folder, and retrieve the size of the .edb
    then do the same thing with the logs, go inside the logs folder, and retrieve the logs size )
    i was wondering if anyone ever managed to pull a script that does similar things, given the fact that i ve never worked with powershell and my knowledge is kinda limited in that area
    Thanks

    Hi Amassuo,
    for finished scripts that do things, check out the
    gallery. If you want to learn powershell (I might be biased, but I highly recommend it), check out the
    learning center.
    Regarding your specific issue, you can check the free space on a specific disk by running this powershell command:
    Get-WmiObject win32_logicaldisk -Filter "DeviceID = 'C:'" | Select -ExpandProperty FreeSpace
    Comparing before/after will get you the space differential (adapt drive letter in filter as needed).
    Cheers and good luck with your script,
    Fred
    There's no place like 127.0.0.1

  • How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    Hi stephanie,
    These are unrelated questions/statements.
    Space before and space after a paragraph are controled in the Text Inspector, as you've found out.
    Pages will create a page break whenever there is no room for another line on the page. That break can come anywhere in a paragraph.
    You may be thinking of Widow and Orphan prevention, and the other Pagination controls, found under the More button in the Text Inspector. (If that's what you found, then thanks for the refresher! I hadn't been to that pane for awhile, and had forgotten the variety of pagination controls available.
    Regards,
    Barry

  • Open script cannot get connection from the brower helper after 15 seconds.

    Error:
    ===
    Open script cannot get connection from the brower helper after 15 seconds. Do you want to continue waiting for the browser to load?
    Please Note:
    ========
    1. I have tried this only on IE
    2. I am running OATS on a Remote desktop
    Situation:
    ======
    Trying to stop the recording
    Try to get xpath of an object using Inspect Path
    Setup details
    ========
    Windows XP 5.1 Service Pack 3, x86
    OpenScript 12.1.0.1.383
    Internet Explorer 8.0.6001.18702
    FireFox 13.0.1
    Mitigation steps done till now:
    ==================
    1. Disabled windows firewall
    2. Disable XSS filter setting
    3. Restarted the ATS services (3 of them)
    4. Run the Open Script Diagnosis Tool (PS: There are 3 errros even after running it. The 3 errros are listed in the workspace_log log file snippet below...)
    Error in worspace_log:
    =============
    To Change setting:
    Go to Tools > Internet Options and Choose Security Tab
    Select the Zone to modify and Press Custom level
    Find Enable XSS filter Setting - Select Disable and click Ok
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Failure found when diagnosing Oracle EBS/Forms Load Testing Forms LT Diagnoser
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Did not auto-fix the problem.
    !ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
    !MESSAGE Suggestion for fixing: Please change your Java proxy setting to Use Browser Settings
    Aprreciate help on this.

    To resolve this, you need to reconfigure the "Oracle Application Testing Suite Helper Service" (OATSHelperSvr) to start as a user who has privledges to run open script tests rather than the default SYSTEM user.
    Reconfiguring the OATSHelperSvr Service:
    1. Open the services panel (Start > Run > services.msc)
    2. Find the Oracle Application Testing Suite Helper Service
    3. Right Click > Properties then select the Log On Tab
    4. Specify an interactive user that has rights to run OpenScript (test by logging in as that user and running tests):
    5. Click OK
    6. Restart the service after dialogs are closed by Right Click > Restart
    7. You should now repeat this process for the "Oracle Application Testing Suite Agent Service" (eLoadAgentMon) Service (Two services in
    total)
    You should now retry running the test in Oracle Test Manager

  • I can't get to download the app store after all the updates. I have version 10.6.8 and there are no more available updates for my operating system.

    I can't get to download the app store after all the updates. I have version 10.6.8 and there are no more available updates for my operating system.

    Look in the HD/Applications folder.

  • How can i get rid of the iTunes logo after updating my iPhone 4 to the iOS 6

    How can I get rid of the iTunes logo after updating my iPhone to iOS 6

    Absolute garbage.
    This abysmal excuse "Always have been built in apps" is irrelevant. NOTHING should be tied to the OS of even
    a phone so tightly that you can't get rid of it. NONE of the apple crap apps do I use, but they use space on MY phone.
    I want the **** things gone.

  • Failed to get value of the "Attachments" column after my Edit Form customization in share point 2010

    Hi,
    I am trying to customize the Edit Form in sharepoint 2010 .After my customization when i click on save it is giving below error.
    Failed
    to get value of the "Attachments" column from the "Attachments" field type control.  See details in log. Exception message: Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx) "
    Every thing works fine if i  uncheck the Attachments property of the custom list.But i would need user to allow add attachments to the list.Could you
    help me to resolve  this issue.

    Hi,
    It would be better if you could provide the steps in details about how you customize your Edit Form.
    Anyway, you can take a look at the similar thread below, there is someone stuck with the similar issue before:
    http://social.technet.microsoft.com/Forums/en-US/d60e2a8e-575d-4b3c-959f-2a6a2b1364cf/failed-to-get-value-of-the-attachments-column?forum=sharepointcustomizationlegacy
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • How to get everything exactly as it was after backup and format

    I want to backup and format my one and only Macbook Pro internal drive in order to properly defragment for boot camp partitioning. However, when I'm done, I want the OS X portion of my computer to be exactly as it was; files, logins, applications, etc. Like it never even happened. I have an external USB drive that's plenty big enough, at least twice over.
    So here's what I was thinking about doing:
    On my external USB, I would format into 2 partitions (which would each be more than large enough to accommodate a full image of my current operating drive), and then in Disk Utility, I would save a "new image" of my current operating drive onto partition 1 of my external. This would be an overnight operation I would think. Then, to test it out, I would "restore" partition 2 to the image on partition 1. Also, a lengthy process I would think. Then, partition 2 would be bootable as a full computer which would look exactly like my current computer.
    Right?
    Is this fantasy?
    Because at this point I could format my internal drive using extended journaled, then "restore" the internal drive to the image I created, which still exists on partition 1. Right?
    Other options, I assume would be:
    Setup assistant
    Migration assistant
    Do a time machine backup to the external, then restore from that backup after the reformat
    Any help here?

    There is only one way to defragment the drive quickly and safely. Erase an external drive or volume on an external drive large enough for your internal drive. Clone the internal drive to the external drive or volume using the Restore option of Disk Utility:
    Repairing the Hard Drive and Permissions
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Installer menu (Utilities menu for Tiger, Leopard or Snow Leopard.) After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    Clone using Restore Option of Disk Utility
    1. Open Disk Utility from the Utilities folder.
    2. Select the destination volume from the left side list.
    3. Click on the Restore tab in the DU main window.
    4.Check the box labeled Erase destination.
    5. Select the destination volume from the left side list and drag it to the Destination entry field.
    6. Select the source volume from the left side list and drag it to the Source entry field.
    7. Double-check you got it right, then click on the Restore button.
    Destination means the external drive or volume.
    Source means the internal startup drive.
    Boot from your external drive: Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears. Select the icon for the external drive/volume and click on the downward pointing arrow button. Once booted from the external drive/volume:
    Hard Drive Preparation
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area. If it does not say "Verified" then the drive is failing or has failed and will need replacing. SMART info will not be reported on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID (for Intel Macs) or APM (for PPC Macs) then click on the OK button. Click on the Partition button and wait until the process has completed.
    Now restore the clone from the external to the internal:
    Restore Clone to Internal Drive
    1. Open Disk Utility from the Utilities folder.
    2. Select the destination volume from the left side list.
    3. Click on the Restore tab in the DU main window.
    4.Check the box labeled Erase destination.
    5. Select the destination volume from the left side list and drag it to the Destination entry field.
    6. Select the source volume from the left side list and drag it to the Source entry field.
    7. Double-check you got it right, then click on the Restore button.
    Destination means the internal startup drive.
    Source means the external drive or volume.
    +Note that all you do differently is reverse the drives in the cloning process. The external drive/volume becomes the Source and the internal startup drive becomes the Destination.+

  • Increase / decrease the space before / after a table -

    Hi all,
    I have not found any shortcuts which, after you select a table, modify the space before or after.
    Does anyone have an idea? Otherwise, an early idea for a [JS]?
    Thank you in advance! 

    According to the instruction, I closed InDesign and re opened it then immediately hold down Ctrl+Alt+Shift, but there is no dialog window pop up. I did this a few times.
    Then I tried to do it manually by deleting InDesign Defaults and InDesign SavedData. But in the folder (Windows XP: C:\Documents and Settings\<USER>\Application Data\Adobe\InDesign\<Version #>\<language>\ ) I can see InDesign Defaults but no InDesign SavedData. I deleted InDesign Defaults anyway, re opened InDesign, nothing changed.

  • Estimating size of RMAN backsets before taking backup

    I have a database version 10.2.0.4 of size 4571.1201 GB
    ==========================================
    SQL> select sum(bytes/1024/1024/1024) from dba_data_files;
    SUM(BYTES/1024/1024/1024)
    4571.1201
    ==========================================
    I need to estimate the total size of the RMAN backup level 0 for this database.

    I think the level 0 backup will take the total 4571.1201 GB of space. because it is a full db backupNormally wrong, unless the datafile is full (RMAN does not backup unused blocks). Only image copies (but not backuppieces) have the same size as the original datafiles.
    There must be a previous backup , then the following query will give an indication:
    SQL> select file#, blocks, datafile_blocks, round((blocks / datafile_blocks * 100), 2) Perc_used
    from v$backup_datafile;
    Werner

  • How to find the total size of the database before the Restore.

    Hi Guys,
    I'll do a Restore, but I do not know the environment and need to know what the total size of the database to create a storage area.
    Is there any way to find out the total size of the database(including all datafiles and temp) using only the RMAN catalog before running the Restore.
    I'm using Tivoli TSM with ASM.
    Levi Pereira

    Hi tychos,
    break on report
    compute sum of TOTAL_DB on Report
    select 'DataFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_datafile
    where db_name = 'ORCL'
    UNION ALL
    select 'TempFiles' NAME, SUM(ROUND(bytes/1024/1024/1024)) TOTAL_DB from rc_tempfile
    where db_name = 'ORCL'This query returned I had 372 Gbytes of data.
    At the end of the Restore Database got the size of 408 Gbytes.
    The total size of all Redo was 3Gbytes that was not being counted anyway there was a difference of 33Gbytes.
    I need to understand the reason for the difference in sizes.
    It makes no sense to me RMAN catalog does not inform the total size of the database (Datafiles, tempfiles, Redo and controlfile) before the Restore since it's information is already somewhere.
    Thanks for your help.
    Levi

  • Getting TM to send a message after backup

    does anybody know if there is a way to have TM send a massage when backup is finished? like per email? or?

    there is definitely nothing built in that would do anything like this. you could probably cook up some sort of notification system but it would require some hacking and I don't know how to do it at the end of a backup. at the beginning might work.
    you can try for example the following. edit the launch daemon /system/library/launchdaemons/com.apple.backupd-auto.plist and change the command it executes
    /System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper
    to
    /System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper; echo "backup at `date`" |mail [email protected]
    you have to have command line mail working for this to work. It goes without saying that you need to back up the existing launch daemon before tinkering with it.

  • How do you get rid of the app icons after the app has bee updated? Using iOS 7.02

    After updating apps I am unable t get rid of the app icon on the update screen.

    Feedback to Apple
    http://www.apple.com/feedback

  • HT1420 i didnt get my app i had bought be cause of an error and the money i bought my idea with didnt get back to the amount before

    i didnt get my app i had bought be cause of an error and the money i bought my idea with didnt get back to the amount before

    You should be able to download it via the Purchased link under Quicklinks on the right-hand side of the iTunes store home page on your Mac's iTunes.
    If it doesn't show there then was the purchase successful e.g does it show on your purchase history : http://support.apple.com/kb/HT2727 ? If not then it might just be a holding charge, and not a 'proper' purchase charge.
    If it does show on your purchase history, but not in Purchased for redownloading, then try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com

  • HT1766 i am trying to unlock the iphone 4, after backup, i am trying to restore the backup, a message is showing up " itunes could not restore the iphone ' .....iphone ' because not enough free space is available on the iphone" but there is 5.7gb availabl

    i am trying to unlock the iphone 4, aftermanual backup on the computer, i am trying to restore the backup, a message is showing up " itunes could not restore the iphone ' .....iphone ' because not enough free space is available on the iphone" but there is 5.7gb available

    Dear Jody..jone5
    Good for you that can't update your iphone because I did it and my iphone dosen't work for example I can't download any app like Wecaht or Twitter..
    Goodluck
    Atousa

Maybe you are looking for

  • Making Effective Use of the Hybrid Cloud: Real-World Examples

    May 2015 Explore The Buzz from Microsoft Ignite 2015 NetApp was in full force at the recent Microsoft Ignite show in Chicago, and it was clear that NetApp's approach to hybrid cloud and Data Fabric resonated with the crowd. NetApp solutions such as N

  • Help with subtotals

    I have a spreadsheet that has customer locations in one column and sales numbers in another column. Each customer location has multiple lines. I want to subtotal the total sales numbers by customer location. This was very easy in excel with the subto

  • Sequence of trigger

    hello experts: what is the sequence of trigger raised in d2k form? Thanks n regards yash

  • Question: Can a person Fill-in and Sign documents on a Blackberry device?

    Question: Can a person Fill-in and Sign documents on a BlackBerry device?

  • Drill down to specific topic on TOC?

    Is it possible to have the Navigator display a specific topic when that topic is displayed via showTopic? In other words, I have default to docking set to true, and I call up a specific topic via showTopic. I don't want just my generic TOC displayed;