[opensuse] oracle VirtualBox backup
12.1 with vb 4.1.18 Hi everyone Backing up a 16GB vdi to USB via rsync takes over 30 minutes, even though I have changed only one file within the VM. I realise the VM is one file, but is there a way of syncing it without doing the whole vdi each time? L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
lynn <lynn@steve-ss.com> wrote:
12.1 with vb 4.1.18
Hi everyone
Backing up a 16GB vdi to USB via rsync takes over 30 minutes, even though I have changed only one file within the VM.
I realise the VM is one file, but is there a way of syncing it without doing the whole vdi each time?
Lynn, I think the problem is that rsync was really designed for a situation where you have fast disks on each end and a slow pipe between. A usb drive doesn't qualify for that. The result is you are 'reading' the whole vdi from the usb drive to look for the deltas, then when you find one you have to write it back out. In that scenario a simple copy is probably faster than rsync. If you are concerned with speed I will investigate usb-3. Current generation external drives are usb-3 and you can get a pci express card for $20 I think. Greg -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/07/12 01:18, Greg Freemyer wrote:
lynn <lynn@steve-ss.com> wrote:
12.1 with vb 4.1.18
Hi everyone
Backing up a 16GB vdi to USB via rsync takes over 30 minutes, even though I have changed only one file within the VM.
I realise the VM is one file, but is there a way of syncing it without doing the whole vdi each time?
Lynn,
I think the problem is that rsync was really designed for a situation where you have fast disks on each end and a slow pipe between. A usb drive doesn't qualify for that.
The result is you are 'reading' the whole vdi from the usb drive to look for the deltas, then when you find one you have to write it back out.
In that scenario a simple copy is probably faster than rsync.
If you are concerned with speed I will investigate usb-3. Current generation external drives are usb-3 and you can get a pci express card for $20 I think.
Greg
Hi Greg Both are ext4 file systems with user_xattr and complex samba translated acls. We have to go with rsync as cp does not seem to honour acls. We'd like to cron the rsync at say 5 minute intervals out to a cheapo USB. I wonder if there is a way to get inside the vdi to tell it to sync just the files that have been changed. Maybe the speed of USB-3 can do that without us having to go inside the vdi? L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-07-09 01:48, lynn wrote:
On 09/07/12 01:18, Greg Freemyer wrote:
Both are ext4 file systems with user_xattr and complex samba translated acls. We have to go with rsync as cp does not seem to honour acls. We'd like to cron the rsync at say 5 minute intervals out to a cheapo USB. I wonder if there is a way to get inside the vdi to tell it to sync just the files that have been changed. Maybe the speed of USB-3 can do that without us having to go inside the vdi?
I suggest you get a copy of the VDI before and after, and then compare both to see if the changes are really limited to a small zone or spread over a larger zone, or or worse, several small zones. That would throw rsync out of whack. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/6Hn0ACgkQIvFNjefEBxp1PACghlYNydxx2wCHP74p6XP+lomr ypQAni33kaen7DOrreRboOAg0MvB1C44 =gWZF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 09.07.2012 01:00, schrieb lynn:
12.1 with vb 4.1.18
Hi everyone
Backing up a 16GB vdi to USB via rsync takes over 30 minutes, even though I have changed only one file within the VM.
I realise the VM is one file, but is there a way of syncing it without doing the whole vdi each time?
L x If I want to backaup only the "diffs" without looking inside the VM, I use the snapshot mechanism of virtualbox, which creates essentially the diffs for me. This is then what I backup.
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/08/2012 07:03 PM, Martin Helm wrote:
Am 09.07.2012 01:00, schrieb lynn:
12.1 with vb 4.1.18
Hi everyone
Backing up a 16GB vdi to USB via rsync takes over 30 minutes, even though I have changed only one file within the VM.
I realise the VM is one file, but is there a way of syncing it without doing the whole vdi each time?
L x
I'm thinking outside the box, which I don't know exists, but what you need is a way to mount the VDI like an ISO (which reads the files inside the ISO) then do an rsync. My 2 cents, Duaine -- Duaine Hechler Piano, Player Piano, Pump Organ Tuning, Servicing& Rebuilding Reed Organ Society Member Florissant, MO 63034 (314) 838-5587 dahechler@att.net www.hechlerpianoandorgan.com -- Home& Business user of Linux - 11 years -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 09/07/12 02:16, Duaine Hechler wrote:
On 07/08/2012 07:03 PM, Martin Helm wrote:
Am 09.07.2012 01:00, schrieb lynn:
I'm thinking outside the box, which I don't know exists, but what you need is a way to mount the VDI like an ISO (which reads the files inside the ISO) then do an rsync.
Duh. Yes, of course. Mount the vdi to get at the files inside. nbd does it: modprobe nbd max_part=16 qemu-nbd -c /dev/nbd0 ./path/to.vdi mount /dev/nbd0p1 /mnt Then rsync /mnt Thanks, L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ? -- Duaine Hechler Piano, Player Piano, Pump Organ Tuning, Servicing& Rebuilding Reed Organ Society Member Florissant, MO 63034 (314) 838-5587 dahechler@att.net www.hechlerpianoandorgan.com -- Home& Business user of Linux - 11 years -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file. Duaine -- Duaine Hechler Piano, Player Piano, Pump Organ Tuning, Servicing& Rebuilding Reed Organ Society Member Florissant, MO 63034 (314) 838-5587 dahechler@att.net www.hechlerpianoandorgan.com -- Home& Business user of Linux - 11 years
On 07/18/2012 12:38 AM, Duaine Hechler wrote:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Duaine
1. The file opened without complaint in Symphony, a cousin of OO and LO 2. The file would not open in OO 3.4. It said the file was corrupt, and tried to fix it but could not. 3. The file would not open at first in LO 3.5. It said the file was corrupt, and tried to fix it, with apparent success. You may make of this what you will. Symphony has some bugs, but it looks more polished than the other two, and to my mind, it is more user friendly, so I use it. It's not in the repo for my distro, so I got the rpm from IBM and installed it that way, and I've been using it ever since, even tho I have the other two on the machine also. --doug -- Blessed are the peacekeepers...for they shall be shot at from both sides. --A.M. Greeley -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Doug wrote:
On 07/18/2012 12:38 AM, Duaine Hechler wrote:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Duaine
1. The file opened without complaint in Symphony, a cousin of OO and LO 2. The file would not open in OO 3.4. It said the file was corrupt, and tried to fix it but could not. 3. The file would not open at first in LO 3.5. It said the file was corrupt, and tried to fix it, with apparent success.
You may make of this what you will. Symphony has some bugs, but it looks more polished than the other two, and to my mind, it is more user friendly, so I use it. It's not in the repo for my distro, so I got the rpm from IBM and installed it that way, and I've been using it ever since, even tho I have the other two on the machine also. What's the file extension? What happens in earlier versions of Word? Is this another MS format that's incompatible with their ISO "standard"? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 07/18/2012 12:16 AM, Doug wrote:
On 07/18/2012 12:38 AM, Duaine Hechler wrote:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Duaine
1. The file opened without complaint in Symphony, a cousin of OO and LO 2. The file would not open in OO 3.4. It said the file was corrupt, and tried to fix it but could not. 3. The file would not open at first in LO 3.5. It said the file was corrupt, and tried to fix it, with apparent success.
You may make of this what you will. Symphony has some bugs, but it looks more polished than the other two, and to my mind, it is more user friendly, so I use it. It's not in the repo for my distro, so I got the rpm from IBM and installed it that way, and I've been using it ever since, even tho I have the other two on the machine also.
--doug
I ran the same tests with openoffice 3.4 and got similar results. There is a generic bug in the way OO/LO handles docx files with .doc extensions. I filed https://issues.apache.org/ooo/show_bug.cgi?id=120309 with Apache for openoffice. Somebody will need to do the same either here as Lars suggested or upstream with freedesktop. If you want to cut and paste, the contents of my bug report is: -------------- bug report ------------------ When opening a MS docx file with a '.doc' extension AOO 3.4 writer displays a warning that the file is corrupt and cannot be opened and asks to repair the file. (see docx-warning.jpg included in attachment) If you choose 'NO', writer then says that the document could not be repaired and cannot be opened. (see docx-warning2.jpg) (you should also delete 'therefore' from the warning -- it is superfulous) The file PERINNIAL.doc is also included in the attachment. However, instead of closing the file-open dialog and returning to the blank document, writer then immediately displays docx-warning.jpg again, followed by docx-warning2.jpg. It then loops another time with docx-warning.jpg followed by docx-warning2.jpg. At this point, I was considering manually killing the writer process from the command line. But, I kept cycling through the dialogs choosing 'NO" each time when offered to repair, then suddenly, the document just opened in writer. There is a bug in the way writer handles docx files with a .doc extension. writer - Expected Behavior (1) it should be able to determine it is actually a .docx file even though the extension is .doc. It should then handle the .docx file properly (2) if the user chooses 'NO' when prompted to repair, then writer should quit trying to repair the document and simply display the blank 'new document' page. writer does correctly handle the file if the file is renamed from .doc to .docx -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wednesday 18 July 2012 14:38:45 Duaine Hechler wrote:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Opens fine with Calligra Words but Libreoffice fails to open it. -- Regards, Graham Smith -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Jul 17, 2012 at 11:38:45PM -0500, Duaine Hechler wrote:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Please file a defect report. It also fails with libreoffice-3.5.4.6 as included with openSUSE 12.2 RC 1. In the report please attach the example doc too and reference this thread as a link to http://lists.openSUSE.org/opensuse/2012-07/msg00555.html Also don't hijakck a running thread next time, please. Start a fresh one or ensure to remove the In-Reply-To and References headers. Thanks, Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team + SUSE Labs SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
Am 18.07.2012 06:38, schrieb Duaine Hechler:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Duaine
The document opens fine in libre office 3.5 if I save it and rename the extension to .docx, I have not tested 3.4. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 18.07.2012 14:10, schrieb Martin Helm:
Am 18.07.2012 06:38, schrieb Duaine Hechler:
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Duaine
The document opens fine in libre office 3.5 if I save it and rename the extension to .docx, I have not tested 3.4.
Tested quickly on another machine with LO 3.4.5 and the trick to give it the proper extension works there as well. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Martin Helm wrote:
Am 18.07.2012 14:10, schrieb Martin Helm:
Am 18.07.2012 06:38, schrieb Duaine Hechler:
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Duaine
The document opens fine in libre office 3.5 if I save it and rename the extension to .docx, I have not tested 3.4.
Tested quickly on another machine with LO 3.4.5 and the trick to give it the proper extension works there as well.
What is the original extension? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 18.07.2012 14:17, schrieb James Knott:
What is the original extension?
I speak about the PERENNIAL.doc which was attached by Duaine Hechler in one of the previous emails. This is no .doc file in Microsoft speak it is in reality a .docx and should be saved as such. Nonetheless I see that as a bug in Libre Office that it does not identify the correct content without renaming, while Calligra Words is able to do it. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Martin Helm said the following on 07/18/2012 08:10 AM:
Am 18.07.2012 06:38, schrieb Duaine Hechler:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Duaine
The document opens fine in libre office 3.5 if I save it and rename the extension to .docx, I have not tested 3.4.
+1 LO 3.4.5 OOO345m1 (Build: 502) rename as .docx and there's no problem. I'm not sure it should be considered a bug that OO/LO treats a .doc as a .doc. The bug might be somewhere else, saving a .docx as a .doc. -- "To know that we know what we know, and that we do not know what we do not know, that is true knowledge." -- Confucius -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Duaine Hechler [18.07.2012 06:38]:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Linux is right, it is a zip file. Look into it by using an archive program (Ark, for example). You can unpack it with zip. HTH Werner -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 18/07/12 14:48, Werner Flamme wrote:
Duaine Hechler [18.07.2012 06:38]:
On 07/17/2012 08:18 PM, James Knott wrote:
Duaine Hechler wrote:
What will open MS Word 2010 ? LibreOffice ? OpenOffice ? Nothing yet ?
Both of those should open Word documents, both .doc and .docx.
Yes, but those are Word >=2007. Attached is the file in question. Linux sees it as a zip file.
Linux is right, it is a zip file. Look into it by using an archive program (Ark, for example). You can unpack it with zip.
HTH Werner
Hi Just a thought. R u on a windows network? The LO lock file can make a real mess over cifs if oplocks are enabled. L x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Thank you for all the responses. The guy just chalked it up as a "Linux problem" and sent me it as a text attachment. P.S. Yes, I renamed it to .docx and it worked in LibreOffice. Thanks, Duaine -- Duaine Hechler Piano, Player Piano, Pump Organ Tuning, Servicing& Rebuilding Reed Organ Society Member Florissant, MO 63034 (314) 838-5587 dahechler@att.net www.hechlerpianoandorgan.com -- Home& Business user of Linux - 11 years -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (12)
-
Anton Aylward
-
Carlos E. R.
-
David C. Rankin
-
Doug
-
Duaine Hechler
-
Graham Smith
-
Greg Freemyer
-
James Knott
-
Lars Müller
-
lynn
-
Martin Helm
-
Werner Flamme