Page 1 of 1

Copying folders sda1 to sdb1

Posted: Sun Nov 12, 2017 5:07 pm
by peterpux
I’m trying with Putty to backup most of a share_1 on /dev/sda1/ to the folder Backup on the second hard drive /dev/sdb1

Could do it with laptop but tried

cp -pr /dev/sda1/share_1/* /dev/sdb1/Backup/*

Says it is not a directory

It tried /mnt/ for both, with and without the *

Always comes back can’t stat...Not a directory

Wanted to have the router use it’s brains instead of Win10 or ubuntu

Re: Copying folders sda1 to sdb1

Posted: Sun Nov 12, 2017 8:12 pm
by Lantis
I wouldn’t recommend this to be honest.
The routers poor little cpu won’t handle this well and will take ages.

If you insist on it, check out /tmp where the symlink to the drive is kept