techsnapshots

Stay hungry Stay foolish….

  • Enter your email address to follow this blog and receive notifications of new posts by email.

    Join 2 other followers

  • Follow me on Twitter

    Error: Twitter did not respond. Please wait a few minutes and refresh this page.

Archive for August, 2012

Part 5: Recover Files and Folders Using the Microsoft Online Backup Service Agent

Posted by techsnapshots on August 7, 2012


Recover Files and Folders Using the Microsoft Online Backup Service Agent

Exercise1: Recovering files and folder using the Microsoft online backup service agent.

1. Open My Computer pinned in taskbar. Go to the C Drive and delete the Filesrv1

2. Press the Windows logo key + Q to open the Apps menu, and then click Microsoft Online Backup Service Agent.

3. In the Action menu, click Recover Data to open the Recover Data Wizard. The Getting Started page is displayed. Click This Server, and then click Next to continue.

4. The Select Recovery Mode page is displayed.

5. Choose Browse for files and Click Next to continue.

6. On the Select Volume and Date page is displayed.

Select the C: \ from drop down menu and select the date and time.

Click Next to continue.

7. On the Select items to recover page is displayed. Expend the server and navigate and select Filesrv1 Click Next to continue.

8. On the Specify recovery options page is displayed.

Choose – Overwrite the existing versions with the recovered versions

In Security settings, select the check box to restore the access control list (ACL) settings of the files and folders that are recovered

 

 

Info: – Create copies so that you have both versions This option makes a copy of the file with a new file name in the same location as the duplicate file. The file name of the new file starts with the following text string (<recovery date>Copy of<original file name>)

Overwrite the existing versions with the recovered versions This option overwrites the file, and the only version that will exist in the restore location is the recovered file version.

Do not recover the items that already exist on the recovery destination This option retains the current version of any files that already exist in the recovery destination. Recovery will occur only for data that does not exist in the recovery destination.

Note: – Sharing settings are not recoverable.

9. On the Confirmation page is displayed and Click Recover tab to start the recovery process.

 

The Recovery Progress page is displayed, which shows the progress of the recovery operation.

10. The Jobs pane shows the status of Job completed when the recovery is done.

11. Check on your C Drive , Filesrv1 restored or not.

 

Recovering files and folder using PowerShell ISE

You can recover data that was backed up with Microsoft Online Backup Service onto any server running Windows Server 2012 that is connected to the Internet. This can be useful for disaster recovery situations where you are not able to get physical or network access to your servers.

1. Open My Computer, go to the C: drive and delete the Filesrv2.

2. Open PowerShell ISE and run the following commands:

3. Set the variables

$source = Get-OBRecoverableSource

$item = Get-OBRecoverableItem -Source $source[0]

$FinalItem = Get-OBRecoverableItem -ParentItem $item[0]

$recover_option = New-OBRecoveryOption

 

Run the command to recover data


3. Check your C: drive for restored.

 

Note: Folder that you recovering is defined on $FinalItem and $finalitem pickup up inputs from $filespec that you have defined while scheduling the backup on exercise part 4.

Advertisements

Posted in Uncategorized | Leave a Comment »

Part4: Schedule Backups using the Microsoft Online Backup Services with PowerShell ISE.

Posted by techsnapshots on August 7, 2012


Schedule Backups using the Microsoft Online Backup Services with PowerShell ISE.

Note: You will the find the commands in Schedule file placed on your desktop

1. Create the Backup Policy to schedule the backup from PowerShell ISE

Here you will be creating variables for Backup Policy:

a. Backup policy name

b. File to be back up

c. Days and time to schedule the backup

d. Backup retention days

$policy = New-OBPolicy

$filespec = New-OBFileSpec -FileSpec “c:\Filesrv2”

$sched = New-OBSchedule -DaysofWeek <days of week> -TimesofDay <00:00>

 

$ret = New-OBRetentionPolicy -RetentionDays 7

 

Example:

 

2. Run the following commands to set the Backup Policy on Powershell ISE:

Add-OBFileSpec -Policy $policy -FileSpec $filespec

Set-OBSchedule -policy $policy -schedule $sched

Set-OBRetentionPolicy -Policy $policy -RetentionPolicy $ret

$ret = New-OBRetentionPolicy -RetentionDays 7

 

Click Yes when prompted.

The Policy automatically run to take backup on Scheduled time.

 

 

 

 

 

 

 


 

Posted in Uncategorized | 1 Comment »

Part 3 : Installing Configuring and Managing Microsoft Online Backup Solution with Windows PowerShell ISE

Posted by techsnapshots on August 7, 2012


Installing Configuring and Managing Microsoft Online Backup Solution with Windows PowerShell ISE

 

Install the Microsoft Online Backup service agent.

 

1. Login to the server2 and open IE Explorer and on Address bar type

http://connect.microsoft.com/site1277

2. Click Download and choose Online Backup Service Installer

3. Download the OBSInstaller.exe and save the file on your desktop .

Open Windows Powershell ISE 64 bit from taskbar.


4. Change directory to the Obsinstaller folder.

PS C:\users\Administrator> cd .\Desktop\OBSInstaller

 

PS C:\users\Administrator\Desktop\OBSInstaller>

 

5. Install OBSInstaller .exe agent quiet mode.

Note: press spacebar after /q and then Enter Key

PS C:\Users\Administrator\desktop\OBSInstaller> .\OBSInstaller.exe
/q

 

6. Wait for some time to appear Microsoft Online Backup Solution icon on the desktop. Agent has installed successfully.

 

: Registering the server2 with Microsoft Online Backup Solution

Note: You will find the commands in Register file placed on your desktop

Set the following variables and start the registration:

User your online user ID and password.

Below is only example :-

1. Microsoft Online Backup service Password: P@ssword1

2. Microsoft Online Backup service User ID: reglive@onlinebackupservice.onmicrosoft.com

3. Register the server

$pwd = ConvertTo-SecureString -String “P@ssword1” -AsPlainText –Force

$cred = New-Object –TypeName System.Management.Automation.PsCredential –ArgumentList “reglive@onlinebackupservice.onmicrosoft.com”, $pwd

Start-OBRegistration -Credential $cred

 

You will find the server2 is registered successfully

2. How to set the Passphrase .Passphrase require at the time of restoration of backup to alternate location.

set-OBMachinesSetting

On prompt type:

Server2-corpbackupserver and click OK.


Posted in Uncategorized | 1 Comment »

Part: -2 Schedule Backup using the Microsoft Online Backup Services.

Posted by techsnapshots on August 7, 2012


 

The backup schedule is the core of the backup process. It identifies which files and folders to backup and the days and time to perform the backup

1. In the Action menu, click Schedule Backup to open the Schedule Backup Wizard. The Getting Started page is displayed. Click Next to continue.

2. On the Getting started page review the file and folder backup options available and click Next

3. On the Select items to backup page. Click Add Items.

 

 

 

Expend the C :\ and navigate and Check Filesrv1 folder
from tree view of the file
system and click OK .

 

4. On the Specify backup time page is displayed.

Select the day/days of the week and time that backups will occur. Click Next to continue.


5. On the Specify retention settings page. From Drop down – select 7 days. Click Next to continue.

The Confirmation page is displayed. Click Finish to create the schedule.

6. On the Summary page is displayed with a message that the online backup schedule was successfully created. You can now close the wizard.

After you configure a schedule, details for the backup schedule are displayed in the Microsoft Online Backup Service snap-in as shown below.

 

 

 

 

 

 

 

 

 

 

 

Posted in Uncategorized | Leave a Comment »