How to easily migrate my installation between vm/raspberrypi/and more

Hello,
Some quick background: I have a x86_64 VM at the moment that has certain services running like znc, nginx, transmission, a git server, ssh, dhcpd and some other minor stuff configured over time. It's mostly for personal usage.
At some time in the near future this VM will expire and I will have to transfer all that to either my raspberry pi or a similar mini pc running arch linux.
I've already done this migration once or twice and each time I had to reinstall all the necessary packages, users, general configurations, service configurations and home dirs. It's a slow process and even with a script that automates a part of this it needs some manual configuration changes after that depending on architecture etc. I usually follow https://wiki.archlinux.org/index.php/Mi … installing to migrate packages etc but because the arm repo is different and some names differ there I also have to change stuff manually and check everything again.
I need a quicker and more flexible solution to be able to just setup the services quickly on a given host running arch.
I could just setup everything in a VM and then run the VM on any given hardware at a time but for mini pcs like raspberry or odroid running a whole virtual machine is just too resource exhausting.
I checked docker some while back and it's more or less what I need and provides easy deployment but writing the docker scripts that will handle the configurations is a new hassle by itself. And there are times where I want to add new services which means that I will have to rewrite a docker script each time. Also when packages for these services are updated in the arch installation I'm not sure if it's going to be so easy to update them inside the docker containers as well.
Is there anything else I could do to make this installation migration easier across any platform? Or at least a docker-like way that would be much easier to setup?
Thanks for your time
Last edited by cyph3r (2015-01-05 18:32:41)

Because of the architecture difference there's no quick and painless way to do this. There are two options I can think of:
- You can save your various configurations you need, make a list of installed packages, install a new system and copy the configs over.
- You can set up a thin KVM/QEMU virtual machine atop the native system installed on the RasPi. I've never tried any such thing myself, but the wiki pages should point you in the right direction.
Exactly which one presents the least hassle is really a matter of whatever you're comfortable with.

Similar Messages

  • HT202213 My wife and I have different iTune accounts.  How do we share purchaed content between our ipads and iphones?

    My wife and I have different iTune accounts.  How do we share purchaed content between our ipads and iphones?

    iTunes- How to share music between different user accounts on a single computer
    You cannot merge two separate libraries across user accounts. Photos does not have the function of merging different Photos.library files. If you have Aperture then you can merge the two before migrating over to Photos.

  • How do I sync my email between my iPhone and iPad?

    How do I sync my email between my iPhone and iPad?

    A razmee209 said, set up your email in settings on both devices. 
    iPhone email will always be up to date.  
    The iPad will update when it has internet connection.   If it is a wifi only iPad, it will only update when connected to wifi, but will do so automatically.

  • How to share the same session between JNLP Application and browser session

    How to share the same session between JNLP Application and browser session using BasicService.showDocument(url) method? It appears whenever i launch any URL from within a JNLP application using BasicService.showDocument(url) , it creates new instance of browser and session even after i used cooke handlers to restore JSESSIONID and Ltpa token etc.
    public static int showDocument(String urlToOpen)
    BasicService obj = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
    obj.showDocument(urlToOpen);
    }

    Try using Reflection

  • How to set up internet connection between MacBook Pro and an old eMac?

    I got an old eMac without wifi and a MacBook Pro. I'd like to share the network connection via ethernet cable to my eMac, but I can't get it work.
    I'd like to use it with screenrecycler and it needs a network connection.
    How to do it? How to set up the connection between the client and the host? Could somebedy give me a step by step guide?
    Thank you very much

    Hello,
    First, are you using Wifi for Internet on the MBP?
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list, Wifi on the MBP.
    In Shating on both, enable File Sharing, Screen Sharing, & Web Sharing on both.
    Then with the Ethernet cable between the two, find the IPs of both, or use Finder>Go>Connect to Server>Browse... see what shows up.

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • How can I synchronize the app between my iPad and iPhone?

    How can I synchronize the app between my iPad and iPhone?

    Hi,
    May i know which app in particular you are taking about.
    If that is Adobe Reader you need to sign-in in Adobe Id and password and that should be it.
    Regards,
    Ajlan Huda.

  • If unboxed how could you tell the difference between refurbished imac and new imac?

    If unboxed how could you tell the difference between refurbished imac and new imac?

    Besides all of that, you can purchase Apple Care which will extend your warranty to 3 years just like you can on a brand new iMac.
    If you're considering a "refurbished" iMac, buy it ONLY from Apple.  I believe it's your best bet.

  • How can I sync my calendars (between my iMac and Apple devices (iPhone

    How can I sync my calendars (between my iMac and Apple devices (iPhone and iPad)?
    I have an Apple Mac Book Pro OSX 10.9.3  8 GB and I have the iPhone 5S and a recent iPad also.
    Would like to link my calendars and has not been successful in doing so.
    Can someone walk me through the steps?  Thanks.

    Use iCloud:
    iPhone/iPad:
    Switch on in Settings > iCloud > Calendars On
    Mac:
     > Systems Preferences... > iCloud > Calendars checked
    Read here:
    iCloud: Troubleshooting iCloud Calendar

  • How do I make iCloud work between my Mac and my iPhone as suggested in the video's on Apple's website ?

    I'm trying to share a set of Numbers projects between my MacBook and my iPhone.
    I notice that iWork.com does NOT do what I am expecting from the Apple Video's : it only allows me to consult documents through Safari, but not to open one directly from iCloud.com in the appropriate app for editing ...
    Through file sharing in iTunes it seems to work for one of the projects ... but another project which has multiple tabs and rather long tables doesn't open on my iPhone due to "unknown error" ...
    Even then, the iTunes file sharing process can hardly be called seemless, and in no way even approaches what is suggested in the video's :
    The video's suggest that when working on a file on one device, then picking up another device the file will show the changes ...
    In reality here's what I have to do to make a change on the file on my Mac, share it with the iPhone, then change something on the iPhone and share it back with my Mac :
    1. save the changes to the document
    2. add the document to iTunes file sharing
    3. sync my iPhone
    4. open Numbers on my iPhone
    5. add the document from iTunes
    6. open it
    7. make a change
    8. sync the iPhone
    9. choose "save as ..." in iTunes to overwrite the copy on my Mac
    10. open the document in Numbers on the Mac
    Guess what ... when making a new change, I have to go back in iTunes, delete the link to the document and add the document again in order to be able to share the change ...
    I would expect the syncing with iTunes to at least take care of the file updating on the respective copies on Mac and iOS device ... apparently not so.
    Anyone knows how to really make Documents In The Cloud work ?

    Oops, I forgot a step between 7 and 8 ... before syncing the iPhone I need to explicitly send the document back to iTunes on the iPhone, or the changes won't come over at all ...
    and then one more thing ... Numbers on iOS does NOT recognize a number of key features of the OSX app, such as conditional formatting ... so after editing my document on iOS and syncing it back to OSX on my Mac, all of those settings are lost (no more conditional formatting, have to do it all over again)
    What am I doing wrong ?

  • How do I sync Pages docs between my Macbook and a PC?

    I want to sync Pages documents between my Macbook and a PC, for when I don't have the Macbook with me. I created a Pages file and saved it to iCloud, but it doesn't appear in the iCloud Pages web interface, even though other docs created in the web interface do.
    Sorry to ask such a basic question, but I can't figure this out. If I'm working in Pages on my Mac and save the document, it's like it goes someplace different than when I create a Pages doc on the web interface...
    Seriously confused, and not understanding how this works. Apologies for being such a beginner. This is really the only thing I want to use iCloud for.

    Thanks, Rick. I have identified another part of the answer -- my husband and I both use this MacBook. We have separate IDs and iCloud accounts. But apparently only one account is allowed to store iWork files on iCloud. Apparently when his iPhone was set up, or maybe when he borrowed the MacBook for a business trip, or when he took some pictures with his new iPhone -- who knows how or when -- the storage capability got attached to his iCloud account on my computer. I started to sign him out, then was told that if that was done, the photostream would be deleted.
    At this point the complexity is beyond ridiculous. We have 3 Mac devices, two computers and a phone, and I can't figure out the logic behind this limitation. I wish I had spent the hours that were invested in this effort in something more productive. I don't think iCloud is ready for primetime yet.

  • How can I reduce the width between search results and the preview fly-out?

    Hello, I am using a custom masterpage that reduces the overall width of page content but I am seeing an issue with my enterprise search site. The search results look fine but there is a large horizontal gap between the results and document preview window
    (when mousing over a word/excel/powerpoint result). This means that the preview fly-out is hardly visible unless the user scrolls horizontally to the right. Can someone tell me how to set a reduced width between the results web part and the preview window?
    Example:

    I think the issue is with the Callout orientation, have you customized the page and if so then you can customize the callout.
    check "beakOrientation" and you can set values like topBottom, leftRight as per your requirement.
    see here for more information -
    http://msdn.microsoft.com/en-us/library/office/dn135236(v=office.15).aspx
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • How can I synch Mail application between an iMac and a Macbook Pro

    I want to be able to go back and forth between my iMac and my Macbook Pro using Mail application.
    I don't want to set up two completely separate accounts.
    Has anyone had to do this and if so, how do I do it?
    Thanks for your help
    Ed

    You can get a Dropbox account, this will allow for 2GB of free storage and you can purchase additional storage if needed. You can find out about Dropbox from their website or read one of the many reviews about them. Their address is:
    www.dropbox.com
    and some reviews are at:
    http://www.onlinebackupsreview.com/dropbox.php
    http://www.onlinebackupdeals.com/dropbox/
    And you can Google to find additional reviews if you would like.
    Roger

  • How would i design the relationship between "question", "subquestion", and "answer"

    Hi all. Consider the following scenario:
    Scenario:
    A Question has an Answer, but some Questions have Subquestions. For example:
    1. Define the following terms: (Question)
    a) Object (1 marks) (Subquestion)
    An instance of a class. (Answer)
    b) ...
    2. Differentiate between a constructor and a destructor (2 marks)
    (Question)
    A constructor constructs while a destructor destroys.
    (Answer)
    Question:
    I want to model Questions, Subquestion, and Answer as Entities with relationships/associations, preferably binary relationships as i feel ternary relationships will be problematic while programming. Any suggestion on how i would
    go about this?
    There is never infinite resources.
    For the Question Entity, a question has the attributes "QuestionPhrase <String>", "Diagram<Binary>", and "Marks
    <Decimal>".
    For the SubQuestion Entity, a subquestion has the attributes "SubQuestionPhrase <String>", "Diagram<Binary>", and "Marks <Decimal>".
    For the Answer Entity, an answer has attributes, "AnswerPhrase<String>", "Diagram <Binary>"

    Yes. I am in .Net. I sure do hope i did not ask in the wrong forum. :-|
    Hi KCWamuti,
    If you need to design the relationship between Question table and Answer table in SQL Server, as Uri’s and Visakh’s posts, you can create the foreign key to establish relationship between tables, and use join in query to get your desired result. For more
    information about JOIN in SQL Server, please review this article:
    Different Types of SQL Joins.
    However, if you need to model Questions, Subquestion, and Answer as Entities in .Net, then the issue regards data platform development. I suggest you post the question in the Data Platform Development forums at
    http://social.msdn.microsoft.com/Forums/en-US/home?category=dataplatformdev . It is appropriate and more experts will assist you.
    Thanks,
    Lydia Zhang

  • How to identify the data mismatch between inventory cube and tables?

    Hi experts,
    i have a scenario like how to identify the data mismatch between 0IC_C03 and tables,and what are the steps to follow for avoiding the data mismatch

    Hi
    U can use data reconcilation method to check the consistency of data between the r/3 and bw. Plz check the below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0931642-1805-2e10-01ad-a4fbec8461da?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d08ce5cd-3db7-2c10-ddaf-b13353ad3489
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14?QuickLink=index&overridelayout=true
    Thanx & Regards,
    RaviChandra

Maybe you are looking for