LinuxQuestions.org
Help answer threads with 0 replies.
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 06-26-2014, 12:22 PM   #1
krwinfield
LQ Newbie
 
Registered: Jun 2014
Posts: 1

Rep: Reputation: Disabled
best tar command for backing up files


Hi everyone, this is my 1st post to LinuxQuestions. I am backing up a windows 7 disk with a bad OS. I booted Puppy racy 5.5, created a backup directory on my SuSe box. I have sshd running on the Suse box and can ssh from Puppt to Suse via my local LAN. I was wondering what wold be the best tar incantation too use to backup the windows files preserving dates permissions etc for reinstallation after a fresh winds install?

Thanks
 
Old 06-26-2014, 12:32 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 5,608
Blog Entries: 12

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
For me it would be just:

Code:
tar -acvf <filename.tar.bz2> <directory to archive>
 
1 members found this post helpful.
  


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
How to overwrite existing files by using tar command (Remove extra files) Kalibo Linux - Newbie 9 12-26-2013 12:42 AM
Backing up user files from the command line? skaldicpoet9 Ubuntu 4 07-17-2013 08:53 PM
backing up files to a remote system using tar over ssh kaplan71 Linux - General 5 08-05-2011 07:40 AM
RHEL4 backup files using tar command... visitnag Linux - Newbie 3 10-24-2009 04:09 PM
tar --exclude-from=files command not working cucolin@ Linux - Server 2 04-03-2007 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 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