Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 07-20-2006, 07:11 AM   #1
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:

/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, 06:59 PM   #2
Senior Member
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,440

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

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

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


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 08:48 AM
can't get rsync exclude files Batta Linux - Newbie 1 03-27-2006 11:39 PM
rsync exclude list steelhead79 Linux - Software 3 01-14-2005 01:10 PM
Using the exclude option absolutely with rsync karlovac Programming 0 03-01-2004 01:39 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:05 PM.

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