LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   What files to exclude when using rsync (https://www.linuxquestions.org/questions/linux-general-1/what-files-to-exclude-when-using-rsync-465854/)

TongueTied 07-20-2006 06:11 AM

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?

twantrd 07-20-2006 05:59 PM

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

-twantrd

TongueTied 07-20-2006 08:39 PM

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


All times are GMT -5. The time now is 02:47 PM.