> Neil has handled this... I wanted to include the rsync syntax to > collect only directories... full or empty: > > So to collect all the directories regardless of your excludes > put this before any excludes: > --include=/**/ > > The trailing slash confines it to direcotories only. Thanks for the tip, I have been trying to get this to work properly for most of the day, but I still have problems. On my file system I have a directory "lib" which is a link to "lib64 (Folder)". I have tried various options to the rsync command but still haven't managed to retain this link on the backup disc. Am I right in thinking that I would need to do a separate backup for /boot
Also I am getting a lot of errors and the backup is finishing early and not producing the stats. i.e. rsync: symlink "/mnt/external/OneFileSystemBackup/usr/i686-pc-linux-gnu/lib/libopcodes.so" -> "/usr/lib32/binutils/i686-pc-linux-gnu/2.18/libopcodes.so" failed: Operation not permitted (1) rsync: chown "/mnt/external/OneFileSystemBackup/usr/include" failed: Operation not permitted (1) rsync: connection unexpectedly closed (11192228 bytes received so far) [generator] rsync error: error in rsync protocol data stream (code 12) at io.c(458) [generator=2.6.9] rsync: connection unexpectedly closed (78658 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(458) [sender=2.6.9] Backup finished at 16:43, umounting /dev/sdd1 This is my command line:- $RSYNC \ -vaHKiq --delete-during --stats --progress --modify-window=2 --one-file-system --include=/**/ / /mnt/external/OneFileSystemBackup ; More help required please, thanks for your efforts so far. Just a thought, is this the best way to backup my system? Thanks Paul -- This message has been sent using kmail with gentoo linux -- [EMAIL PROTECTED] mailing list