Lync Backup/Restore with SQL backup

Is it possible to backup and restore the XDS database (Lync topology and configuration information) using SQL database tools?  Technet is very confusing, it describes in great detail how to use cmdletts to export the configuration then back it up with
te regular backups.  But then at link for Backup - restore best practices  it states "The simplest and most commonly used backup type and rotation schedule is a full, nightly backup of the entire SQL Server database. Then, if restoration is necessary,
the restoration process requires only one backup and no more than a day’s data should be lost."
http://technet.microsoft.com/en-us/library/hh202184.aspx
Best Practices for Backup and Restoration
To facilitate your back up and restoration process, apply the following best practices when you back up or restore your data:
Perform regular backups at appropriate intervals. The simplest and most commonly used backup type and rotation schedule is a full, nightly backup of the entire SQL Server database. Then, if restoration is necessary, the restoration process requires only
one backup and no more than a day’s data should be lost.
If you use cmdlets or the Lync Server Control Panel to make configuration changes, use the
Export-CsConfiguration cmdlet to take a snapshot backup of the topology configuration file (Xds.mdf) after you make the changes so that you won't lose the changes if you need to restore your databases.
Ensure that the shared folder you plan to use for backing up Lync Server 2010 has sufficient disk space to hold all the backed up data.
Schedule backups when Lync Server usage typically is low to improve server performance and the user experience.
Ensure that the location where you back up data is secure.
Keep the backup files where they are available in case you need to restore the data.
Plan for and schedule periodic testing of the restoration processes supported by your organization.
Validate your backup and restoration processes in advance to ensure that they work as expected.
Thanks for your help,
Paul MacLean

Take a look if this helps you out:
http://designinglync.blogspot.com/2011/04/lync-backup-and-recovery.html
and in detail:
http://blogs.technet.com/b/uc_mess/archive/2011/03/17/lync_2d00_server_2d00_2010_2d00_backup_2d00_instructions.aspx
+Say thanks and observe basic forum courtesy:
+If this post answered your question, Mark As Answer
+If this post was helpful, Vote as Helpful
windowspbx blog: my thots/howtos
see/submit Lync suggestions here: simple and public

Similar Messages

  • Does Lync 2013 work with SQL 2012 always on Feature?

    Howdy,
    I'm not that even "ok" when it come to SQL :)
    so my question Does Lync 2013 Enterprise work with SQL 2012 "Always on" Feature or only Mirroring?
    Regards,
    T

     It will not be supported. Mirroring is your only option.
    If a post is helpful, please take a second to hit the green arrow on the left, or mark as answer, thanks.
    Jean-Philippe Breton | Senior Microsoft Consultant | MCTS, MCITP, MCT, Lync MVP

  • Backup Restore With SQL Server 2008 R2 although it succeeded with SQL Server 2008

    Dears;
    I have a Full backup of some DB of around 417 GB within SQL Server 2008 R2 , and when I tried to restore it , i get  stuck several times with the error below :
    Restore failed for Server   (Microsoft.SqlServer.SmoExtended)
    A system assertion check has failed. Check the SQL Server error log for details. Typically, an assertion failure is caused by a software bug or data corruption. To check for database corruption, consider
    running DBCC CHECKDB. If you agreed to send dumps to Microsoft during setup, a mini dump will be sent to Microsoft. An update might be available from Microsoft in the latest Service Pack or in a QFE from Technical 
    Although I have restored
     successfully other several Full+ Deferential backups for the same DB while it was in SQL Server 2008 not 2008 R2.
    And so I have rounded all different possible assumptions for such common know error by Microsoft for SQL Server 2000, 2005, 2008 but 
    no way as next:
    1-     
    I have attempted to restore it within 2 environments clustered and non-clustered of SQL Server 2008 R2.
    2-     
    I have attempted to restore verify it and it was so fine .
    3-     
    I have attempted to restore it using Continue_after_error ,no_checksum but no way.
    4-     
    I have attempted to move Backup file to another Storage but no way.
    5-     
    I have scheduled jobs to DBCC
     Checkdb the live DB and it wasn’t any errors since long time right now
    6-     
    I have also DBCC check all master +msdb+model+Tempdb ,and they are so fine
    7-     
    I have also checked all I/O subsystem of SAN and Network controllers , but they are fine evidenced much more by my trial on 2 different environments.
    8-     
    I have also checked Memory and it is so fine all the time since I have 128 GB memory and I control it also so well.
    For DB Design +Structure :
    It has 20 Files containing tables partitioned horizontal +Vertically
     (Schema Partitioning +File Stream partitioning ) through these 20 files.
    I have Data compression of the required tables only.
    I have one table of more than 300 GB alone which is partitioned as mentioned above.
    I have implemented Read Committed Snapshot isolation level using row versioning integrated so well with File stream technology since it is a new feature of SQL 2008 R2.
    DB is in simple recovery model for garbage collection of all file stream data as a result of much Delete /update in images themselves.
     So any one has any idea about such case..How to solve it…?

    Hi Ashwin,
    When i searched with no answers these are listed out. So i thought this is still existing. Now on wards let me check the data and time of latest reply. Thanks for guidance.
    It was happening by oversight. Thanks for guidance.
    Regards, Pradyothana DP. Please Mark This As Answer if it solved your issue. Please Mark This As Helpful if it helps to solve your issue. ========================================================== http://www.dbainhouse.blogspot.in/

  • LYNC audio conflict with SQL Server 2012

    I have installed SQL SERVER 2012 Developer version for 64bit machine so after installing it audio quality call check is stop working in LYNC 2013. I am unable to join meeting through
    LYNC due to audio connection. It was working fine before SQL Server installation, I am using brand new HP laptop.
    All other functionality of Lync is working fine except audio.
    Is it possible to find out any workaround available from Microsoft for this issue.

    Hi Modest-Learner,
    Agree with Anthony, I think the issue occurs between your client and FE server.
    Here are some suggestions:
    1. Please check the "Lync Server Audio Test Service" is started on Lync FE server.
    2. The port the port 5076 used by the audio test service. Would you please check you have opened port 5076 on your Lync FE server? Try to 
    telnet LyncFEFQDN 5076 and see if it works. 
    3. Refer to the Technet article to troubleshoot the issue.
    http://technet.microsoft.com/en-us/library/gg195694(v=ocs.14).aspx
    Best regards,
    Eric

  • By mistake I ran Windows Backup/Restore with SAP services on  URGENT

    Dear all
    What I did by mistake I ran Windows Backup/Restore with SAP services on (I stopped win sql services and SAP instance).
    After restore under same circumstances I could not start istance (actually it started but after connect with saplogon dispetcher stopped).
    When trying to restore 2nd time(with deleted AFGDATA1,AFGDATA2, AFGDATA3 , AFGLOG and usr under c:\ I realized I can not delete C:/usr directory (with subdrectories) as SAP services were locking some files. (i stopped services and deleted those files I have them in rcycle bin),
    Can I somehow restore the system

    Hello Tina,
    - what is the status of SAP service? can you start it? If not, what is written in application event log?
    - If service can be started, are you able to start SAP system? If not, what is written in sapstartsrv.log, dev_disp and dev_w0, could you put output of them?
    - which files exactly have you deleted?
    I afraid that the locked files were not backup and they will not be restored in this case. Further steps depend on what the files you have deleted.

  • SQL Server Restore Full + SQL Server Transaction Log backup

    Dear DB Admin,
    I would like to restore my SQL  Full + SQL Server Transaction Log backup. I tell you my current setup.. we have SQL Server 2005 full backup Time morning 6AM and SQL Server Transaction Log backup time at night 8 PM . I would like to restore
    to new server full + SQL Server Transaction Log backup how can i do it please could you explain to us...
    Best Regards
    Subash

    Dear Boss,
    Thanks for your support . I followed your steps and restore  full database with "No Recovery" option . it;s done 100% with out error . after i have
    seen my database it's say  green arrow up mark ( Restoring ) still going on ...
    Please could tell my what is the problem ..what i did wrong options...
    Best regards
    Subash 
     did you also restore transaction log backup or just full backup??
    do you have any transaction log backup taken after the full backup you restored?
    do you want to restore transaction log backups as well, how many transaction log backups did you take after the full backup, you just restored.  per your explanation, there should be one transaction log backup.. 
    so,you now need to restore the transaction log backup..
    Restore log <<RestoreDatabaseName>>
    From DISK ='BackupFileLocation\Transaction_log_BackupFileName.bak' With File= <<fileposition>>,
    ,Recovery
    Hope it Helps!!

  • Problem: VSS error with 'SQL Server Backup to Windows Azure Tool' installed

    When 'SQL Server Backup to Windows Azure Tool' is installed, shadow copies cannot be enable and backups fail.  When attempting to enable shadow copies, we get a "volsnap" error:  "The shadow copies of volume X were aborted because
    of a failed free space computation".  After uninstalling the "Tool", VSS works.  Reinstalling "Tool" causes the problem to return.
    While the error suggests a space issue, there is plenty of space on the server's two volumes.  Additionally, another 100GB volume was added and VSS storage was allocated to it; still received the error.
    Issue seems to point to 'SQL Server Backup to Windows Azure Tool'.
    Environment:  Hyper-V guest:  "Windows Server 2012 R2 Standard" with "SQL Server 2008 R2 Standard".  Using "Azure Storage" for SQL backups.
    Suggestions?

    Hello,
    Yes, we have a confirmed interference between the tool and the VSS Framework. This was identified very recently and is under investigation by the product group. Since the issue is within the filter driver shipped by the tool, that unfortunately means that
    you currently need to choose between the tool and a working VSS Framework. If the latter is more important, then uninstall the tool (that will require a restart).
    We apolologize for the inconvenience. I'm going to try to get the home page of the tool updated to avoid other situations like yours. Hopefully we should see a new version of the tool soon.
    As a side note, recent versions of SQL Server can directly use Azure Storage as backup target, see
    http://msdn.microsoft.com/en-us/library/jj919148(v=sql.110).aspx.
    Regards,
    Guillaume Fourrat - Microsoft France

  • Database restore with just one backup set

    Hallo experts,
    I got a big problem with restoring my XE database. I have a newly created full backup from my XE. While saving the flashback_area I got a hard crash on my system but I saved the last backup set file on a server. Unfortunately I was not able to save other backup sets and I think, there was a special backup of my control files. The restore on another system does not work because of invalid piece.
    The data of this database is necessary for my work. Is there anybody out there who can help to restore the data with the existing backup set.
    I did not change the entire structure of my original XE database. I only created to schemas with data in. is there any solution to restore the data.
    Thanks for any help.
    Holger

    Hi you all,
    I think that somebody will be interested in the solution of my problem,so I post it here and in german on my website (www.datacubus.de).
    My XEdatabase is successfully restored and I walked through some undocumented and not supported features of ORACLE to win the challenge.
    The first fact is, that ORACLE XE has a very static structure if you use it as is. The datafiles are predefined and so a manual restore with a foreign backup piece seems to be possible.
    Here is my way:
    Create a backup of your controlfile
    ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    Shutdown your database
    shutdown immediate
    Start the database in nomount mode
    [holger@MSA04071]$ rman nocatalog target /
    RMAN> startup force nomount;
    RMAN> quit
    Restore the datafiles
    I used the following script to restore the datafiles from the backup piece without any check:
    declare
    devtype varchar2(256);
    v_file varchar2(255);
    done boolean;
    begin
    v_file:='/usr/lib/oracle/xe/app/oracle/flash_recovery_area/XE/backupset/o1_mf_nnndf_TAG20070420T234848_32lfb0w9_.bkp';
    devtype:= dbms_backup_restore.DeviceAllocate(type => '',ident => 'D1');
    dbms_backup_restore.RestoreSetDatafile;
    dbms_backup_restore.RestoreDatafileTo(dfnumber => 1,toname=>'/usr/lib/oracle/xe/oradata/XE/system.dbf');
    dbms_backup_restore.RestoreDatafileTo(dfnumber => 2,toname=>'/usr/lib/oracle/xe/oradata/XE/undo.dbf');
    dbms_backup_restore.RestoreDatafileTo(dfnumber => 3,toname=>'/usr/lib/oracle/xe/oradata/XE/sysaux.dbf');
    dbms_backup_restore.RestoreDatafileTo(dfnumber => 4,toname=>'/usr/lib/oracle/xe/oradata/XE/users.dbf');
    dbms_backup_restore.RestoreBackupPiece(done => done,handle => v_file,params => null);
    dbms_backup_restore.DeviceDeallocate;
    end;
    Start this script as sysdba. But by carefull. This only works if no entire change of datafiles had taken place!
    Reset DBID
    Because of the saved DBID within the datafile, the database can't be opened. But there is a little trick for resetting the DBID.
    shutdown;
    startup mount;
    execute dbms_backup_restore.zeroDbid(0);
    shutdown normal;
    Delete or rename existing Controlfile
    Edit trace file
    You have to modify your controlfile script as follows:
    1. Only use the CREATE CONTROLFILE... block
    2. Delete RECOVER DATABASE block
    3. Replace REUSE with SET
    4. Replace NORESETLOGS with RESETLOGS
    Create new control file
    Use the CREATE CONTROLFILE block for creation of a new control file.
    Open Database
    alter database open resetlogs;
    Much work but all my data is back and now I will backup the whole flashback_area to avoid further nightmares.
    Bye
    Holger

  • If I have another iphone and restore with my Mac, what happen with the FindMyIphone if I have two iPhone's with the same backup?

    If I have another iphone and restore with my Mac, what happen with the FindMyIphone if I have two iPhone's with the same backup or sync with the same computer?

    If you have more than one device on the same Apple ID, Find My iPhone will let you choose  the one to find.

  • My 3gs wont restore after ios 5 update. I have tried firmware restore and restore from backup, neither works. All I get is "iphone restore failed because backup session failed" Any ideas on how to make a successful restore with this ios 5 update?

    My 3gs wont restore after ios 5 update. I have tried firmware restore and restore from backup, neither works. All I get is "iphone restore failed because backup session failed" Any ideas on how to make a successful restore with this ios 5 update?

    I was having the same problem, I backed up my phone and then updated to iOS 5 and then it kept telling me it could not restore from my backup as it had failed.  After reading a bunch of forums and posts and trying everything, I did manage to get it to work.  I had tried the Time zone, creating a new computer user account, disabling anti-virus, etc.
    It took a combination of things, one of which was disabling the anti-virus completely and copying the contents of the backup folder to my desktop and then deleting everything in the backup folder.  Then I rebooted the PC, entirely disabled the anti-virus, copied the one backup I wanted to restore from the desktop to the backup folder and then trying to restore.  Low and behold the phone said restoring from backup and I am back in business, so when in doubt, trying combining some of the fixes together.

  • HT1766 Hi! I upgrade my iPhone 5 from ios 7.1 to 7.1.1. When it finished I wanted to restore with my backup but iTunes says that it can't because incompatible or corrupted. What can I do then to restore my iPhone?

    Hi!
    I upgrade my iPhone 5 from ios 7.1 to 7.1.1.
    When it finished I wanted to restore with my backup but iTunes says that it can't because incompatible or corrupted.
    What can I do then to restore my iPhone?

    Backups are only used for restoring iPhones via iTunes.
    If you desire to go about another method for extracting data from a backup, use google to find out how (if possible) to make that happen.

  • Backup Sharepoint 2013 Farm with SQL 2012 "Always On" using System Center 2012 R2 Data Protection Manager

    Is backing up and Restoring SharePoint 2013 Farm with SQL 2012  "Always On" High Availability now supported using "System Center 2012 R2 Data Protection Manager"?
    I cannot find confirmation anywhere.
    Regards,
    John

    Per this thread
    http://social.technet.microsoft.com/Forums/en-US/0c047737-4733-4ad5-a24d-3e6e6ff42f70/dpm-2012-sp1-and-sharepoint-2013-on-a-sql-2012-alwayson-ag?forum=dpmsharepointbackup, no it does not look like this is supported.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Backup Sharepoint 2013 SP1 Farm with SQL 2014 RTM "Always On" using System Center 2012 R2 Data Protection Manager

    Is backing up and Restoring SharePoint 2013 SP1 Farm with SQL 2014 RTM  "Always On" High Availability now supported using "System Center 2012 R2 Data Protection Manager"? 
    I cannot find information anywhere.
    Regards,
    Igor

    This is a DPM supportability issue, I believe. Last I heard, no it was not supported. SharePoint 2013 does not support SQL 2014 until the April 2014 CU. The CU should be out soon, although it appears to have been delayed (usually comes out on Patch Tuesday,
    which was this past Tuesday).
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Reporting Service Error Code 7403, on SCCM 2012 R2 with SQL 2012 SP1 CU6

    Dear All,
    I am facing issue to install Reporting Services Point on SCCM 2012 R2 with SQL 2012 SP1 CU6. getting error messages id 7403. please let me know if SQL 2012 SP1 CU6 is supported with SCCM 2012 R2 or not & if you have any solution on it.
    Error Message: The report server service is not running on Reporting Service Point server "SCCM2012"; start the service to enable reporting.

    I am getting below error msg when trying to browse both sites
    1) For Reports
    The report server cannot decrypt the
    symmetric key that is used to access sensitive or encrypted data in a report
    server database. You must either restore a backup key or delete all encrypted
    content. (rsReportServerDisabled)
    Get Online Help
    Keyset does not exist (Exception from
    HRESULT:
    0x80090016)
    2) For Reportserver
    Reporting Services Error
    The report server cannot decrypt the symmetric key that is used to access
    sensitive or encrypted data in a report server database. You must either restore
    a backup key or delete all encrypted content. (rsReportServerDisabled)
    Get Online Help
    Keyset does not exist (Exception from HRESULT: 0x80090016)
    SQL Server Reporting Services

  • How to detect whether a database was created by Restoring (from SQL Server Enterprise Manager) or by Attaching (from SQL Server Enterprise Manager)

    Ours is a SQL Server Express Edition 2008-R2 - Windows Forms based application. We have a backup/restore utility provided with our software which performs some logical checks before restoring a backup to ensure that the backup is functionally valid.
    However, our clients often use the SQL Server Enterprise Manager utility to 1) Restore backups or 2) Attach data files (kept aside before formatting) directly. This type of action bypasses all our functional checks and allows the user to restore an invalid
    backup.
    We want to detect that a database was restored/attached and may be we will stop the software from loading if such a thing happened. We think that this information (attach/restore) should be available within some table of SQL Server itself but don't know the
    right location/query.
    If any change is required in our software to achieve the above, we are ready to do the same too, e.g. may be we need to store some data at some point of time to make the detection happen, please advise.
    So, how can we detect that
    A database backup was restored using SQL Server Management Utility
    (Note: MSDB.Restorehistory may not be a good option as we have often found this table blank for unknown reasons even after backup was restored and just in case user restores the MSDB from MSDB backup or MSDB template due to a data corruption, may be due to
    abnormal shutdown of system, then the RestoreHistory table data is gone)
    A database was created by attaching a data/log file using SQL Server Management Utility
    Any help in this regard is highly appreciated.
    Rajarshi
    ProjectServer 2007 Beginner

    Hi,
    For Enterprise edition, we can enable Auditing to audit BACKUP_RESTORE_GROUP in a server audit specification. However, SQL Server audit (fine-grained auditing) feature is not available for the SQL Server Express.
    Features Supported by the Editions of SQL Server 2008 R2
    http://msdn.microsoft.com/en-us/library/cc645993(v=sql.105).aspx
    When a database is attached, SQL Server ERRORLOG will record “Starting up database 'DBNAME'.”
    Using ALTER DATABASE OFFLINE and ONLINE will re-open the database files under the SQL Server, the SQL Server error log also contains the following informational message: “Setting database option ONLINE to ON for database 'DBNAME'.”
    Additional information:
    SQL Server Audit (Database Engine)
    http://msdn.microsoft.com/en-us/library/cc280386.aspx
    Tracy Cai
    TechNet Community Support

Maybe you are looking for

  • Dynamic Text Styling

    I am using a dynamic text field with some text inside it. I would like to make some headings within the text BOLD and a different Colour then the rest of the text. Is this possible? I am also scrolling the text field using the generic scroll bar. Tha

  • Transfer order  print LT31

    Dear all, How to configure form and Driver program for Transfer order  LT31. I want to create it through smartform. Please let me know configuration way and design with smartform possiblities. Regards Mohit

  • Java API: IFS Document Versions

    Hello, I'm trying to list all versions of a document in an web page, and provide a link to each document version (I'm currently using JSP and IFS Java API Classes as interface from Web to the IFS system). To download a specific document version I nee

  • Installing Oracle Apex in a PDB

    Hi Guys, I just want to know when you install Apex in a PDB does the CDB and PDB have to have the same port number in order to access the Apex Admin page. I have the following set up: PDB1   Port - 5502   (With successful Apex install) CDB     Port -

  • How to make Dependent LOV in tablular form

    Hi, We created a tabular form. Example: We have two form fileds with LOVs A and B. Based on select list A, we need to refresh the second list B. Just like cascading LOV option in normal form(apart from Tabular form) Please provide your valueble input