LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-20-2006, 06:11 AM   #1
TongueTied
Member
 
Registered: Aug 2003
Distribution: SuSE 8.1 pro
Posts: 94

Rep: Reputation: 15
What files to exclude when using rsync


I am trying to create a complete backup of a system (SuSE 9.1) using rsync to a usb drive. I gather there are some linux files and directories that should be excluded from a complete backup. Can anyone point me to a good and complete list of files/directories that should be excluded? So far, I understand that the following should be excluded:

/tmp/
/proc/
/media/usb-storage --> This is my usb drive itself

I'm using SuSE 9.1 so is there anything else that shouldn't be backed up when using rsync?
 
Old 07-20-2006, 05:59 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
I would include '/dev/' as well to the list of items that should not be backed up.

-twantrd
 
Old 07-20-2006, 08:39 PM   #3
TongueTied
Member
 
Registered: Aug 2003
Distribution: SuSE 8.1 pro
Posts: 94

Original Poster
Rep: Reputation: 15
Thanks. Anyone else have additional suggestions? We now have:
/tmp/
/proc/
/media/usb-storage --> This is my usb drive itself
/dev/
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to exclude while moving files? surfbass General 1 07-16-2006 07:48 AM
can't get rsync exclude files Batta Linux - Newbie 1 03-27-2006 10:39 PM
rsync exclude list steelhead79 Linux - Software 3 01-14-2005 12:10 PM
Using the exclude option absolutely with rsync karlovac Programming 0 03-01-2004 12:39 PM


All times are GMT -5. The time now is 12:04 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration