Copying folders sda1 to sdb1

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
peterpux
Posts: 21
Joined: Thu Feb 04, 2016 2:18 pm

Copying folders sda1 to sdb1

Post 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
From Nunavik, Quebec, Canada
WNDR 3800 with Gargoyle 1.10.x Dec 18
WNDR 3800 Repeater with Gargoyle 1.10.x

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Copying folders sda1 to sdb1

Post 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
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

Post Reply