LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2005, 11:55 AM   #1
MasterCephus
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Rep: Reputation: 15
archiving to a windows machine


I want to make a backup of a directory on my linux box (running TSL 2.2) onto one of my windows machines.

Someone told me that I could use tar to do this, but I am unsure of the command to use.

would it be something like:

tar /data -cZ \\laptop\backup


where c = create new and Z = compress


Would this work?
 
Old 03-03-2005, 01:10 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Unlike windows, you cannot use \\machine\share syntax under linux. You would need to either use smbclient or mount the share prior to the tar operation.
 
Old 03-03-2005, 02:49 PM   #3
MasterCephus
LQ Newbie
 
Registered: Jul 2004
Posts: 28

Original Poster
Rep: Reputation: 15
can you go a little in depth about how to use smbclient?
 
Old 03-03-2005, 04:53 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 122Reputation: 122
Well, smbclient can be used like a command line ftp program (I've done this to write a PHP front end to a samba file server). Mounting the remote samba share (using smbmount/mount -t smbfs) is likely to be simpler and still accomplish all that you need.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting 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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 11:20 AM
ssh connection from a Windows machine to a Linux machine pistachio Linux - Networking 1 08-30-2005 11:45 AM
copy from windows machine to a linux machine s_deepblue Linux - Networking 3 03-12-2005 02:43 PM
how do i use my linux machine to be a gateway for a windows machine? Sanjuro Linux - Networking 2 02-09-2002 05:29 AM
X Windows on one machine parsing filesystem of another machine ashpai Linux - General 3 03-01-2001 01:09 AM


All times are GMT -5. The time now is 07:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration