Can I export appliance with all the snapshots in VirtualBox (Version 5.1.28)?












1















I use Oracle VM VirtualBox Version 5.1.28 r117968 (Qt5.6.2) . I have two virtual machines (Windows 7 64bit and Ubuntu 14.04.5 LTS) with 8 snapshots in Windows and 6 snapshots in Ubuntu. I want to have a backup of the two virtual machines with all the snapshots. I know there is a clone option. But is there any other options? If yes, what are those and how to do those?



Oracle VirtualBox



[P:S: I want to move the backups to my external hard drive.]




UPDATES:---------------------------------------------------




I took screenshots of inside of VirtualBox VMs folder and inside Snapshots folder. Please look at them. It seems that the snapshots are copied as well if I copy the Whole VirtualBox VMs folder. So, can I restore the snapshots by just copying and pasting in future?



Inside <code>VirtualBox VMs</code> folderInside <code>Snapshots</code> folder










share|improve this question

























  • You may try to copy all the VirtualBox XML files from VM folder and also all the VM snapshots without changing file name and file path.

    – Biswapriyo
    Nov 3 '17 at 16:21


















1















I use Oracle VM VirtualBox Version 5.1.28 r117968 (Qt5.6.2) . I have two virtual machines (Windows 7 64bit and Ubuntu 14.04.5 LTS) with 8 snapshots in Windows and 6 snapshots in Ubuntu. I want to have a backup of the two virtual machines with all the snapshots. I know there is a clone option. But is there any other options? If yes, what are those and how to do those?



Oracle VirtualBox



[P:S: I want to move the backups to my external hard drive.]




UPDATES:---------------------------------------------------




I took screenshots of inside of VirtualBox VMs folder and inside Snapshots folder. Please look at them. It seems that the snapshots are copied as well if I copy the Whole VirtualBox VMs folder. So, can I restore the snapshots by just copying and pasting in future?



Inside <code>VirtualBox VMs</code> folderInside <code>Snapshots</code> folder










share|improve this question

























  • You may try to copy all the VirtualBox XML files from VM folder and also all the VM snapshots without changing file name and file path.

    – Biswapriyo
    Nov 3 '17 at 16:21
















1












1








1


0






I use Oracle VM VirtualBox Version 5.1.28 r117968 (Qt5.6.2) . I have two virtual machines (Windows 7 64bit and Ubuntu 14.04.5 LTS) with 8 snapshots in Windows and 6 snapshots in Ubuntu. I want to have a backup of the two virtual machines with all the snapshots. I know there is a clone option. But is there any other options? If yes, what are those and how to do those?



Oracle VirtualBox



[P:S: I want to move the backups to my external hard drive.]




UPDATES:---------------------------------------------------




I took screenshots of inside of VirtualBox VMs folder and inside Snapshots folder. Please look at them. It seems that the snapshots are copied as well if I copy the Whole VirtualBox VMs folder. So, can I restore the snapshots by just copying and pasting in future?



Inside <code>VirtualBox VMs</code> folderInside <code>Snapshots</code> folder










share|improve this question
















I use Oracle VM VirtualBox Version 5.1.28 r117968 (Qt5.6.2) . I have two virtual machines (Windows 7 64bit and Ubuntu 14.04.5 LTS) with 8 snapshots in Windows and 6 snapshots in Ubuntu. I want to have a backup of the two virtual machines with all the snapshots. I know there is a clone option. But is there any other options? If yes, what are those and how to do those?



Oracle VirtualBox



[P:S: I want to move the backups to my external hard drive.]




UPDATES:---------------------------------------------------




I took screenshots of inside of VirtualBox VMs folder and inside Snapshots folder. Please look at them. It seems that the snapshots are copied as well if I copy the Whole VirtualBox VMs folder. So, can I restore the snapshots by just copying and pasting in future?



Inside <code>VirtualBox VMs</code> folderInside <code>Snapshots</code> folder







virtualbox virtual-machine backup snapshot






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 4 '17 at 10:18







jabi

















asked Nov 3 '17 at 15:49









jabijabi

115




115













  • You may try to copy all the VirtualBox XML files from VM folder and also all the VM snapshots without changing file name and file path.

    – Biswapriyo
    Nov 3 '17 at 16:21





















  • You may try to copy all the VirtualBox XML files from VM folder and also all the VM snapshots without changing file name and file path.

    – Biswapriyo
    Nov 3 '17 at 16:21



















You may try to copy all the VirtualBox XML files from VM folder and also all the VM snapshots without changing file name and file path.

– Biswapriyo
Nov 3 '17 at 16:21







You may try to copy all the VirtualBox XML files from VM folder and also all the VM snapshots without changing file name and file path.

– Biswapriyo
Nov 3 '17 at 16:21












2 Answers
2






active

oldest

votes


















1














If you want to backup all VMs just copy Virtualbox VMs folder. This will backup all VMs info including snapshots. To restore the backup just copy all folder to the same path or edit VM xml file with ussually with .vbox extension






share|improve this answer
























  • How can I be sure that this method will also backup the snapshots?

    – jabi
    Nov 3 '17 at 16:38











  • @jabi It won’t not unless you clone the virtual drive with the vbox utility tool or whatever it’s called check the Virtual Box manual for more information

    – Ramhound
    Nov 3 '17 at 17:01











  • What about Export Appliance feature? Will this feature backup all the snapshots as well?

    – jabi
    Nov 3 '17 at 17:11











  • user809676 is saying that copying the Virtualbox VMs folder will include the snapshots as well. But you (Ramhound)are saying it won't. I am confused. :(

    – jabi
    Nov 3 '17 at 17:16













  • Usually snapshots are stored in a subfolder placed at VM´s main folder unless you specify a different path.

    – elinarezv
    Nov 3 '17 at 23:33



















0














The best solution IMO is to clone the VM, and the create an archive and then move it.



If you copy the folder into a new drive, then try to bring up the VM in the backup and the VM itself, one of them wont work. This is because, when you copy the VM, it preserves the UUIDs for the machine, the HDD and the image.



However, when you clone the VM, it creates new UUIDs for the Machine, HDD, and the image. So you can then bring both the VM and the backup of the VM up at the same time. You can also copy the cloned image to another computer etc etc.. and it will work everywhere.



The advantage of Exporting an Appliance is that it will create a single package, and it can then be moved between VirtualBox and say VMware. However, the disadvantage of this is that it wont contain any stapshots you may have in your VM. If you are ok with sacrificing the snapshots, this may be the best and most portable solution.



If you want to keep the snapshots, then you can create the clone, zip it up and create a backup. Then if you need to transfer the VM to another VM software (VMware), just fire up the backup, and export the VM as a.ova` file and transfer it to the new VM software.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1265198%2fcan-i-export-appliance-with-all-the-snapshots-in-virtualbox-version-5-1-28%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    If you want to backup all VMs just copy Virtualbox VMs folder. This will backup all VMs info including snapshots. To restore the backup just copy all folder to the same path or edit VM xml file with ussually with .vbox extension






    share|improve this answer
























    • How can I be sure that this method will also backup the snapshots?

      – jabi
      Nov 3 '17 at 16:38











    • @jabi It won’t not unless you clone the virtual drive with the vbox utility tool or whatever it’s called check the Virtual Box manual for more information

      – Ramhound
      Nov 3 '17 at 17:01











    • What about Export Appliance feature? Will this feature backup all the snapshots as well?

      – jabi
      Nov 3 '17 at 17:11











    • user809676 is saying that copying the Virtualbox VMs folder will include the snapshots as well. But you (Ramhound)are saying it won't. I am confused. :(

      – jabi
      Nov 3 '17 at 17:16













    • Usually snapshots are stored in a subfolder placed at VM´s main folder unless you specify a different path.

      – elinarezv
      Nov 3 '17 at 23:33
















    1














    If you want to backup all VMs just copy Virtualbox VMs folder. This will backup all VMs info including snapshots. To restore the backup just copy all folder to the same path or edit VM xml file with ussually with .vbox extension






    share|improve this answer
























    • How can I be sure that this method will also backup the snapshots?

      – jabi
      Nov 3 '17 at 16:38











    • @jabi It won’t not unless you clone the virtual drive with the vbox utility tool or whatever it’s called check the Virtual Box manual for more information

      – Ramhound
      Nov 3 '17 at 17:01











    • What about Export Appliance feature? Will this feature backup all the snapshots as well?

      – jabi
      Nov 3 '17 at 17:11











    • user809676 is saying that copying the Virtualbox VMs folder will include the snapshots as well. But you (Ramhound)are saying it won't. I am confused. :(

      – jabi
      Nov 3 '17 at 17:16













    • Usually snapshots are stored in a subfolder placed at VM´s main folder unless you specify a different path.

      – elinarezv
      Nov 3 '17 at 23:33














    1












    1








    1







    If you want to backup all VMs just copy Virtualbox VMs folder. This will backup all VMs info including snapshots. To restore the backup just copy all folder to the same path or edit VM xml file with ussually with .vbox extension






    share|improve this answer













    If you want to backup all VMs just copy Virtualbox VMs folder. This will backup all VMs info including snapshots. To restore the backup just copy all folder to the same path or edit VM xml file with ussually with .vbox extension







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Nov 3 '17 at 16:32









    elinarezvelinarezv

    112




    112













    • How can I be sure that this method will also backup the snapshots?

      – jabi
      Nov 3 '17 at 16:38











    • @jabi It won’t not unless you clone the virtual drive with the vbox utility tool or whatever it’s called check the Virtual Box manual for more information

      – Ramhound
      Nov 3 '17 at 17:01











    • What about Export Appliance feature? Will this feature backup all the snapshots as well?

      – jabi
      Nov 3 '17 at 17:11











    • user809676 is saying that copying the Virtualbox VMs folder will include the snapshots as well. But you (Ramhound)are saying it won't. I am confused. :(

      – jabi
      Nov 3 '17 at 17:16













    • Usually snapshots are stored in a subfolder placed at VM´s main folder unless you specify a different path.

      – elinarezv
      Nov 3 '17 at 23:33



















    • How can I be sure that this method will also backup the snapshots?

      – jabi
      Nov 3 '17 at 16:38











    • @jabi It won’t not unless you clone the virtual drive with the vbox utility tool or whatever it’s called check the Virtual Box manual for more information

      – Ramhound
      Nov 3 '17 at 17:01











    • What about Export Appliance feature? Will this feature backup all the snapshots as well?

      – jabi
      Nov 3 '17 at 17:11











    • user809676 is saying that copying the Virtualbox VMs folder will include the snapshots as well. But you (Ramhound)are saying it won't. I am confused. :(

      – jabi
      Nov 3 '17 at 17:16













    • Usually snapshots are stored in a subfolder placed at VM´s main folder unless you specify a different path.

      – elinarezv
      Nov 3 '17 at 23:33

















    How can I be sure that this method will also backup the snapshots?

    – jabi
    Nov 3 '17 at 16:38





    How can I be sure that this method will also backup the snapshots?

    – jabi
    Nov 3 '17 at 16:38













    @jabi It won’t not unless you clone the virtual drive with the vbox utility tool or whatever it’s called check the Virtual Box manual for more information

    – Ramhound
    Nov 3 '17 at 17:01





    @jabi It won’t not unless you clone the virtual drive with the vbox utility tool or whatever it’s called check the Virtual Box manual for more information

    – Ramhound
    Nov 3 '17 at 17:01













    What about Export Appliance feature? Will this feature backup all the snapshots as well?

    – jabi
    Nov 3 '17 at 17:11





    What about Export Appliance feature? Will this feature backup all the snapshots as well?

    – jabi
    Nov 3 '17 at 17:11













    user809676 is saying that copying the Virtualbox VMs folder will include the snapshots as well. But you (Ramhound)are saying it won't. I am confused. :(

    – jabi
    Nov 3 '17 at 17:16







    user809676 is saying that copying the Virtualbox VMs folder will include the snapshots as well. But you (Ramhound)are saying it won't. I am confused. :(

    – jabi
    Nov 3 '17 at 17:16















    Usually snapshots are stored in a subfolder placed at VM´s main folder unless you specify a different path.

    – elinarezv
    Nov 3 '17 at 23:33





    Usually snapshots are stored in a subfolder placed at VM´s main folder unless you specify a different path.

    – elinarezv
    Nov 3 '17 at 23:33













    0














    The best solution IMO is to clone the VM, and the create an archive and then move it.



    If you copy the folder into a new drive, then try to bring up the VM in the backup and the VM itself, one of them wont work. This is because, when you copy the VM, it preserves the UUIDs for the machine, the HDD and the image.



    However, when you clone the VM, it creates new UUIDs for the Machine, HDD, and the image. So you can then bring both the VM and the backup of the VM up at the same time. You can also copy the cloned image to another computer etc etc.. and it will work everywhere.



    The advantage of Exporting an Appliance is that it will create a single package, and it can then be moved between VirtualBox and say VMware. However, the disadvantage of this is that it wont contain any stapshots you may have in your VM. If you are ok with sacrificing the snapshots, this may be the best and most portable solution.



    If you want to keep the snapshots, then you can create the clone, zip it up and create a backup. Then if you need to transfer the VM to another VM software (VMware), just fire up the backup, and export the VM as a.ova` file and transfer it to the new VM software.






    share|improve this answer




























      0














      The best solution IMO is to clone the VM, and the create an archive and then move it.



      If you copy the folder into a new drive, then try to bring up the VM in the backup and the VM itself, one of them wont work. This is because, when you copy the VM, it preserves the UUIDs for the machine, the HDD and the image.



      However, when you clone the VM, it creates new UUIDs for the Machine, HDD, and the image. So you can then bring both the VM and the backup of the VM up at the same time. You can also copy the cloned image to another computer etc etc.. and it will work everywhere.



      The advantage of Exporting an Appliance is that it will create a single package, and it can then be moved between VirtualBox and say VMware. However, the disadvantage of this is that it wont contain any stapshots you may have in your VM. If you are ok with sacrificing the snapshots, this may be the best and most portable solution.



      If you want to keep the snapshots, then you can create the clone, zip it up and create a backup. Then if you need to transfer the VM to another VM software (VMware), just fire up the backup, and export the VM as a.ova` file and transfer it to the new VM software.






      share|improve this answer


























        0












        0








        0







        The best solution IMO is to clone the VM, and the create an archive and then move it.



        If you copy the folder into a new drive, then try to bring up the VM in the backup and the VM itself, one of them wont work. This is because, when you copy the VM, it preserves the UUIDs for the machine, the HDD and the image.



        However, when you clone the VM, it creates new UUIDs for the Machine, HDD, and the image. So you can then bring both the VM and the backup of the VM up at the same time. You can also copy the cloned image to another computer etc etc.. and it will work everywhere.



        The advantage of Exporting an Appliance is that it will create a single package, and it can then be moved between VirtualBox and say VMware. However, the disadvantage of this is that it wont contain any stapshots you may have in your VM. If you are ok with sacrificing the snapshots, this may be the best and most portable solution.



        If you want to keep the snapshots, then you can create the clone, zip it up and create a backup. Then if you need to transfer the VM to another VM software (VMware), just fire up the backup, and export the VM as a.ova` file and transfer it to the new VM software.






        share|improve this answer













        The best solution IMO is to clone the VM, and the create an archive and then move it.



        If you copy the folder into a new drive, then try to bring up the VM in the backup and the VM itself, one of them wont work. This is because, when you copy the VM, it preserves the UUIDs for the machine, the HDD and the image.



        However, when you clone the VM, it creates new UUIDs for the Machine, HDD, and the image. So you can then bring both the VM and the backup of the VM up at the same time. You can also copy the cloned image to another computer etc etc.. and it will work everywhere.



        The advantage of Exporting an Appliance is that it will create a single package, and it can then be moved between VirtualBox and say VMware. However, the disadvantage of this is that it wont contain any stapshots you may have in your VM. If you are ok with sacrificing the snapshots, this may be the best and most portable solution.



        If you want to keep the snapshots, then you can create the clone, zip it up and create a backup. Then if you need to transfer the VM to another VM software (VMware), just fire up the backup, and export the VM as a.ova` file and transfer it to the new VM software.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 25 '18 at 17:47









        alpha_989alpha_989

        38728




        38728






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1265198%2fcan-i-export-appliance-with-all-the-snapshots-in-virtualbox-version-5-1-28%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown