From MEPIS Documentation Wiki
JBoman's sandbox below this point
- Backup Mepis Linux 8.5
The most important practice is to back up your data and configuration files regularly, a process that is easy in MEPIS Linux. It is highly recommended that you back up to a different drive than the one your data is on! You can buy a new storage device, or use an old hard drive if you can find one. Back up data: Make sure you back up your data, including documents, graphics, music, and mail. By default, most of this is stored in your Home directory (/home/YourUserName/).
- Back up configuration files
Here is a list of items for backup: /home: Holds most of the personal configuration files. /root: Holds the changes you have made as root. /etc/X11/xorg.conf: (X configuration file). /etc/apt/sources.list: (apt sources file). /boot/grub/menu.lst: (Grub menu file).
- Back up a list of installed program packages
It's also a good idea to save in your /home/username directory a file that contains the list of programs that you have installed with Synaptic, apt-get or Gdebi (see Section 7: Software Management ). If in the future you need to reinstall, you'll just have to paste the names of the files to an apt-get install command. You can create an inventory of all packages on your system installed since installation with: dpkg --get-selections >list_packages.txt
- To reinstall ALL those packages at once
dpkg --set-selections <list_packages.txt apt-get update apt-get dselect-upgrade
- Back up using Keep
Keep and LuckyBackup are graphical front ends for Rdiff-Backup that functions as a backup system for KDE. Both are available from the repos (enable the Community repo for LuckyBackup).
To back up using Keep, follow these steps: MEPIS Wiki: Backup: http://www.mepis.org/docs/en/index.php/Backup MEPIS Wiki: Rdiff-Backup: h/br://www.mepis.org/docs/en/index.php/Keep#Rdiff-Backup
- Disk cloning
As a precaution in case of complete harddisk failure, some users create a complete image of their harddrive, a technique called disk cloning or ghosting. In case a new harddrive must be installed, the user can simply restore the entire image to be back in operation in a few minutes. Open-source (e.g., Partimage, G4L) and proprietary (e.g., Acronis) ghosting software are available to carry out this procedure. Depending on the software used, you may have to carry this out from a separate drive or a LiveCD.
Cloning can also be used to make an identical working copy of your hard disk or partition to a second disk or partition with an equal or larger size than the original by using the command line tool dd. Unlike the cloning tools listed above, dd copies the hard disk or partition on a sector by sector basis, so everything is copied, including unused sectors. That being the case, it can take some time for larger drives.
Wikipedia: Disk cloning: http://en.wikipedia.org/wiki/Disk_cloning
MEPIS Wiki: Partimage: http://www.mepis.org/docs/en/index.php/Partimage
G4L project page: http://sourceforge.net/projects/g4l
MEPIS Wiki: G4L: http://www.mepis.org/docs/en/index.php/G4l
Acronis home page: http://www.acronis.com/
LinuxQuestions.org: Learn the dd command at http://www.linuxquestions.org
Other common choices: http://www.mepis.org/docs/en/index.php/Linux_software#Backup