Disk copy commands.

Soldato
Joined
5 Jul 2003
Posts
16,206
Location
Atlanta, USA
Hi.

I currently have a IcyBox 4200 NAS unit.
It basically runs a varient of Linux.

What i'd like to do is put a second drive in it, and have it automatically, at a specific time of the day, copy all the data off the first drive and put it on the second. For backup purposes.

I have been browing around and posting on NAS portal, but with 99% of the portal being German, and those who do help not being much help at all, im hoping that some of the linux guys on here can help?

I can SSH into it via PuTTY/TuTTY and browse around.
Can some explain to me how i'd go about doing this automated disk copy job?
 
You could setup a cron job to copy "cp" the directory to the other disk. If the IcyBox supports RSYNC it would be best to use that as it will only copy changes.

There are rsync packages for it, but none of them work. :(.

How would i go about setting up a cronjob?
 
Doesnt matter now.
I decided not to get a second drive for the NAS for the time being.

The examples are for Crontab when youve got the point of running it. Manually.
Not the 'pre' bits, like where to put the file. Where to tell the system to run it from. Getting the system to run it. ect;
 
Back
Top Bottom