D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-321 => Topic started by: Hayes on August 18, 2009, 02:31:17 PM

Title: Automated backup to second DNS-321?
Post by: Hayes on August 18, 2009, 02:31:17 PM
Did some searching, but am uncertain of the conclusion: 

Is there an easy way to backup my existing DNS-321 (used mostly as a media server) to a second DNS-321 on my network?  I realize that I could manually copy files manually from one unit to another, but is there a Windows-based program that could run scheduled or incremental backups from one DNS-321 to another? 

Thanks for your time. 
Title: Re: Automated backup to second DNS-321?
Post by: ECF on August 18, 2009, 03:07:35 PM
Have you tried the Scheduler if you click application instead of configure when you log in?
Title: Re: Automated backup to second DNS-321?
Post by: grogs on August 20, 2009, 07:52:37 PM
I looked at the scheduler but I wanted to do 'Incremental Backups' which appear to be a local only option. At least that is what it says:

Recurring Backup
[ ] Incremental Backup (Only for local backup)

Well that is not what I wanted to do. Backup between two separate NAS devices was the name of the game.

I have two DNS-321's.
The first DNS-321 has two WDC WD10EADS 1TB drives installed in RAID-0.
The second DNS-321 has two Seagate ST31500341AS 1.5TB drives installed, also in RAID-0.

I use RoboCopy 'Robust File Copy for Windows' under VISTA to backup the first NAS to the second NAS. RoboCopy actually comes with VISTA and the command line version is just perfect for this job.

NOTE: For Windows 2003 and Windows XP you can download the Resource kit from Microsoft which includes Robocopy.

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd

Here is the command - Save as nas-backup.bat and adjust IP address and location as needed:

robocopy \\192.168.1.116\Volume_1\Media \\192.168.1.124\Volume_1\Media /MIR /Z /LOG:monthly-backup.log /TEE /PURGE

If no files have been added or changed then the batch file will run quickly.
In this test run it took a little over 9 minutes to run.
My NAS only has 501G used but still not a bad time to check for changes.
I can schedule the NAS backup using this method to run once a night.

Code: [Select]

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows

-------------------------------------------------------------------------------

  Started : Thu Aug 20 21:37:01 2009

   Source : \\192.168.1.116\Volume_1\Media\
     Dest : \\192.168.1.124\Volume_1\Media\

    Files : *.*

  Options : *.* /TEE /S /E /COPY:DAT /PURGE /MIR /Z /R:1000000 /W:30

------------------------------------------------------------------------------
                           0    \\192.168.1.116\Volume_1\Media\
=====> File information is shown here <======
------------------------------------------------------------------------------

                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :      1298         0      1298         0         0         0
    Files :     14865         0     14865         0         0         0
    Bytes : 501.830 g         0 501.830 g         0         0         0
    Times :   0:09:16   0:00:00                       0:00:00   0:09:16

Here I added 14G of data to NAS-1 and did re-synced NAS-2 using Robocopy.

Code: [Select]
-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows

-------------------------------------------------------------------------------

  Started : Thu Aug 20 20:21:17 2009

   Source : \\192.168.1.116\Volume_1\Media\
     Dest : \\192.168.1.124\Volume_1\Media\

    Files : *.*

  Options : *.* /TEE /S /E /COPY:DAT /PURGE /MIR /Z /R:1000000 /W:30

------------------------------------------------------------------------------
                           0    \\192.168.1.116\Volume_1\Media\
=====> File information is shown here <======
------------------------------------------------------------------------------

                Total    Copied   Skipped  Mismatch    FAILED    Extras
     Dirs :      1298        15      1283         0         0         0
    Files :     14865        14     14851         0         0         0
    Bytes : 501.830 g  14.888 g 486.941 g         0         0         0
    Times :   1:11:13   1:02:33                       0:00:00   0:08:40

    Speed :             4259056 Bytes/sec.
    Speed :             243.705 MegaBytes/min.

    Ended : Thu Aug 20 21:32:31 2009

So this method only consumes time when required.
Fast enough for my usage and it works well. Best of all is it's free.
Even better.... this may be something you already have.


Title: Re: Automated backup to second DNS-321?
Post by: ceyko on December 21, 2009, 05:34:47 AM
For this stuff I started using syncback by 2brightsparks.
Title: Re: Automated backup to second DNS-321?
Post by: gunrunnerjohn on December 21, 2009, 05:52:33 AM
I use BeyondCompare www.scootersoftware.com (http://www.scootersoftware.com) to do many synchronization tasks.