Re: Tsm for VE restore question

2014-12-30 Thread Stefan Folkerts
I don't think this is posible using the GUI at this point in time Robert.

Regards,
  Stefan

On Sun, Dec 28, 2014 at 8:49 AM, Robert Ouzen 
wrote:

> Hi
>
> I am doing a backup of my VMware environment with TSM for VE 7.1.1.0 on a
> TSM server 7.1.1.0.
>
> I am wondering thru the GUI of TSm for VE how to restore for a VM machine
> only one disk Hard Disk 1  ( this VM machine have 4 disks)   
>
> Or only can be done from the command line as:
>
> restore vm "vmmachine:vmdk=Hard Disk 1 " -vmname="vmmachine"
> -datacenter="datacentername " -host="localhost" -datastore="localstore"
>
> Best Regards
>
> Robert Ouzen
>


Powershell script for Exchange DAG backup automation

2014-12-30 Thread Stackwick, Stephen
Del Hoobler recently mentioned a whitepaper with a sample Powershell script to 
automate DAG backups. I can't seem to find it anymore and a Google search for 
it yields a broken link, 
http://www-01.ibm.com/support/docview.wss?uid=swg21433016

Did IBM withdraw it for some reason? I'd like to get started trying to 
load-balance our backups, but would like not to start from scratch if possible.

Steve

STEPHEN STACKWICK | Senior Consultant | 301.518.6352 (m) | 
stephen.stackw...@icfi.com | 
icfi.com
ICF INTERNATIONAL | 7125 Thomas Edison Dr, Suite 100, Columbia, Md 21046 | 
443-573-0524, 443-718-4900 (o)


Re: Tsm for VE restore question

2014-12-30 Thread Prather, Wanda
There are 2 GUI's for 7.1.1.

On the system where TSM for VE is installed,
If you do start > programs > Tivoli Storage Manager> TSM for Virtual 
Environments,
you will see there is a TSM for VMWare UI, and also the TSM Recovery 
Agent 7.1.1

The TSM for VMWare UI doesn't have all the VM-level functions in it yet.

The TSM Recovery Agent (which existed since VE 6.x) will let you restore a 
single hdisk.  
(It has to be installed, instead of running in the browser.)


Wanda Prather
TSM Consulting
ICF International Enterprise and Cybersecurity Systems Division







-Original Message-
From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Robert 
Ouzen
Sent: Sunday, December 28, 2014 2:49 AM
To: ADSM-L@VM.MARIST.EDU
Subject: [ADSM-L] Tsm for VE restore question

Hi

I am doing a backup of my VMware environment with TSM for VE 7.1.1.0 on a TSM 
server 7.1.1.0.

I am wondering thru the GUI of TSm for VE how to restore for a VM machine only 
one disk Hard Disk 1  ( this VM machine have 4 disks)   

Or only can be done from the command line as:

restore vm "vmmachine:vmdk=Hard Disk 1 " -vmname="vmmachine" 
-datacenter="datacentername " -host="localhost" -datastore="localstore"

Best Regards

Robert Ouzen


Re: Powershell script for Exchange DAG backup automation

2014-12-30 Thread Angela Robertson
Hello,

I do not know why this document was withdrawn. I provide the information
as-is.

Automating Database Availability Group backups for Exchange 2010


How to do I automate a backup scheme for database copies in an a Microsoft
Exchange Server 2010 Database Availability Group (DAG) using IBM Tivoli
Storage Manager for Mail : Data Protection for Microsoft Exchange Server?

UPDATE: If you are using Data Protection for Exchange version 6.4 or later,
there is enhanced support for Exchange Server Database Availability Group
(DAG) environments. This includes the ability of the Exchange Servers to
work cooperatively to balance the backup workload amongst the servers you
choose as well as the ability to store all backups under a common Tivoli
Storage Manager Server node (DAGNODE). For more information, refer to the
Tivoli Storage Manager for Mail: Data Protection for Microsoft Exchange
Server Installation and User's Guide under sections titled:

Continuous replication backups on Exchange Server --> Replication on
Exchange Server 2010
Continuous replication backups on Exchange Server --> Database Availability
Group backup best practices.

When performing backups in a Microsoft Exchange Server 2010 Database
Availability Group (DAG) environment, it is recommended to perform the
backups on the passive database copies. This helps reduce the resource
impact on the production Exchange server when performing backup operations
for your enterprise. However, there are instances where a passive database
copy is not in a healthy state and the active database copy may need to be
used for the backup.

The following sample Powershell script automates the backing up of the
databases hosted on an Exchange 2010 server in a DAG environment. The
script determines if the Exchange 2010 server is a member of a DAG and will
back up  its databases using the following scheme, consistent with best
practices:

Backup Scheme

The sample Powershell script uses the following logic for backing up the
Exchange 2010 server databases:

   Back up all local healthy passive database copies.
   Back up all local databases that are not replicated.
   Back up all local active database copies where a healthy passive copy is
   not available.

backupdag.ps1-->
  #==#

  #
  #
  # IBM Tivoli Storage Manager for Mail
  #
  #
  #
  # Data Protection for Microsoft Exchange Server
  #
  #
  #
  # Script for backing up a DAG node - backupdag.ps1
  #
  #
  #
  # 1. Check if server is a member of a DAG
  #
  # 2. Get list of databases on server and thier replication staus
  #
  # 3. Backup database if it meets one of the following:
  #
  #- Local Healthy passive database copy
  #
  #- Local Active copy where a healthy passive copy does not exist
  #
  #- Local Non replicated/recovery databases
  #
  #
  #
  # Usage:
  #
  #PowerShell backupdag.ps1 
  #
  #
  #
  # Version: 1.0
  #
  #
  #
  #==#


  # --- get server name ---
  $server  = hostname
  $server  = $server.ToUpper()
  $isDAG   = $false
  $logFile = ".\backup.log"

  # --- write log entry ---
  function WriteOut
  {
 param($msg, $log)
 Write-Output((get-date -format '-MM-dd hh:mm:ss') +" - " +
  $msg)
 Write-Output((get-date -format '-MM-dd hh:mm:ss') +" - " +
  $msg) |
out-file -encoding ASCII -filepath "$log" -append:$true
  }

  # --- check parameters ---
  if ($args)
  {
 $logFile = "$args"
  }

  WriteOut ("Server: " + $server) $logFile

  # --- is DP for Exchange installed? ---
  $versionInfo = Get-ItemProperty HKLM:\SOFTWARE\IBM\ADSM
  \CurrentVersion
  if (!$?)
  {
 WriteOut "DP for Exchange is not installed." $logFile
 exit 1
  }

  # --- build full path to comand line ---
  $commandLine = $versionInfo.TSMExchangePath + "TDPExchange
  \tdpexcc.exe"

  # --- is this server a member of the DAG ? ---
  $members = Get-DatabaseAvailabilityGroup
  if ( $members )
  {
 # --- look for server in DAG members ---
 foreach ( $member in $members.servers )
 {
if ( $member.Name.ToUpper().Contains($server) )
{
   $isDAG = $true
   break
}
 }
  }

  if ( $isDAG )
  {
 # --- get mailbox databases for server ---
 $databases = Get-MailboxDatabase -server $server -Status
 if ( $databases )
 {

WriteOut "Building database backup list..." $logFile
# --- initialize database backup list 
$backupList = ""

# --- get replication type and copy statu