Backup and restore the wss_content db to the same server with different name

Hi,
 I want to restore the content db of 80 port in my sp 2013  web appln to a different web appl. is this possible?
By default wss_content is pointing to the 80 port. so if i wanna take the backup of this content db and restore it in the same machine as a  different content db name, is this achievable?
if this is achieved, i want to mount this newly restored content db to a new  web appln.

Hi Benjamin,
you could restore database with new name using below script
RESTORE
DATABASEWSS_Content_NewFROMDISK='C:\Program
Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\WSS_Content.bak'
WITH
MOVE'WSS_Content'TO'C:\Program
Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\WSS_Content_New.mdf',
MOVE'WSS_Content_log'TO'C:\Program
Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA\WSS_Content_Newt_log.ldf'
Regards,
Regards, <b>Khalil Kothia, PMP </b>
Blog

Similar Messages

  • Install many executable on the same PC with different names

    Hello,
    I'm trying to install several executables with different names in the same computer but at the end of install process the message is : "an higher  or existing version is already installed in this computer"
    I create the Executable and Setup with LabVIEW Application Builder and install the executable in the same Program Files root directory with a different sub-directory for each executable as this : Program Files-->MyProject-->SubProjet1 with exe1/SubProject2 with exe2 etc...
    My OS is WinXP pro SP2 and I work with LabVIEW 8.5.
    Thanks and regards,
    Armindo PINTO

    Hi Armindo,
    Thank you for using the NI forums! 
    From what I understand, you are trying to create multiple executables of a vi project to co-exist on the same PC. Any time you re-use the LabView 8.x project file, it will generate
    install package with the same product ID number. That means, if the
    deployed PC has the previous version installed, which had been
    generated from the same project file, the new install package will
    remove the previous version and overwrite it with the new version. Or as in your case, not allow you to install lower versions of the executable. That
    means, the previous version will be no longer available on the deployed
    PC. If you are creating an upgraded version to the product this is
    fine.
    However, if you need to re-use the LabView 8.x project
    file and generate a new product, which can potentially co-exist with
    the previous on the end user PC, you need to generate a new installer
    with a different product ID number. One of the way to do it:
    Copy existing project file (e.g. "name1.lvproj") under a different name (e.g. "name2.lvproj")
    Open the new instance of the project
     Expand the "Build Specifications"
     Right click on the installer specification, e.g. "name1 Installer"
    Select "Duplicate" from the menu
    You can now delete the instance "name1 Installer" and rename the "Copy of name1 Installer" to a suitable name, e.g. "name2 Installer"
     Make changes that are needed between the two versions, for example:
    Select a new source VI
    Build a new exe file
    Reflect the new exe file in the "name2 Installer"
    Make
    any other changes needed in "name2 Installer", for example different
    documentation files included in install, change in the target install
    directories, changes in the start menu shortcuts. etc.
    Build the install.
    Please let me know if this solves the issue, and let me know how you get on.
    Kind regards,
    Ashish Naik
    Field Sales Engineer
    National Instruments UK

  • Attempting to restore database to same server with different name.

    I have just restored my production database to an earlier backup to recover from a major application error.
    I now need to reatore a second copy of the database to recover some data which was lost as a result of the restore. The only place I can do this is on the same server.
    I can't use duplicate database because the time I want is before the resetlogs time of the current version.
    I don't think I can use recover using backup controlfile because restoring the control file will have the old database name. Can I restore the control file, rename the database and still use the rman backups of the original database?
    If so how?
    Can use set incarnation to get round the resetlogs issue without affecting the current database?
    10gR2
    Windows 2008 64-bit
    Edited by: Jim Smith on Oct 27, 2011 8:54 PM

    Hi
    Database name can be the same ORACLE_SID must be unique on the machine and in specific ORACLE_HOME.
    So effectively you can have 2 databases with the same name but instance names must be unique.
    Paul

  • HT1766 Now, I understand how the backup and restore the backup functions. However, if I don't want to transfer the music that I have on iTunes to my phone, how do I avoid it? How do I not transfer the music or take it out of my iPhone if it is already the

    Now, I understand how the backup and restore the backup features function. However, if I don't want to transfer the music that I have on iTunes to my phone, how do I avoid it? How do I not transfer the music or take it out of my iPhone if it is already there? I really do not want any music on my iPhone because I have an iPod for that. Thanks. Hope someone can help.

    When you connect your phone and start iTunes on the left side you will see your phone listed under devices.Click on te icon next to it that looks like a battery. Click on the music button at the top and uncheck the sync music box.

  • How do I backup and restore the navigation toolbar?

    I want to backup my settings and restore them to a different computer. I can backup and restore my bookmarks but this does not seem to restore the navigation toolbar. Is there a way to backup and restore the navigation toolbar?

    See this article to backup and restore all your profile data: [[Backing up your information]].
    <BR><BR>To make it easier, there are several add-ons that sync your bookmarks, history, passwords etc between several computers. For example [https://addons.mozilla.org/en-US/firefox/addon/xmarks-sync/ Xmarks] and [https://support.mozilla.com/en-US/kb/How%20to%20synchronize%20your%20bookmarks%20and%20settings%20between%20computers Firefox Sync].

  • Can I run Apple TV 1 and 2 together on the same iTunes account and on the same tv with two hdmi slots?

    Can I run Apple TV 1 and 2 together on the same iTunes account and on the same tv with two hdmi slots?

    Yes.
    Captfred

  • I can't send emails from Mail. I have three different accounts set up and have the same problem with all. The mail just sits in my outbox. All worked fine until Yosemite upgrade. Recent update has not fixed problem.

    I can't send emails from Mail. I have three different accounts set up and have the same problem with all. The mail just sits in my outbox. All worked fine until Yosemite upgrade. Recent update has not fixed problem.

    I have been experiencing the same problem. My mail app won't even open on my Late 2011 Macbook Pro. It will show as open, but the app will never actually show up.

  • How do I copy purchases between 2 itunes libraries on the same computer with different log ins and separate apple user ids?

    How do I copy purchases between 2 itunes libraries on the same computer with different log ins and separate apple user ids?

    Load the library which doesn't contain the songs and drag them into the open iTunes application window. If you need to move them between different computer user accounts, put them into /Users/Shared/.
    (74502)

  • CAn I run Lion and snow leopard on the same computer with different sign-ins?

    CAn I run Lion and snow leopard on the same computer with different sign-ins?

    Alternatively, partition your internal HD and dual-boot it. Do note that you have to reboot to switch back and forth. You can't do it by logging out and back in.

  • Why can't two different users use Itunes on the same computer with different log ins

    Why can't two different users use Itunes on the same computer with different log ins

    Pmorgan5672 wrote:
    Why can't two different users use Itunes on the same computer with different log ins
    They can, but not at the same time.
    If one user left iTunes running, and another user tries to use iTunes from a different Windows user ID, that second user will get an error message.  If they really want to use iTunes, they either have to beg the first user to log in and close iTunes, or else they have to restart the computer.
    If you are asking the technical reason why, it is something about context switching.

  • Can you have 2 ipods on the same accounts with different play list?

    Can I have 2 ipods on the same accounts with different plalists?

    Sure.  Each iPod is identified in iTunes with its own name and you configure each one as you wish:

  • Use the same form with different button turned on in different calls

    Can I use the same form with different buttons turned on in different calls?
    Thanks!

    This is to avoid piracy. What could happen is, people could buy music, and give it away for free online. Usually it is then you buy a complete album off iTunes that it will only be available on one device. It is tied to that account, and the device must be registered to that account to listen to it.

  • HELP!! Authorization in the same laptop with different operation systems

    My BF installed Win 7 operation system on his laptop yesterday and re-authorized it when he used iTunes. However, when he finished authorization, a dialog block showing that "*Including this one, you have authorised two computers out of your available 5*" appeared; what's worse, when he connected his iPhone to the laptop, it deleted all the bought apps in the iPhone, instead of synchronizating.
    I also want to install Win 7 operation system, but I'm afraid that the same thing would happen again (to my iTouch).
    We're quite confused that why the authorization in the same laptop with different operation systems is counted as two times. Friends who know please tell us whether this is the case.. If not, please tell us how to deal with it as we frequently re-install operation system for quicker operation.
    Message was edited by: Shiwen
    Message was edited by: Shiwen

    It's the *operating system* that is authorised, not the particular user profile or the hardware. Before upgrading/reinstalling deauthorise and you won't run out...
    tt2

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • [Cisco FAQ] - How do I BACKUP and RESTORE the configuration of the RFGW1?

    I would like to backup and restore my RFGW1

    Go to SYSTEM tab and choose BACKUP CONFIGURATION or RESTORE CONFIGURATION
    Backups of the chassis settings are also written to the associateds FTP server. The backup file is generated and consists of the IP of the chassis and the date.  An example of the backup file name is shown below.
    cfg_10_90_140_15_07_06_2012.gz
    Settings for the FTP server are located at the bottom of the page. Click "show FTP settings".

Maybe you are looking for

  • Cisco 5505 VPN assistance - Resending P1 and Peer to Peer List No match

    Hello and thanks in advance to anyone that can help me with the IPSec connection.  the VPN were working when i first created them but now they wont connect.  Here is the error on the primary (local) firewall: (yes i know the time isnt set yet on the

  • Error in creating a connection pool (No suitable driver)

    I try to create a connection pool in a Weblogic server 7.0 with the following config: URL: jdbc:oracle:oci9:@db_name Driver Classname: oracle.jdbc.driver.OracleDriver Properties(key=value): user=user_name password=user_password dll=ocijdbc9 server=db

  • In app navigation not working for one office member

    We are in the process of laucnhing 4 new magazine apps for January. One of the members of our team is having issues with one specific action. At the bottom of each content folio, we place a button that says go to top. This button links you to the fir

  • Running ls command from Java stroed procedure no output

    Hi , I am trying to run ls command from java stored procedure in oracle Process p = Runtime.getRuntime().exec("ls"); BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream())); BufferedReader stdError = new BufferedReader

  • How to update files in jar?

    Is there any way that I can update a file stored in a jar?