Forum Discussion

Jivo's avatar
Jivo
Level 3
13 years ago
Solved

Backup to NAS device - how to bring it online

I am using a NAS device for backup over the network. Whenever NAS is shortly unavailable due to any event (NAS reboot, short network outage), BE declares it off-line and would not bring it on-line automatically ever, although it is present on network, running and accessable.

Is there a way to fix this problem?

  • I have finally managed to adjust the batch file so that it woud run from Task Scheduler (thanks to my PS gurus). The command should look like this:

    CD\
    powershell.exe -noProfile -ExecutionPolicy Bypass -command "&{import-module bemcli;Get-BEDiskStorageDevice | Set-BEDiskStorageDevice -Disabled $false}"

    My issue is resolved by this - this command brings the storage on-line.

  • Hi

     

    I guess when NAS connection losses yes backup to disk folder would go offline the best way to bring it online would be right click on it to make it online and they do inventory were backup exec will try to establish the connection again else restarting the services will help too,but no way to automate this process.

     

    Thanks

  • You may take the following action 

     

    • Use the following BEMCLI command in a batch file(see attachment) to mark all disk storage back online.(this can be
      executed with windows task scheduler a few minutes after the storage goes offline.)


       CD\
       powershell.exe -command "&{import-module bemcli;Get-BEDiskStorageDevice | Set-BEDiskStorageDevice -Disabled $false}"

     

    refer document 

    http://www.symantec.com/business/support/index?page=content&id=TECH189831

     

  • Hi,

     

    Does your NAS do iSCSI? If so, investigate using this to present LUNs to your backup server. These disks appear as local disk and you shouldn't have an disconnect errors as long as you have a persistent connection (a setting you can check).

    If you use Windows Server 2003 you need to download an iSCSI initiator to be installed. If you run WIndows Server 2008 R2, then it is built-in to the OS.

    Read my article below on how I did this with an Iomega NAS...

     

    https://www-secure.symantec.com/connect/articles/using-iscsi-backup-your-environment-nas-backup-exec

    Thanks!

  • RahulG,

    Thanks for the tip - this seems to be exactly what I need. I just need to figure out the proper way to start the script in task scheduler AND a way to tell that the storage is off-line BEFORE I actually get the message that my backup has failed ;-)

    CraigV, thanks - but I would not like to use iSCSI mode for some reasons which are beyond this discussion.

    BR,

    Jivo

     

  • ...the minute your storage goes offline your job is destined to fail, so knowing that it has gone offline won't allow you to do anything, unless you look at checkpoint restart.

  • Well, so far my storage went off-line during reboot for regular maintenance, and during master switch reboot. Both events hapened well outside my regular backup windows, so I did have a chance to check before backup job has started (and failed). I would just want to do this automatically.

    One way would be to start the script before the first job, but even better is to react ONLY when off-line state is detected and put it on-line after 5 or 10 minutes.

  • I have finally managed to adjust the batch file so that it woud run from Task Scheduler (thanks to my PS gurus). The command should look like this:

    CD\
    powershell.exe -noProfile -ExecutionPolicy Bypass -command "&{import-module bemcli;Get-BEDiskStorageDevice | Set-BEDiskStorageDevice -Disabled $false}"

    My issue is resolved by this - this command brings the storage on-line.