On Friday, April 26, 2002, at 06:28 , Vonleigh Simmons wrote:
> Hello,

Hi there.

>       Dan, you are the man for making psync. I just tried it to backup 
> my main drive and it works exactly as advertised. One question though, 
> how would I go about restoring a drive? Should I just boot from the 
> copy and copy back to the main drive, or is there a niftier restore 
> feature? (didn't quite understand the -r flag in the man pages).

Suppose you've backed up your drive with something like;

psync / /Volume/backup

If you are booting from the same drive, you can intuitively

psync /Volume/backup / # it won't mangle /Volue/backup like cp

Or, if you are booting from the volume you just backed up, you can

psync / /Volume/newdrive

to do so.  As for -r option, not all 'Volumes' can store all the 
necessary file metadata (such as Apple Share volumes; you'll lose file 
ownership) so when you use -r, an extra database is created and used 
when you restore.

>       In any case, thanks a bunch for making psync, awesome job. I'm 
> trying to figure out if maybe I could make a cocoa front end for it, so 
> that it would backup on a repeating basis (user defined), plus being 
> able to restore. I'd do a cron job for it, but maybe it would be better 
> to get it out to the less unix-savvy user.

For the time being I am too occupied with Perl 5.8 but when it settles I 
would like to work further on with MacOSX::File.  Thanks for your input.

FYI, MacOSX::File is now 0.64.  Use the latest one.

Dan the Man with Too Many Modules to Manage
--
_____  Dan Kogai
   __/ ____   CEO, DAN co. ltd.
  /__ /-+-/  2-8-14-418 Shiomi Koto-ku Tokyo 135-0052 Japan
    /--/--- mailto: [EMAIL PROTECTED] / http://www.dan.co.jp/ ---------
__/  /    Tel:+81 3-5665-6131   Fax:+81 3-5665-6132
          GPG Key: http://www.dan.co.jp/~dankogai/dankogai.gpg.asc

Reply via email to