DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2011-04-28 06:12:55

nonlinear
Member
Registered: 2011-04-28
Posts: 9

new to DNS-323 and looking for advice

hi,

i'm buying a DNS-323 later this week, and have a couple of questoins:

1) I want to install fun_plug, but am curious when is the best time to do this.  Do I first format the discs and connect to the network (following DNS-323 User's Guide) and then install fun_plug after that?  When I install fun_plug, does it affect the data on my drives at all?  Can anyone point me towards more information?

2) I have a windows 7 machine, with about 30 GB of data that I want to back up in a RAID 1 configuration on the 323.  I was hoping to use something like Unison to do my backup, but i haven't been able to find any info on using Unison with the 323.  It seems my only option is to manually transfer over ALL of the files to the NAS every week or so... the problem with this is that most of the files will be unchanged, so i'll be doing a lot of unnecessary copying.  is there a better way to do this?

Thanks!

Offline

 

#2 2011-04-28 06:19:42

nonlinear
Member
Registered: 2011-04-28
Posts: 9

Re: new to DNS-323 and looking for advice

Can I use rsync to synch my windows 7 files with the 323 in RAID 1 ?

Offline

 

#3 2011-04-28 13:48:17

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: new to DNS-323 and looking for advice

1 - FFP can be installed at any time, and can be disabled at any time. It does not affect your data, it just gives you access to running other services, and stopping some of the included services. My only suggestion is update the firmware before doing anything else, including installing your drives.

2/3 - You should be able to use rsync or any backup software that can handle a network (samba) share. It makes no difference if they are individual disks or raid as this is transparent to the workstation.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#4 2011-04-28 17:24:49

nonlinear
Member
Registered: 2011-04-28
Posts: 9

Re: new to DNS-323 and looking for advice

Hey!  Thanks for your help, that really cleared things up for me!

Also, i've been reading that RAID and a backup are different "things."  Does anyone know where I can find more intro reading about that?  For the 323, I want to both backup my working files from laptop, but also store pictures and media that isn't on my laptop.  So I think I would want RAID 1 in this case, but i'm not sure.  Where can I read more about this?

Thanks for the help guys, there is a ton of excellent information on these forums!

Offline

 

#5 2011-04-28 18:05:42

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: new to DNS-323 and looking for advice

Unfortunately, there are many vocal people who will now post numerous replies as to why Raid is not a backup. Essentially it is true, and there are many threads already. The short version is Raid protects you against a HDD failure, but not against NAS failure, virus, trojan, user deletion etc.

Any data of any importance should be copied (i.e. backed up) to a separate device and/or media.

One compromise between Raid and Backup is to use the DNS323, as independant drives. Then schedule a copy from one disk to the other on a regular basis. This is not ideal either as the data is still vulnerable for a period of time.

There are many many possible options and it really is up to you to decide how important the data is, how easily you could regenerate it from other sources, how long you could go without it, etc. Based on that, you need to determine what storage and backup strategy works best for you. Everyone is different.  Personally, for my important data, I store it on my first DNS323 running Raid, then I rsync it to a second DNS323 on a daily basis. At some point it also gets archived to DVD for offsite storage and archiving.

Here is some more reading for you http://forums.dlink.com/index.php?topic=38106.0

Last edited by FunFiler (2011-04-28 18:10:08)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#6 2011-04-28 23:33:16

karlrado
Member
Registered: 2009-12-07
Posts: 229

Re: new to DNS-323 and looking for advice

Rsync-ing your Windows 7 files to a network-connected "share" that is your Samba-exported DNS-323 is one way to do it, but you'd just be running both sides of rsync on the Windows box, which is a bit silly.  You're going to hammer the heck out of your bandwidth with Samba traffic as one side of your rsync reads/writes files over Samba to determine file differences and write changes.

I use the DeltaCopy rsync program on Windows.  It connects to your rsyncd daemon running on the 323 and does real rsync over your network.


DNS-323 FW 1.07 : 2 1TB WD Caviar Green SATA : fun_plug: utelnet + optware (no ffp)

Offline

 

#7 2011-04-29 18:12:54

kuuza
Member
Registered: 2010-08-08
Posts: 7

Re: new to DNS-323 and looking for advice

I suggest using Mobassh (small, easy to setup, will run as service) or some alternative on windows machine, rsyncing over samba is pain.
http://mobassh.mobatek.net/en/

Basically.. i've set up rsa-keys to be able to connect to my windows machines thru NAS without passwords.

And on NAS i have following shell script(s):

Code:

remoteHost="192.168.0.4"
remotePath="/cygdrive/d/Somepath/"
remoteUser="Windowsuser"
localPath="/data/backup/Somepath"
thisDate=`date "+%Y%m%d_%H%M%S"`
mkdir -p $localPath/current
mkdir -p $localPath/$thisDate
rsync --backup --backup-dir=$localPath/$thisDate --delete-after -av $remoteUser@$remoteHost:$remotePath $localPath/current > $localPath/current.log
cp $localPath/current.log $localPath/$thisDate/$thisDate.log

And from thereon cron takes over..

Offline

 

#8 2011-04-29 18:15:50

nonlinear
Member
Registered: 2011-04-28
Posts: 9

Re: new to DNS-323 and looking for advice

Is anyone familiar with Unison?  A colleague recommended that, but I can't seem to find any information about using it with the 323.  actually, i came across a blog post about it, but it didn't seem liike the guy had any success.

http://www.cis.upenn.edu/~bcpierce/unison/

Offline

 

#9 2011-04-29 21:05:07

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: new to DNS-323 and looking for advice

kuuza wrote:

I suggest using Mobassh (small, easy to setup, will run as service) or some alternative on windows machine, rsyncing over samba is pain.
http://mobassh.mobatek.net/en/

Basically.. i've set up rsa-keys to be able to connect to my windows machines thru NAS without passwords.

And on NAS i have following shell script(s):

Code:

remoteHost="192.168.0.4"
remotePath="/cygdrive/d/Somepath/"
remoteUser="Windowsuser"
localPath="/data/backup/Somepath"
thisDate=`date "+%Y%m%d_%H%M%S"`
mkdir -p $localPath/current
mkdir -p $localPath/$thisDate
rsync --backup --backup-dir=$localPath/$thisDate --delete-after -av $remoteUser@$remoteHost:$remotePath $localPath/current > $localPath/current.log
cp $localPath/current.log $localPath/$thisDate/$thisDate.log

And from thereon cron takes over..

I've used a similar approach. instead of Mobassh (this is the first time I heard of it) I'm running an rsync server on my PC, cwRsync. I had a bad experience with DeltaCopy, ran into problems when trying to back files with Hebrew letters in their names.
It's a bit of unorthodox approach here. It seems most prefer running the rsync server on the DNS-323 and the client on the PC.

I've developed a nice(?) little shell script to do my snapshoting, including deleting old backups, and supporting post-backup commands which emails me the log. It needs a few more touches before I'll feel comfortable posting it here.


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB