Menu

#11 patch for getting backups to work properly

open
nobody
None
5
2012-04-12
2012-04-12
No

I created this patch from trunk code because the backups were not working on my system. My virtualbox installation has spaces in the path names and also the VBox image name was getting clobbered by other devices that where attached. So I fixed a few things and now it works perfectly.

Discussion

  • Todd Kennedy

    Todd Kennedy - 2012-04-12
     
  • Todd Kennedy

    Todd Kennedy - 2012-04-12

    Forgot to mention this works against virtualbox version 4.1.12

     
  • Mark Baaijens

    Mark Baaijens - 2012-05-02

    Line 7-8: it is not clear for what problem the addtion of the option '-m 1' in the solution: are there multiple name-entroes or soemthing?

    Line 19-23: copying of either .xml or .vbox should be conditional, to provide backwards compatibility

    Line 36 and on: this should solve the problem of spaces in the vdi-name; test before applying this (part of) the patch

     
  • Mark Baaijens

    Mark Baaijens - 2012-05-02

    Line 10-11: obsololete, because v 0.5 is already 4.x compatible

     
  • Mark Baaijens

    Mark Baaijens - 2012-05-03

    According to the description of this patch: http://sourceforge.net/tracker/?func=detail&aid=2990664&group_id=239993&atid=1111631

    .... apparantly 'VBoxManage showvminfo' returns multiple lines of 'Name:'
    That's why the '-m 1' option in line 7-8 as suggested in this patch is valid.

     
  • Mark Baaijens

    Mark Baaijens - 2012-05-03

    For the problem of multiple return of lines with 'Name:', is is also possible to use the option --machinereadable. This will result in more readable code. However, this option is not available in 2.x, so that version will definitely not work. But since we only support 3.x and 4.x, it would not be a problem I guess.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.