Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > macOS > Safest way to backup files to a Windows drive?

Safest way to backup files to a Windows drive?
Thread Tools
Apfhex
Mac Elite
Join Date: Dec 2000
Location: Northern California
Status: Offline
Reply With Quote
Oct 16, 2003, 07:24 PM
 
It just so happens that my friend has an almost empty 40GB HDD in his PC that I can use as backup for my files so that I can Format and Install when Panther arrives.

What I'm wondering here is, what's the safest way to put these files on the PC without loosing any information (resource forks and whatnot). I've tested transferring .dmg files, which seems to work (though I cannot mount them over the network, I have to copy them back to my Mac before they will work again), but I'm curious if there are any other "safe" compression formats to use, or if it would all be the same. The reason for putting the files into archives is because I have a lot of Windows incompatible file names which I would not be able to copy.
Mac OS X 10.5.0, Mac Pro 2.66GHz/2 GB RAM/X1900 XT, 23" ACD
esdesign
     
jetta_gt
Forum Regular
Join Date: Aug 2001
Status: Offline
Reply With Quote
Oct 16, 2003, 08:06 PM
 
i would make a DMG and then zip that.
     
Abstrakt
Fresh-Faced Recruit
Join Date: Aug 2002
Status: Offline
Reply With Quote
Oct 17, 2003, 03:24 PM
 
The safest and fastest way to do this would be with tar, an invaluable UNIX utility already installed on your Mac. I used this method the other day to backup my Powerbook's HD to a much larger disk on my Windows box.

Assuming you've already created and mounted a share named "WinBackup" on the Windows machine, you just need to type one line from the command shell (Terminal.app):
Code:
sudo tar -pcvf /Volumes/WinBackup/backup.tar /
This will create an uncompressed archive named "backup.tar" on the Windows box, preserving the directory hierarchy and permissions of your entire system.

You could also tell tar to compress the archive using either gzip or bzip2... This will dramatically reduce the size of the archive, but it will obviously also slow down the backup operation. Type man tar for the full documentation.

Cheers.
     
Mithras
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status: Offline
Reply With Quote
Oct 17, 2003, 03:41 PM
 
Originally posted by Abstrakt:
The safest and fastest way to do this would be with tar, an invaluable UNIX utility already installed on your Mac.
No.

tar ignores resource forks.

While just doing a network copy should work fine, I agree that a DMG is the absolute safest route.

Also, to make sure it came across okay, do a
md5 /path/to/backup.dmg

before you copy; then, connect to the windows machine over SMB, and do a
md5 /Volumes/Windowsbox/path/to/backup.dmg

to make sure they're identical.
     
michael_on_mac
Junior Member
Join Date: Sep 2003
Location: Old Europe
Status: Offline
Reply With Quote
Oct 17, 2003, 03:54 PM
 
Hi!

What about piping ditto and then put it through tar like tar cfvz -?

Michael, off-mac right now.
12" Al PB Rev. B, SD, 768 MB RAM, 80 GB disk, OS X 10.3.1. IBM TP A30p with Linux 2.4.20 for serious stuff ;-)
     
Apfhex  (op)
Mac Elite
Join Date: Dec 2000
Location: Northern California
Status: Offline
Reply With Quote
Oct 17, 2003, 04:13 PM
 
Originally posted by Mithras:
Also, to make sure it came across okay, do a
md5 /path/to/backup.dmg

before you copy; then, connect to the windows machine over SMB, and do a
md5 /Volumes/Windowsbox/path/to/backup.dmg

to make sure they're identical.
Hmm, thanks for that tip. I tried it out on a test.dmg and it was identical after copying, and then copying back.
Mac OS X 10.5.0, Mac Pro 2.66GHz/2 GB RAM/X1900 XT, 23" ACD
esdesign
     
   
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 05:16 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,