Telnet - How do i send a backup image to the TMP dir?

witchy

Banned for good!
Joined
Jul 20, 2005
Messages
18,282
Reaction score
334
My box has crashed and I'm experimenting with different ways to restore my backup image, I know i can use Dreamup etc but I'd like to know how to Telnet my image to the tmp directory from my PC.

I usually FTP my image across then I enter this...
eraseall /dev/mtd/3 && cp backup.img /dev/mtd/3
...and it works great

So can anyone tell me the Telnet command to send files?
 
My box has crashed and I'm experimenting with different ways to restore my backup image, I know i can use Dreamup etc but I'd like to know how to Telnet my image to the tmp directory from my PC.

I usually FTP my image across then I enter this...
eraseall /dev/mtd/3 && cp backup.img /dev/mtd/3
...and it works great

So can anyone tell me the Telnet command to send files?

You dont Telnet the file over you do as you have before FTP the fine in /var/tmp

THEN telnet to the box and do

cd \var\tmp then

eraseall /dev/mtd/3 && cp backup.img /dev/mtd/3

and it will work great :) At least thats how I did it
 
I'm asking if it's possible to Telnet the file across mate, I'm just playing around with it.
 
Naah telnet can't xfer files pal.
 
I am not understanding: where and what do You wanna send?

He wants to send an image file from his PC to the tmp folder on his Dreambox.
He knows he can FTP it but would like to know if its also possible to send via a Telnet command.
 
It is if you have a mounted directory from a pc.

I normally
telent in and
cp /hdd/movie/DW.img /tmp/DW.img

but of course you have to have a mount present for this to work.
 
OK.

Telnet to the box and write following command after loggin in:

Code:
You don't have permission to view the code content. Log in or register now.

You can download this image to Your PC.

Switch back image:

FTP file in /var/tmp and then telnet to the box and use following commands:

Code:
You don't have permission to view the code content. Log in or register now.

And sure, good directories to backup:

Code:
You don't have permission to view the code content. Log in or register now.

Cheers.
 
Thanks Ellie_1998, thats exactly the info i needed. :)
 
Back
Top