SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Backup Database on remote server


Backup Database on remote server

Author
Message
Tom.Bauto
Tom.Bauto
SSC-Enthusiastic
SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)SSC-Enthusiastic (132 reputation)

Group: General Forum Members
Points: 132 Visits: 38
Good day!

Need:
I need to backup my database (data/log) from my db server to a remote backup server.

Question:
1. Is there a tool or process (GUI) on how to backup my database on a remote server? because i have tried to map my remove server but the database maintenance place does not see it.

2. Query to backup my database? because i want to create an script that will be executed by my external application and does the backup.

Please i need your urgent reply; i worried about my data because i had experience database suspect Crying these days.

thanks in advance!

_____________________________________________
ToM™ (Possibility will come out of nothing)
Wildcat
Wildcat
SSCrazy
SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)SSCrazy (2.8K reputation)

Group: General Forum Members
Points: 2838 Visits: 1445
1. Make the remote folder shared, and make sure the SQL Server Agent has write-permission on that folder. (Maint plan can't see the remote shared folder. You have to input the address.)

2. Use backup command:

BACKUP DATABASE dbname
TO DISK = 'remote folder address'


cemmeke
cemmeke
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 23
Wildcat (10/6/2008)
1. Make the remote folder shared, and make sure the SQL Server Agent has write-permission on that folder. (Maint plan can't see the remote shared folder. You have to input the address.)

2. Use backup command:

BACKUP DATABASE dbname
TO DISK = 'remote folder address'



give you any sample for 'remote folder address' ?

thanks
David Benoit
David Benoit
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19006 Visits: 3650
cemmeke (10/7/2008)

give you any sample for 'remote folder address' ?

thanks


\\YourServerName\YourShareName\ should work.

David

@SQLTentmaker

“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
cemmeke
cemmeke
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 23
DavidB (10/7/2008)
cemmeke (10/7/2008)

give you any sample for 'remote folder address' ?

thanks


\\YourServerName\YourShareName\ should work.


like \\78.82.156.89\MyShareName\FolderName

?

thanks again
David Benoit
David Benoit
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19006 Visits: 3650
If you are able to browse to that path from windows then that will work.

Just a note, but I wouldn't leave that IP posted here if it is valid. You can use the Edit button to make that something like XXX.XX.XX.XXXX Security....

Sorry for the delayed response.

David

@SQLTentmaker

“He is no fool who gives what he cannot keep to gain that which he cannot lose” - Jim Elliot
cemmeke
cemmeke
SSC Rookie
SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)SSC Rookie (33 reputation)

Group: General Forum Members
Points: 33 Visits: 23
DavidB (10/7/2008)
If you are able to browse to that path from windows then that will work.

Just a note, but I wouldn't leave that IP posted here if it is valid. You can use the Edit button to make that something like XXX.XX.XX.XXXX Security....

Sorry for the delayed response.


thank you for response..but i try and it doesn't work Sad i think i don't understand..how to set on sql server management studio to do this? should i share my any folder like local area network?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search