It's not in the manual, but the "BuffaloLink" mechanism that allows one NAS to 
backup another is rsync.
You can rsync to the box (to do backups) with the following pattern:
rsync ${OPTIONS} rsync://${BACKUP_SERVER}/array1_${SHARE_NAME}/${DIR_NAME}

In order to create anything on the NAS without rooting the device, you need to 
go into the web admin screen and setup Samba (i.e. Windows) share's.  That 
creates the directories at the top level of the RAID array (${SHARE_NAME} 
above). It also creates the rsync endpoints.

You can use cifs to mount the NAS shares as directories in Linux (apt-get 
install cifs-utils in Debian or Ubuntu).
For example (filling in the variables below, of course):
echo "//${NAS_DEVICE_IP}/${SHARE_NAME}  /home/share/${SHARE_NAME}       cifs    
file_mode=0644,dir_mode=0755,uid=${YOUR_USER_ID:=1000},gid=${YOUR_GROUP_ID:=100},rw
     0       0" >>/etc/fstab

There's very little you cannot do with the device without rooting it, but 
rooting it as described below does add the availablity of SSH, sshfs, and 
several other advanced options.

If you want to use backuppc, you need to set it to use rsync as the underlying 
protocol (or smb/cifs, either works just fine with the NAS you have).
I don't know a lot about backuppc; perhaps someone else on the list can provide 
the details for that.

Happy hacking.


On 07/08/2011 04:03 PM, Mark Phillips wrote:
> I am now the proud owner of a Buffalo Technology LinkStation Duo 2 TB (2 x 1
> TB) Network Attached Storage LS-WX2.0TL/R1.....The only way I seem to be
> able to access it out of the box is using ftp to save files from my Linux
> boxes. I can get to the web admin screens just fine.
> 
> Do I have to root the device to use it as a backup server for my Linux
> boxes? I was hoping to automate my backups using backuppc, but I now
> discover that I either need to run this box using NFS or install backuppc on
> the box itself.
> 
> I also can't seem to get it into RAID1 mode.....the setup/user manual
> procedure does not seem to work.  I posted to the buffalo support forums and
> I am waiting for a response.
> 
> Thanks for any suggestions for (1) how to automate backups from 'nix boxes
> to this device and how to get RAID1 working.
> 
> Mark
> 
> On Mon, Jul 4, 2011 at 3:51 PM, Lisa Kachold <lisakach...@obnosis.com>wrote:
> 
>> Great suggestions all!
>>
>> I have also setup Buffalo for others and also use a rooted one myself.
>>
>>
>> On Mon, Jul 4, 2011 at 12:02 PM, Joseph Sinclair <
>> plug-discuss...@stcaz.net> wrote:
>>
>>> I must be tired...
>>>
>>> I meant to include the link to the web-based access software for the
>>> Buffalo Linkstations:
>>> http://www.buffalotech.com/technology/buffalo-advantage/web-access
>>>
>>> And the product features page:
>>>
>>> http://www.buffalotech.com/products/network-storage/home-and-small-office/linkstation-pro-duo-ls-wvlr1/features/#prod-features
>>>
>>>
>>> On 07/04/2011 11:49 AM, Joseph Sinclair wrote:
>>>> I have used a Buffalo LinkStation Pro Duo for a couple of years, and
>>> I've found it to be extremely reliable, silent (I can hear it's fan only if
>>> I stick my ear right next to it..), and it performs very well.
>>>> Their newest version is even better (faster NIC and CPU), and they also
>>> have a "LiveStation" that is intended to be accessible via a website (like a
>>> Pogo Plug) if that's your preferred approach)
>>>> It's on Amazon here (http://www.amazon.com/gp/product/B00365MF5E) for
>>> about $190 for 2TB and $376 for 4TB.
>>>> Buffalo is a U.S. company, and their most recent versions of the Pro Duo
>>> are 2 or 4 TB (RAID0, half for RAID1) and have software to make the files
>>> available via internet (or you can punch a hole in your firewall for SCP).
>>>> They don't describe much Linux support, but it is running Linux (minimal
>>> kernel with Busybox userland) and uses things like rsync for backup
>>> (although they don't call it rsync in documentation, they call if
>>> "BuffaloLink" or some such nonsense).
>>>>
>>>> You might want to root it just so you can ssh into the box (ssh is on
>>> the box but disabled from the factory) to play around and possibly setup
>>> some cron jobs to keep things cleaned up, but it's surprisingly capable
>>> as-is.
>>>> Rooting it is pretty simple; just run a simple java program called acp
>>> commander that's easily available (
>>> http://buffalo.nas-central.org/wiki/Main_Page, and
>>> http://downloads.buffalo.nas-central.org/TOOLS/ALL_LS_KB_ARM9/ACP_COMMANDER/README)
>>> which can easily start telnet and enable root (I included some brief
>>> instructions below for a clean root).
>>>> The very latest versions (the XHL and CHL) of the LinkStation (the ones
>>> that have curvy cases, instead of square) use a new firmware that's even
>>> more stripped-down, so those you have to load an open firmware(recommended,
>>> actually) to make any changes or get command-line access.
>>>>
>>>> ============= Recommendations for rooting a Buffalo NAS
>>> ======================
>>>> Remember to do this (or any root operation) on an isolated switch with
>>> just the NAS and a secure laptop serving DHCP, and before connecting to any
>>> other net.
>>>>   run acp_commander -f to find the NAS box IP (or just query what
>>> address DHCP handed out if that's easier).
>>>>   Connect to the NAS web interface (standard port 80) and get past the
>>> first-time setup, particularly setting the admin user/password; you'll need
>>> that for the next step.
>>>>   Run the acp_commander to get telnet operating and clear the root
>>> password (that's really all you need, so don't load addons.tar unless you
>>> just cannot live without the tools included there)
>>>>   telnet and login as root
>>>>   enable ssh. Make sure to permanently enable it by creating symlinks in
>>> the rc.# directories or you'll get locked out if the power fails!
>>>>   logout of telnet
>>>>   use scp to copy your ssh public key (.pub) to
>>> /root/.ssh/authorized_keys
>>>>   login via ssh
>>>>   disable telnet (I usually rename the binary to make it *really*
>>> disabled)
>>>>   logout and reconnect to verify key-based ssh authentication (i.e. no
>>> password prompt)
>>>>   lock the root account (passwd -l root) so *only* key-based login will
>>> work thereafter.
>>>>   finish making any other changes you'd like (including a second
>>> authorized key in case you loose the first, for instance).
>>>>
>>>>
>>>>
>>>>
>>>> On 07/04/2011 10:52 AM, Mark Phillips wrote:
>>>>> I have a small network and would like to set up some network
>>>>> backaup/storage. I looked at Best Buy and the WD MyBook 2TB NAS storage
>>>>> looked good at $150, but the reviews were terrible. I checked Fry's and
>>> the
>>>>> Iomega 2TB StoreCenter is more expensive ($239), but is has a few more
>>> bells
>>>>> and whistles, and is a bit faster, but runs hot according to the
>>> reviews.
>>>>>
>>>>> What I am looking for:
>>>>> 1-2 TB storage
>>>>> network access
>>>>> access to stored files via the Internet
>>>>> compatible with Linux for automatic backups
>>>>>
>>>>> Have you used any of these devices, or do you recommend another brand?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> Mark
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>>
>>>>
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>>
>>
>>
>>
>> --
>> (602) 791-8002  Android
>> (623) 239-3392 Skype
>> (623) 688-3392 Google Voice
>> **
>> HomeSmartInternational.com <http://www.homesmartinternational.com>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>>
> 
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Attachment: signature.asc
Description: OpenPGP digital signature

---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to