[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Fw: tranferring of bakup from linux to windows



actually i doesnt want to copy thru tar or zip
i can also actually use zip and then transfer thru ftp and then winzip.
now i have tried the smbmount option.
it works but u r right- it doesnt preserve the permissions and timing of
creation etc.
it gives while cp with -p option operation not permitted.but i think there
must be a way out to tackle this....or not!
any  suggestions ..
Thanks,
Rahul
----- Original Message -----
From: Pete Peterson <petersonp genrad com>
To: <seawolf-list redhat com>
Sent: Monday, February 11, 2002 6:32 PM
Subject: Re: tranferring of bakup from linux to windows



> To: seawolf-list redhat com
> Subject: Re: tranferring of bakup from linux to windows
> From: Oleg Goldshmidt <ogoldshmidt computer org>
>
> > now i have written a backup script that copies the required files in the
> > backup directory on the linux server itself.
> >
> > now i need to copy all the backup on my windows m/c.
>
> Create a share on your windows compuiter, smbmount it on your Linux,
> use that as your Linux backup directory - the Linux machine won't know
> the difference.
>
> --
> Oleg Goldshmidt | ogoldshmidt NOSPAM computer org
>

I don't believe it's a good idea to just copy the files/directories to
the windoze machine using an smbmounted directory.  If you do this, you
lose all the ownership/permission information and also don't preserve
things like symlinks and hard links.  It's fine to use tar, cpio etc.
to *MAKE* the archive and then copy *THAT* to the windoze machine through
ftp, the smbmounted directory or any other means.  If you need to
access the data from the windoze machine, you can use WinZip which
will allow you to recover individual files or whole hierarchies.

GNU tar will compress/uncompress the archive on the fly, so you can do
things like:
       tar zcvf /mnt/wincdrive/myarchive.tgz your_archive_list
if you have the windoze directory smbmounted

or, if you don't have the directory on the windoze machine smbmounted:
       tar zcvf myarchive.tgz your_archive_list
and then copy "myarchive.tgz" to the windoze machine though ftp from the
windoze machine or use "smbclient" to do the equivalent of ftp *FROM* the
Linux machine *TO* the windoze machine.

--
        pete peterson
        Teradyne, Inc.
        7 Technology Park Drive
        Westford, MA 01886-0033

        pete peterson teradyne com or petersonp genrad com
        +1-978-589-7478 (Teradyne); +1-978-589-2088 (Closest FAX);
        +1-978-589-7007 (Main Teradyne Westford FAX)




_______________________________________________
Seawolf-list mailing list
Seawolf-list redhat com
https://listman.redhat.com/mailman/listinfo/seawolf-list







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]