Community discussions

 
User avatar
soho
newbie
Topic Author
Posts: 30
Joined: Sat Sep 09, 2006 3:05 am

Export Image from MetaRouter

Tue Oct 20, 2009 3:56 pm

hi all,

how to export image from VM in MetaRouter?
 
enderx
just joined
Posts: 6
Joined: Fri Sep 04, 2009 7:16 pm

Re: Export Image from MetaRouter

Tue Oct 20, 2009 7:14 pm

This is how I've been doing it for openwrt images.. not a very good way.. but its all I've got.
install tar
opkg install tar
create image
cd /
tar zcvf /tmp/newimage.tgz --exclude proc/\* --exclude sys/\* --exclude tmp/\* .
scp /tmp/newimage.tgz user@anotherhost:/tmp/. 
put newimage.tgz on the mikrotik router you'd like to create a metarouter on, and "import" it.
hope that helps..
Sam.
 
User avatar
soho
newbie
Topic Author
Posts: 30
Joined: Sat Sep 09, 2006 3:05 am

Re: Export Image from MetaRouter

Tue Oct 20, 2009 10:41 pm

This is how I've been doing it for openwrt images.. not a very good way.. but its all I've got.
install tar
opkg install tar
create image
cd /
tar zcvf /tmp/newimage.tgz --exclude proc/\* --exclude sys/\* --exclude tmp/\* .
scp /tmp/newimage.tgz user@anotherhost:/tmp/. 
put newimage.tgz on the mikrotik router you'd like to create a metarouter on, and "import" it.
hope that helps..
Sam.

hi Sam.

thankfull for your help.


Until Mikrotikls not create an option for this, his way is perfect.
 
jberen
Trainer
Trainer
Posts: 13
Joined: Mon May 14, 2007 9:16 pm
Location: Argentina - Monte Caseros
Contact:

Re: Export Image from MetaRouter

Mon Sep 23, 2013 3:54 am

Very Good Job

Congratulations!!

Javier
 
thesoundkid
just joined
Posts: 2
Joined: Tue Mar 06, 2012 3:16 am

Re: Export Image from MetaRouter

Thu Oct 10, 2013 3:04 am

I was looking to do this and worked out how without updating tar.
cd /
ls /tmp/* /proc/* /sys/* > /tmp/exclude
 tar zcvf /tmp/newimage.tgz -X /tmp/exclude  .
 
User avatar
payday
Member Candidate
Member Candidate
Posts: 233
Joined: Thu Aug 16, 2012 11:05 pm

Re: Export Image from MetaRouter

Fri Oct 11, 2013 9:14 pm

It is easier to create file with dirs only. My exclude file looks like this:
./proc/*
./sys/*
./tmp/*
This works very well with built-in tar command (from BusyBox).
 
thesoundkid
just joined
Posts: 2
Joined: Tue Mar 06, 2012 3:16 am

Re: Export Image from MetaRouter

Thu Oct 31, 2013 12:54 am

Thanks for that info payday.

I had trouble getting wildcards to work but that exclude file works perfect.

What Openwrt images and repo are you using out of interest?

seems like metarouter is rather unsupported by both MT and OpenWrt.
 
User avatar
payday
Member Candidate
Member Candidate
Posts: 233
Joined: Thu Aug 16, 2012 11:05 pm

Re: Export Image from MetaRouter

Tue Dec 31, 2013 7:13 pm

I use images from here:
http://openwrt.wk.cz/
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 801
Joined: Tue Aug 03, 2004 9:01 am

Re: Export Image from MetaRouter

Wed Jan 08, 2014 2:07 am

payday, people in this thread are talking about how to make a backup copy/image from a router of a running OpenWRT MetaROUTER instance that has been modified. They aren't asking where to download stock images from.

-- Nathan
 
User avatar
payday
Member Candidate
Member Candidate
Posts: 233
Joined: Thu Aug 16, 2012 11:05 pm

Re: Export Image from MetaRouter

Wed Jan 08, 2014 10:20 pm

It was an answer to this question:
What Openwrt images and repo are you using out of interest?
You are funny, Nathan :)
 
User avatar
NathanA
Forum Veteran
Forum Veteran
Posts: 801
Joined: Tue Aug 03, 2004 9:01 am

Re: Export Image from MetaRouter

Thu Jan 09, 2014 4:38 am

It was an answer to this question: [snip]
Oh, man...how embarrassing. My bad. I apparently skimmed over that, and you didn't quote it in your response, so at first glance it looked like it totally came from left field, as if somebody had necro'd a months-old thread that they hadn't previously been participating in by posting something completely unrelated to it.

My apologies.

-- Nathan
 
User avatar
payday
Member Candidate
Member Candidate
Posts: 233
Joined: Thu Aug 16, 2012 11:05 pm

Re: Export Image from MetaRouter

Thu Jan 09, 2014 7:05 pm

...you didn't quote it in your response...
You are right. Excuse me. Next time I will do it. :)
 
ppaulojr
just joined
Posts: 8
Joined: Wed Oct 30, 2013 4:27 pm

Re: Export Image from MetaRouter

Thu Jan 23, 2014 4:36 pm

This is how I've been doing it for openwrt images.. not a very good way.. but its all I've got.
install tar
opkg install tar
create image
cd /
tar zcvf /tmp/newimage.tgz --exclude proc/\* --exclude sys/\* --exclude tmp/\* .
scp /tmp/newimage.tgz user@anotherhost:/tmp/. 
put newimage.tgz on the mikrotik router you'd like to create a metarouter on, and "import" it.
hope that helps..
Sam.
I did this procedure and a funny thing happened. The metarouter created is a a RouterOS
MikroTik 6.7
MikroTik Login: 
What could be wrong?

Who is online

Users browsing this forum: No registered users and 9 guests