How download a backup sql database from server with permission - sql

For example I have a backup SQL Server database on IP : 192.168.1.2 and I want to get backup this database from other server.
SQL Server has permission but I haven't accessed to IP address.
How can I solve this?

You don't need to have access to ip address to initiate backup(assuming you have permissions to backup) unless your ip address is in blocked list..
You can just initiate a backup request

Related

Connecting to DB through internet

I have SQL Server DB in my computer, attached to my server. I want to access it through internet.
Please advise what will be the connection string etc. for it.
is your SQL Server accessible via your local management studio, if yes then you'll use same credentials for your connectionstring to connect to remote server. else you have to configure DNS or firewall options to allow this kind of connection.

Why can I not connect to SQL Server using IP address, but works with server name?

I have a server hosted in Amazon's cloud (EC2, AWS), where I have SQL Server installed. With SSMS on the server, I can connect to the server instance using the Amazon server name and the SQL Server instance. However when I use the IP address, I cannot connect.
I have Allow Remote Connections to Server checked.
Similarly, I am unable to connect to the SQL Server instance remotely.
How can I resolve this?
Ensure you have enabled port 1433 to your specific public ip address in the appropriate security group.
You may also have to update the windows firewall config to allow the service to accept connections.
JL

Need help with remote SQL server. some to do with Azure Portal

I was supposed to set up a localhost for a user. But it turned out that the website is on an SQL server and not MySQL.
I installed wamp and the website runs fine. But wherever there is a database connection, it tries to connect to the remote server, which doesn't give access. I have some visual studio and configuration files and what not. And I am clueless about what to do.
The website on the localhost tries to connect to the remote server, but i get this message:
"Could not connect. Array ([0] = ... Login failed for user '####'... cannot open server '########' requested by client. client with ##### IP is not allowed to access this server. To enable access, use the SQL Azure Portal or run sp_set_firewall_rule on master database..
I also have this bit of code in the connection file, that i think shows that the database is hosted on this website:
$srver = "http://########.cloudapp.net/";
Any help will be appreciated!
When you configure SQL Azure, you can specify what the allowed IP addresses are. As the error message indicates, the requesting IP is not authorized to access that database.
How to: Configure the SQL Azure Firewall
SQL Azure Firewall

remote sql server backup in local drive

i wan to backup remote server in local machine
Use UNC Path
Backup database your_db to disk='\\your_sys_name\drive_name\file_name'
As Madhivanan states, you could try to run a backup on the remote server, that backups to a local network share. Requirements are:
The SQL Server Service must run under a domain level account
The SQL Server Service must have FULL CONTROL access to the network share
The UNC network path ( \\SERVER\SHARENAME ) should be used, no mapped drive letters
For more information see http://support.microsoft.com/kb/555128

how to connect to another sql server database(server pc) in local area network

i m creating an application, inwhich client has to acces a database stored in a remote location connnected through a live ip. how can i connect simply with a database server placed in LAN. both using sql server 2005 express edition. please refer me or help me on this
Set in your connection string IP address of remote server.
E.g.
"Data source=192.168.0.13; Database=MyDb;User ID=my_user;password=12345"
where 192.168.0.13 is your remote server IP and MyDb is your database name.
Also, make sure to configure your SQL Server Express to allow remote connections! Those are disabled by default after installation.
Check out the SQL Server Surface Configuration tool (if I'm not mistaken) to configure these settings.
Marc
This not about programming. You have forward the port which Sql Server uses on modem.