LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   best tar command for backing up files (https://www.linuxquestions.org/questions/linux-newbie-8/best-tar-command-for-backing-up-files-4175509286/)

krwinfield 06-26-2014 12:22 PM

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

rtmistler 06-26-2014 12:32 PM

For me it would be just:

Code:

tar -acvf <filename.tar.bz2> <directory to archive>


All times are GMT -5. The time now is 01:19 AM.