LinuxQuestions.org
Review your favorite Linux distribution.
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 01-05-2005, 06:32 AM   #1
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Rep: Reputation: 31
Backup of the system


Hi there...

I would like to backup my system, "just in case" something horrible happens (last time I got a corrupted /etc/fstab and wasn't able to solve the problem, but by re-installing the system), so I wanted to do something like:

Code:
# tar --create --file=/sysbackup /*
However, I'm pretty sure this will backup things I do not want to (/proc, for instance), so I think I should run something like:

Code:
# tar --create --file=/sysbackup.tar --exclude=/proc/* --exclude /sysbackup.tar /*
So the questions for you guys: Which other directories shouldn't I backup? Is it important/useful/recommended to use --dereference also?

Thank you in advance!
 
Old 01-05-2005, 07:32 AM   #2
JunctaJuvant
Member
 
Registered: May 2003
Location: Wageningen, the Netherlands
Distribution: OS X & FreeBSD
Posts: 488

Rep: Reputation: Disabled
Maybe this helps?
 
Old 01-05-2005, 08:08 AM   #3
enemorales
Member
 
Registered: Jul 2004
Location: Santiago, Chile
Distribution: Ubuntu
Posts: 410

Original Poster
Rep: Reputation: 31
Yes. Thank you...

But, what about devices? Have I to backup them?
 
  


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
using a system backup Shavo Linux - Newbie 1 06-22-2005 05:43 AM
system backup. vcheah Linux - Software 1 01-24-2004 03:20 AM
System Backup linuxtom Linux - General 2 09-17-2003 11:28 AM
System backup. ETeria Linux - Newbie 6 04-10-2003 10:14 AM
backup of system !! hitesh_linux Linux - Software 6 10-08-2002 09:14 PM


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