Jump to content

Recommended Posts

Posted
В 08.07.2016 в 08:10, zyxmon сказал:

если напишите готовое решение на основе лога ниже.

Если честно с использованием smbclient я увидел только одно решение -

smbclient //mypc/myshare "" -N -Tc backup.tar users/docs

я же искал возможность передачи по конвейеру

dd if=/dev/sda1 | 

увы, у меня с smbclient это не прокатило, но в качестве альтернативы я решил воспользоваться FTP -сервером на целевом хосте, наглядел утилитку под эти нужды curlftpfs. Она монтирует фтп ресурс по аналогии с mount -t cifs ..., но на стабильной прошивке с entware в отличие от нее работает, а чтобы она использовала один разрешенный в фаерволе порт (активный режим FTP) ее необходимо запускать с параметром "-o ftp_port=-"

curlftpfs ftp://LOGIN:PASSWORD@FTP.SE.RV.IP /opt/mnt/ftp -o ftp_port=-

P.S.:Неплохое описание (ENG)

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies. By clicking "I accept" or continuing to browse the site, you authorize their use in accordance with the Privacy Policy.