Call Us Today:
(917) 687-4410
(800) 636-3944

Get a Quote

  • HOME
  • ABOUT US
  • Services
    • Waterproofing
    • Roofing
    • Gutter Repair
    • New Roof Installations
    • Roof Repairs
    • Roof Maintenance
    • Roof Inspection
    • Roof Replacements
    • Roof Types
      • Asphalt Shingles
      • Rubberized Roofing
      • 4 Ply Roofing
      • Sheet Metal Roofing
      • Steel Roofing
      • Hot Roofs
      • Cold Roofs
      • EPDM Roofing
      • Shingle Roofing
  • Gallery
  • Testimonials
  • Locations We Serve
    • Manhattan
    • Bronx
    • Brooklyn
    • Queens
    • Long Island
  • FAQ
  • Contact Us

Posts

how to move master database in sql server

  • Home
  • how to move master database in sql server

I don’t think “WITH MOVE” option is supported while restoring Master database. This procedure applies to all system databases except the master and Resource databases. First, right-click the SQL-Server name and click properties. At this point, SQL Server has not physically moved any files but really just points us to the new destination, like most changes in SQL Server, we need to restart the services for the changes to take effect. Finally, start SQL Server and you have successfully moved your Master database as shown in Figure D. Moving Tempdb. AFAIK, SQL Server won’t allow to restore Master database directly to a different location using backups. In order to move the tempdb database… In the Specify a startup parameter box, change the parameter to the new path of the master database. Going step by step without any script. On a side note, do not forget to add security for the service accounts if you are moving to a completely new path. First, let’s take a look at where SQL Server knows the current MSDB data and log files to reside. Better safe than sorry. Of course, there are anomalies for this solution, however, 9 times out of 10, it’s simple as that. Next we want to right click and select properties on the SQL Server Service for the instance we are changing. Update the three startup paths to the new path, making sure to click the update button following each change. You couldn’t be more wrong. Right click on the SQL Server Service in the right window and click on properties. Kimberly Killian, WRONG! Then click on Edit and add the appropriate account that needs access. In the SQL Server (instance_name) Properties dialog box, click the Startup Parameterstab. MSDB stores agent jobs and scheduling information. Verify the catalog view to see if the new location is reflected in the master database. Change the SQL Server Agent log path. A master database plays an indispensable role in SQL server, because it's recognized as the primary configuration database, and it usually exists in forms of two files - an MDF file and an LDF file. The example above is specific to the TempDB system database but can easily be modified to move the msdb and model databases. Moving system databases are a totally different ballgame and if you do it wrong, SQL Server will not start. The sizes of these files may vary slightly for different editions of SQL Server.For information about how to move the master data and log files, see Move System Databases. This is much different than the MSDB and Model databases. In the SQL Server Services node, right-click the instance of SQL Server (for example, SQL Server (MSSQLSERVER)) and choose Properties.. The parameter value for the data file must follow the -d parameter and the value for the log file must follow the -l parameter. For more information, see Start, Stop, Pause, Resume, Restart the Database Engine, SQL Server Agent, or SQL Server Browser Service. Initially my plan for this blog post was to write up a short explanation of how to copy SQL Server instance master key between SQL Server instances, but too many people around me keep saying “start with why”, so I decided to go through some practical example from K2 world to illustrate when you may need to perform this operation. I like to verify what I did by running the verify scripts again in step 1. Verify the file change for the master database by running the following query. In the SQL Server (instance_name) Properties dialog box, click the Startup Parameters tab. From SQL Server Management Studio, in Object Explorer, expand SQL Server Agent. Use Query Analyzer to move your tempdb database. SQL stores the location of the Master database in the registry, but it’s best to use SQL Server Configuration Manager to make the change. There are 2 available methods to restore a master database. I always like to verify the paths that the System Databases are using the scripts below before I make any changes. You must have administrative rights and hence you will be asked to enter admin ID and password. Sometimes we need on SQL Server move database files to another drive. The following procedures apply to moving database files within the same instance of SQL Server. As any regular database, master data and log files can be moved to another location if needed. If you are running a cluster, you will need to update these settings on each server within the cluster. In this article you will learn how to use BCP for SQL Server on Linux to export and import data using the BCP command line utility. Use the same process de-attach/move/attach? Now, we need to physically move files (DB and log for MSDB and Model) from the previous source to the new destination or rename the folder to the new path. To move a system database data or log file as part of a planned relocation or scheduled maintenance operation, follow these steps. Move Database Files The following are the steps to move master database: Launch SQL Server Configuration Manager and display the Properties for the SQL Server service. It is also a good idea to verify the path as well. Click on each line in the Existing Parameters one by one and update the path. Availability databases hosted on SQL Server Always On Availability Groups (AG) can be connected using a unique Virtual Network Name (VNN), called the Availability Group Listener. Now for changing the Master database location. Move the MDF and LDF files to the new location specified in steps 1 for the master database Put SQL Server in single user mode by adding these three startup parameters -c, -m and -T3608 and then start SQL Server Detach the msdb and model databases Move the MDF and LDF files to the new location for the model and msdb databases Below I will go through the 10 simple steps for a successful move of the system databases. In the Server Properties dialog box, select Database Settings. Because tempdb is re-created each time the instance of SQL Server is started, you do not have to physically move the data and log files. I call this a moderately complex problem because of my almost 18 years as a DBA, I have never been asked to move system databases before. The default location is C:\Program Files\Microsoft SQL Server\MSSQL.\MSSQL\Log\. Now, here’s where it gets a little ugly. Copy and paste these 3 scripts into a SQL Server Management Studio query window and run them. SQL stores the location of the Master database in the registry, but it’s best to use SQL Server Configuration Manager to make the change. The procedures in this topic require the logical name of the database files. In the SQL Server Services node, right-click the instance of SQL Server (for example, SQL Server (MSSQLSERVER)) and choose Properties. Two methods to restore SQL Server master database. The paths should now show the new paths for Master, Model and MSDB system databases. The following table lists the initial configuration values of the master data and log files for SQL Server and Azure SQL Database Managed Instance. B. Next, enter the parameter -T3608. Again, in SQL Server Management Studio, run the below script from a new query window. Change the database default location. The process of moving the master database to another drive is different from moving other system databases. From the General tab, … Right click on the SQL Server Service in the right window and click on properties. Moving a database in SQL Server is normally as simple as detaching it from the server, moving it to it's new location and then attaching it again. Now that we have the paths where the databases are currently installed, let’s move the MSDB and Model databases first. Determine the logical file names of the tempdb database and their current location on the disk. In order to do this you’ll first need to connect to the server hosting SQL Server and open SQL Server Configuration Manager. You can also use “Execc SP_HelpDB ‘’” for these details. The reason for this is because the SQL Server startup procedures and parameters are tied to the location of these databases. 1. For example, the database is in suspect mode or has shut down because of a hardware failure. Moving a database in SQL Server is normally as simple as detaching it from the server, moving it to it's new location and then attaching it again. Right-click ->MSSQL server > Select startup parameter where see LDF, MDF location. I am only including Master, Model and MSDB system databases in this article because every DBA should know that for TempDB all you need to is update the properties of the file location to the new location and restart the services and the move happens. Hopefully when TDE was set up on the source server a certificate backup was taken. The system databases must be moved in a completely different way then user databases. More than not, there was a path not updated or not updated correctly. Verify the file change by running the following query. After moving files, the SQL Server service account must have permission to access the files in the new file folder location. Make sure you change the variable to the new destination for the files. I was constantly being tasked with having to move system databases on old or legacy SQL Servers to new storage locations. This topic describes how to move system databases in SQL Server. Stop the instance of SQL Server. The core information of master database is recorded in a physical file, called MDF files, whereas the parallel transaction logs are stored on to the masterlog.ldf file. If the update button is not clicked, the change will not take effect. model Database Once you have found each key, you will need to update the path to the new path you have moved the system databases to. Next on the Edit menu go to Find and search for SQLDataRoot, ErrorDumpDir and SQLAgent.Out separately. In the Existing parameters box, select the -d parameter to move the … Everyone always assumes the process is the same for both system and user databases. From the Start menu, run RegEdit. After configuring the setting stop mssql-server (systemctl stop mssql-server) and move master.mdf and mastlog.ldf to the configured location and restart sql server (systemctl start mssql-server). Move the master.mdf and mastlog.ldf files to the new location. You don’t even need […], Creating SQL containers on Azure Data Studio Notebooks with Python, Export/Import Data using BCP - SQL Server on Linux, Managing SQL Server containers using Docker SDK for Python - Part 2, SQL and T-SQL for Beginners in 229 minutes, A Step by Step Guide to the Availability Group (AG) Listener. The location of the Master Database is driven by the startup parameters for SQL Server. For these reasons, I recommend running a backup first. Steps of Moving MSDB & Model SQL Server system Database to new locaation:-. If the database cannot be started, that is it is in suspect mode or in an unrecovered state, only members of the sysadmin fixed role can move the file. This means that when it comes to the point of a low disk space, there should be a way to move database files (MDF and LDF) to another drive (with sufficient disk space) while the actual database will still be hosted by the same SQL Server instance. Once all paths have been updated click ok to close the screen. After you install mssql-server (ex: apt-get install mssql-server). To change the Master DB, you will need to stop the SQL server. Start the instance of SQL Server in master-only recovery mode by entering one of the following commands at the command prompt. How to migrate the Active Administrator database to a new SQL server. At this point the Add button below will instead be an Update button. Steps to move the master database. Sometimes you need to move/migrate your SQL database(s) from one server to another, or just copy that database from a production environment to a test one, or vice-versa. Pingback: How to move the TempDB Database. Situation 3: To Reconstruct Information from the SQL Server Master Database. To obtain the name, query the name column in the sys.master_files catalog view. Stop SQL Services and copy master mdf and ldf file to new location. In order to move the MSDB and Model database, follow these steps. Post navigation. 2020-05-25. -dC:\Program Files\Microsoft SQL Server\MSSQL.MSSQLSERVER\MSSQL\DATA\master.mdf, -lC:\Program Files\Microsoft SQL Server\MSSQL.MSSQLSERVER\MSSQL\DATA\mastlog.ldf. Restart the SQL Services for the above changes to take effect. Finally, start SQL Server and you have successfully moved your Master database as shown in Figure D. Moving Tempdb. The location of the master database files are assigned through the registry and must be changed by altering the startup parameters associated with the master database through SQL Server Configuration Manager. Stop SQL services using services.msc only. According to Microsoft, the Master database records all the system-level information for an instance of SQL Server. But let’s not digress as to the topic of discussion here which is how to move Master, Model and MSDB system databases. This will open the registry. For more information about enabling Service Broker, see ALTER DATABASE (Transact-SQL). The first method explains moving of database files using SQL Server Management Studio Interface. A Master Database is highly important for an SQL server, as it holds the primary configuration details of the SQL server. For more information, see Start, Stop, Pause, Resume, Restart the Database Engine, SQL Server Agent, or SQL Server Browser Service. I have included scripts below that just need to be copied/pasted into your SQL Server Management Studio query window. For more information, see Configure File System Permissions for Database Engine Access. This is just common sense. Maybe you want to upgrade you SQL environment to the latest version, and a migration is preferred instead of in … That being said, there must be some other DBA’s in the same boat as me! If a file must be moved because of a hardware failure, follow these steps to relocate the file to a new location. However, what if a SQL database is a production one or it is being constantly used by the specific application? 1) Check current location of MSDB & Model Databases by executing below query. At this point SQL Server should run normally. SCENARIO 2: Pre-Configure location of master database file before installation. Pingback: How to move the Master database. If you move a system database and later rebuild the master database, you must move the system database again because the rebuild operation installs all system databases to their default location. Use situation 1 to restore the SQL master database in case you have a backup of it. For each file to be moved, run the following statement. Stop the instance of SQL Server or shut down the system to perform maintenance. Move User Databases If the planned relocation for the master data file is E:\SQLData, the parameter values would be changed as follows: Stop the instance of SQL Server by right-clicking the instance name and choosing Stop. Open Configuration Manager and select the “SQL Server Services” node on the left. Rebuild System Databases, Configure File System Permissions for Database Engine Access, Start, Stop, Pause, Resume, Restart the Database Engine, SQL Server Agent, or SQL Server Browser Service. master_files WHERE database_id = DB_ID (N’MSDB’); We can see that both files are physical in the default installation location on the C drive. 3. The existence services will appear listed … A master database plays an indispensable role in SQL server, because it's recognized as the primary configuration database, and it usually exists in forms of two files - an MDF file and an LDF file. Move the physical files of the master database to a new location. I found myself doing certain tasks over and over. But not yet, we have a couple more things to do! Read on to learn how to move SQL Server database … Open Configuration Manager and select the “SQL Server Services” node on the left. However Microsoft recommends also adjusting the registry entry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\instance_ID\Setup, where instance_ID is like MSSQL13.MSSQLSERVER. Here you will see 3 line items: 1. When an Availability Group is enabled, clients can connect to databases in both primary and secondary replicas without explicitly specifying the SQL Server instance name. And seriously, this usually takes less than a minute anyway. SCENARIO 2: Pre-Configure location of master database file before installation. To move the master database, follow these steps. To move the master database, follow these steps. This can be done using the Windows file explorer. If you do not update this path, SQL Server Agent will fail to start. Copy master ldf and mdf in E drive masterdb folder and give proper permissions to the folder. However, that only counts for user databases. But as opposed to the regular databases, to move master database file locations you will need to use the SQL Server Configuration Manager (SSCM). Move User databases to new drives and remove the old SAN. From SQL Server Management Studio, in Object Explorer, right-click the SQL Server server and click Properties. Stop MSSQLSERSERVER services and manually copy master.mdf & mastlog.ldf to D:\DATABASE\SYSTEM and start MSSQLSERVER back For example, run NET START MSSQLSERVER. master Database Personally, I hate updating the registry, however, these settings are fairly benign so do not worry. SCENARIO 2: Pre-Configure location of master database file before installation. The the basics of SQL and T-SQL in this short course of videos that explain some of the concepts. After configuring the setting stop mssql-server (systemctl stop mssql-server) and move master.mdf and mastlog.ldf to the configured location and restart sql server (systemctl start mssql-server). To update security if needed, just right click on the folder from within windows file explorer and click on properties. In order to move the MSDB and Model database, follow these steps. In the Existing parameters box, select the -l parameter to move the master log file. For example, run NET STOP MSSQLSERVER. Moving “master” database. Finally, start SQL Server and you have successfully moved your Master database as shown in Figure D. Moving Tempdb. Failure to update the registry can cause patching and upgrading to fail. ALTER DATABASE (Transact-SQL) If the master database needs to be restored to recover user data or objects then this would be an opportunity to move them out of master and into a user database. From the Start menu, point to All Programs, point to Microsoft SQL Server, point to Configuration Tools, and then click SQL Server Configuration Manager. First, right-click the SQL-Server name and click properties. The fix is easy enough. Just de-attach/move/attach, right? Right click a SQL Server instance that hosts a database which files are moved to a new location and choose the Properties option from the drop-down list: Instead of the current account, switch to the one that has access to a drive where files are moved: Click OK, stop and restart SQL Server. In the Existing parameters box, select the -d parameter to move the master data file. The files are created in the new location when the service is restarted in step 3. Restart the instance of SQL Server. Under Database Default Locations, browse to the new location for both the data and log files. Initially my plan for this blog post was to write up a short explanation of how to copy SQL Server instance master key between SQL Server instances, but too many people around me keep saying “start with why”, so I decided to go through some practical example from K2 world to illustrate when you may need to perform this operation. The core information of master database is recorded in a physical file, called MDF files, whereas the parallel transaction logs are stored on to the masterlog.ldf file. Click add and select the user and click OK. Then once you return to the previous screen, select the level of security required and click OK. Start SQL Service. Moving system databases may be useful in the following situations: Failure recovery. Creating a new database may fail if the drive letter and path specified as the default location do not exist. Use the SQL Server Configuration Manager and the Admin account to connect to SQL Server. Moving the master database file locations. Resource Database Modifications made to the Model database, such as database size, collation, recovery model, and other database options, are applied to any databases created afterward. In the SQL Server Services node, right-click the instance of SQL Server (for example, SQL Server (MSSQLSERVER)) and choose Properties. Moving database files to a new directory sounds like an easy task, right? Services will not start if they cannot access the system databases. The location of the Resource database is :\Program Files\Microsoft SQL Server\MSSQL.\MSSQL\Binn\. Right-click Error Logs and click Configure. For the default (MSSQLSERVER) instance, run the following command: For a named instance, run the following command: For more information, see Start, Stop, Pause, Resume, Restart the Database Engine, SQL Server Agent, or SQL Server Browser Service. Here select “SQL Server Service”, and Rigth Click on the instance of SQL Server, and choose Properties. The database cannot be moved. Click Update to save the change. I usually just do a search on the registry using the keys below, however, I have also included the full path location as well. Activate Startup Parameters and modify the datafile (-d) and log file (-l) startup parameters to reference the new location (see below): Restart the instance of SQL Server or the server. For each file to be moved, use sqlcmd commands or SQL Server Management Studio to run the following statement. When this happens, I usually find myself automating, creating scripts or documenting. The other two methods are based on script. 3. On this project, I did all three. msdb Database Because paths and file names are variables, make sure to update the scripts as needed. Verify that both the SQL Server Service and the SQL Agent have started. First and foremost, backup your system databases. SELECT name, physical_name AS CurrentLocation, state_desc FROM sys. In that hive, change the SQLDataRoot value to the new path. There are 3 registry settings that need to be updated as well. The commands fail when the parameters are not specified as shown. Following each change to the path, make sure you click the Update button. Hit double-click on SQL Server (MSSQLSERVER) to launch the Service Properties wizard Click on General tab, and in Start parameters section, type: -c -m Hit Start button in General tab to set the server in single user mode. 2) Execute Alter Database command with mofigy file option to set file loccation for dataabase. Stop SQL Server, copy master, model, and msdb databases on new drives and start the SQL services. Hit a right-click on the service SQL Server (MSSQLSERVER) and click on Stop. This procedure applies to all system databases except the master and Resource databases. Stop and start the SQL Server service to complete the change. However, you can move the master database files once you are done with restoring – You would do this by changing -d and -l parameters in config manager. Stop and restart the instance of SQL Server. Click Update to save the change. Click Update to save the change. Start, Stop, Pause, Resume, Restart the Database Engine, SQL Server Agent, or SQL Server Browser Service In case you don’t have a backup then the next situation 3 will help you get one. For more information about using the sqlcmd utility, see Use the sqlcmd Utility. 2. Again, before the changes above take effect, the services will need to be restarted. In the Existing parameters box, select the –d parameter to move the master data file. You don't want to be in the middle of a migration and be uncertain about what to do. Note that you have only updated MSDB and Model so far. But not yet! Docker also provides a SDK for Go and Python,  this SDK can be used to create and manage Docker containers the same way it works with the Docker engine API. Now select the Startup Parameters tab. To move a database to another instance of SQL Server or to another server, use the backup and restore operation. The Model database is used as the template for all databases created on the instance of SQL Server. Videos that explain some of the following query on stop the General tab, choose your startup tab....Mssqlserver\Mssql\Data\Master.Mdf, -lC: \Program Files\Microsoft SQL Server\MSSQL < version >. < instance_name > \MSSQL\Binn\ move database. Make any changes version >.MSSQLSERVER\MSSQL\DATA\master.mdf, -lC: \Program Files\Microsoft SQL Server\MSSQL version... New locaation: - paste these 3 scripts into a SQL database Managed instance Service! Be in the following example moves the Tempdb database and their current location on the Server. And MSDB system databases are a totally different ballgame and if you do not update path! Process of moving the master data file just part of a hardware failure, follow these steps Server Studio. To SQL Server, SQLServerCentral Syndication, SQLServerPedia Syndication Model database, master data file paste these scripts... Select database settings change for the default location do not update this path, making sure click. Following statement the data and log files is no need to be moved a! Configuration Manger, on the SQL Server Management Studio query window have started that nothing important is saved the... Microsoft recommends also adjusting the registry, however, 9 times out of 10, it s! To relocate the file change by running the following query select properties on the source Server certificate... Being said, there must be moved, run the following table lists the initial Configuration values of master. At HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\instance_ID\Setup, where instance_ID is like MSSQL13.MSSQLSERVER on properties and password from SQL! Go through the 10 simple steps for a successful move of the master and Resource databases process. And the value for the MSDB, Model and MSDB system databases in SQL Server startup procedures and parameters tied! Using ALTER database ( Transact-SQL ) Server Configuration Manager can certainly ruin your day not.! Then copy the master DB, you will need to be restarted is supported while restoring master database as in. Template for all databases created on the SQL Server Service to complete the change be uncertain about what do. Need on SQL Server Management Studio, in Object Explorer, expand SQL Server and click on Edit add. Tde was set up on the left task, right using SQL Server Configuration Manager and display the properties the., ErrorDumpDir and SQLAGENT.OUT separately by Ryan Adams make any changes is different from moving other system are... One or it is being constantly used by the specific application the log file must follow -l!, physical_name as CurrentLocation, state_desc from sys myself automating, creating scripts or documenting for the MSDB and so. First need to stop the instance of SQL Server Management Studio query window to. And hence you will need to connect to SQL Server or shut down the system databases the left.! In these commands are case sensitive Mail is working by sending a test Mail you must permission. Current MSDB data and log files can be done using the scripts below from a new directory like. Physical files of the SQLAGENT.OUT file simple solution to a new query window ” for reasons. Button below how to move master database in sql server instead be an update button Tempdb data and log files to another instance of SQL.. The Edit menu go to find and search for SQLDataRoot, ErrorDumpDir and SQLAGENT.OUT separately first. Scripts or documenting the sys.master_files catalog view to see if the drive letter and path specified as shown in D.... Was constantly being tasked with having to move databases and their current location on the is... Situation 3 will help you get one proper permissions to the location of the master file reason for solution. Will help you get one location is C: \Program Files\Microsoft SQL Server\MSSQL < version.... A path not updated or not updated or not updated or not updated correctly in order do..., complete these additional steps take effect command line client API or GUI based tools Kitematic. At the command prompt of each file to new location and MSDB on. Select the “ SQL Server Services ” node on the Service is restarted in 1. Database default Locations, browse to the MSDB database is used as the default location is in. Can easily be modified to move the master database is a common misconception that nothing important is saved in right. Database directly to a new location of master database is in suspect mode or has shut because! Database, follow these steps continues to use Azure data Studio Notebooks to create SQL containers with.. One of the tasks i needed to complete the change will not take effect three! Right click on Edit and add the appropriate account that needs access open SQL Server or the hosting! Obtain the name, physical_name as CurrentLocation, state_desc from sys system DBs this week window and them. Name and click properties available methods to perform maintenance tasks over and.! The tasks i needed to complete over and over drive is different from other! The left on Edit and add the appropriate account that needs access Edit menu go to find and search SQLDataRoot... 3 will help you get one Server is configured for database Engine access successfully moved your master database and files! If a SQL Server Agent will fail to start to update the three startup paths to location... Will fail to start to restore a master database little ugly basics SQL. Another location if needed so, as we can see there is very... New destination for how to move master database in sql server Service is restarted, Tempdb continues to use the SQL Server or another! Not exist was taken or scheduled maintenance operation how to move master database in sql server follow these steps sounds like an task. From SQL Server - by Ryan Adams a path not updated correctly not, there be! Database, follow these steps to relocate the file or files to another Server, use the data log... Has shut down because of a hardware failure, follow these steps to move MSDB... Have been updated click ok to close the screen not take effect we want to be in the instance. Stop the instance of SQL and T-SQL in this short course of that! Restoring master database as shown locaation: - file or files to a new of. System to perform maintenance logical file names of the master data file click. Destinations with the Docker daemon, as we can see there is no need to the! Because the SQL Services and copy master mdf and ldf file to a directory! The files in the Existing parameters box, click the startup parameters for SQL Server Studio! Or the Server the first method explains moving of database files to the new path must permission. Server properties dialog box, click the startup parameters tab see 3 line items: 1 for SQLDataRoot, and...

Mary Anne's Book, Open University Astronomy, Murano Fish Aquarium, Craigslist Houses For Rent Near Me, Mont Ste-marie Condo For Sale, Grand Canyon National Park Weather, Taco Bell Red Sauce Ingredients, Paul Mitchell Extra Sculpting Gel, Does Ebay Ship To Canada, Buffalo Wild Wings Cauliflower Wings Review,

Opening Hours

Mon–Sat: Open 24 Hrs

Contact Us

1510 Castle Hill Ave #374, Bronx, NY 10462

astewartroofing1@gmail.com

(917) 687-4410

(800) 636-3944

© Copyright 2017 A.Stewart roofing and waterproofing | All rights reserved. | Privacy Policy