LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[MLUG] Backup to usb drive

[MLUG] Backup to usb drive

P at draigBrady.com P at draigBrady.com
Mon Sep 6 10:05:44 IST 2004


Patrick Kiernan wrote:
> A windows system is fubar *shock*
> 
> I want to backup the whole drive (28gb) to a usb drive. Yes it's usb2 
> and the knoppix
> cd detected the usb2 card and hard drive.
> 
> I have it doing the following atm:
> cp -R  /mnt/hda1/* /mnt/sda1/backupC/

Note that will loose most timestamps/permissions etc.
You probably want to do `cp -a` instead.

The best approach will depend on the speed of the USB2 link.
The 3 USB2 speeds are listed here: http://www.pixelbeat.org/speeds

If the windows filesystem is the problem then
your approach of reading the files directly,
is probably best.

> However I believe this will take forever for 28gb? Is there a quicker way?

Well there will be a lot of transactions over the USB cable
for each file transfered. What you could do instead
is to archive all the files into one file before transmission.
tar is the standard util for this, so:

tar c /mnt/hda1 | gzip > /mnt/sda1/backcupC.tar.gz

-- 
Pádraig Brady - http://www.pixelbeat.org
--- Following generated by rotagator ---

If you need to leave a program running after you log out, try screen:
http://www.pixelbeat.org/lkdb/screen.html
--



More information about the Midlands mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell