I saw similar questions, but this a bit different. Namely, I am trying to make a backup of Ubuntu server with RAID on it. I want to backup complete configuration since that I recently had a problem starting up Server because power-cut messed up partitions and I couldn't start server at all.
I've done same backups with servers before (successfully), but those machines were without RAID and use the following command (from Ubuntu forum http://ubuntuforums.org/showthread.php?t=35087).
tar cvpjf backup.tar.bz2 --exclude=/proc \ --exclude=/lost+found --exclude=/backup.tar.bz2 \ --exclude=/mnt --exclude=/sys --exclude-media /
I will also exclude a couple of folders on Server (mounted a couple USB HDDs), such as
--/backup_folder1, /backup_folder2, etc
So, my question is: Am I doing the correct exclusions or making same mistake (simply don't want to find out in a harder way and stop almost entire company because I miseed something)?