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
Grasshopper
Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)Grasshopper (16 reputation)

Group: General Forum Members
Points: 16 Visits: 37
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
Mr or Mrs. 500
Mr or Mrs. 500 (571 reputation)Mr or Mrs. 500 (571 reputation)Mr or Mrs. 500 (571 reputation)Mr or Mrs. 500 (571 reputation)Mr or Mrs. 500 (571 reputation)Mr or Mrs. 500 (571 reputation)Mr or Mrs. 500 (571 reputation)Mr or Mrs. 500 (571 reputation)

Group: General Forum Members
Points: 571 Visits: 1444
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
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 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
Hall of Fame
Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)

Group: General Forum Members
Points: 3340 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
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 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
Hall of Fame
Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)Hall of Fame (3.3K reputation)

Group: General Forum Members
Points: 3340 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
Grasshopper
Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)Grasshopper (11 reputation)

Group: General Forum Members
Points: 11 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