Menu

#37 Amazon Backup

open
nobody
None
2014-10-12
2014-10-09
Eik Iemer
No

I bought the DLink DNS-320L because it pretended to have a backup to Amazon S3 feature, which doesn't work though.

That would be an absolutely fantastic feature for this firmware.

Thanks for your hard work :)

Discussion

  • João Cardoso

    João Cardoso - 2014-10-10

    There is s3cmd, a command line utility, see http://s3tools.org/s3cmd-howto for a simple how to.

    Do you feel comfortable at the command line?

    I managed to install it using the following commands, just install the Alt-F python package first, then login as the 'root' user and execute (copy/paste) those commands:

    cd /tmp
    wget https://bootstrap.pypa.io/get-pip.py
    python get-pip.py
    pip install python-dateutil python-magic
    
    wget http://sourceforge.net/projects/s3tools/files/s3cmd/1.5.0-rc1/s3cmd-1.5.0-rc1.tar.gz
    tar xzf s3cmd-1.5.0-rc1.tar.gz
    cd s3cmd-1.5.0-rc1
    python setup.py install
    
    cd
    

    Then try following the HowTo above, looks pretty simple.

    I will not try it as I don't have a S3 account, and I will not have one, as I don't intend to use it. But if you succeed using it please let me know.

    [added: I have created an account and s3cmd works. There are however issues with spaces and accented characters in filenames]

    [added-2: fixed -- it happens that the initial 's3cmd --configure' setup some wrong settings in the configuration file .s3cfg.
    Editing it and setting 'urlencoding_mode = normal' and 'encoding = UTF-8' solved both issues.]

     

    Last edit: João Cardoso 2014-10-13
  • Eik Iemer

    Eik Iemer - 2014-10-11

    Thanks for your help and advice. I'm really not great with that stuff, somehow managed to install python3 as python command was unknown, got through most steps but got an error at the last step: "python3 setup.py install" on line 14 which contains print "Blah blah...."

     
  • João Cardoso

    João Cardoso - 2014-10-12

    python3? from ffp?

    No, I meant the Alt-F package 'python', Packages->Alt-F, search for 'python' and install it.

    At the end I was able to execute 's3cmd'

     

    Last edit: João Cardoso 2014-10-12

Log in to post a comment.