Backup

  • Hi Experts,

    Is it possible to take backup to a remote machine in which i have full permissions.I need to take full backup of a database to another machine in same network.

    TIA

  • yes u can take backup to remote machine by sharing the path in network through TSQL we can take backup.Try it i am doing that only.

    you can specify path like "\\testsvr\backup"

    its stores backup folder.

  • [font="Verdana"]Hi Rathesh,

    If the database size is small then you can take the backup directly to share drive else you can take the backup to the local disk and then copy from there to shared drive, coz time taken to backup the db will depends on network speed![/font]

  • As Anjan mentioned you can use a network share, but make sure that SQL Server's service account has permissions to write to the network share.

    You can read more on the requirements for this in Books Online:

    http://msdn.microsoft.com/en-us/library/ms179313.aspx Read the section "Backing Up to a File on a Network Share"

    Regards,

    Andras


    Andras Belokosztolszki, MCPD, PhD
    GoldenGate Software

  • bear in mind that if you backup accross the network, there is a risk that the backup could be corrupted if there is a network glitch - so it may be better to backup to a local drive first and then copy it to the other network drive. That way, you can retain the local backup until it has been copied safely to the other location at which point you can delete the original - so you are covered

    just my 2c 🙂

  • Usually you'll find if there's a network glitch, the backup will fail. I almost never run the backup across the network. run it locally and copy it.

  • Hi Steve - that's what I was trying to say :w00t:

  • Thanks all

    The problem is that there is not enough space in local disk and am trying to take back from a client machine to another remote machine..

    But its throwing error 🙁

  • How about

    1. Using third party backup tool which creates compressed backup file.

    2. Writing a stored procedure to take backup which will retry if the backup fails.

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply