You are not logged in.
Pages: 1
What would be the best way to back up my Arch install so that if something goes wrong I can revert back to the previous state or reinstall it with all of the packages and settings that I have now?
Offline
Offline
- or ...
Boot from a live cd (my personal preference is 'grml'), mount your root partition (and whatever other partitions you use that are part of the OS - like /var /home etc) and use a usb-drive for backups - I would just use a tarball,
ie something like this:
zsh# mkdir /arch
zsh# mount /dev/sda3 /arch # obviously sda3 (and sda5 below) are just examples
zsh# mount /dev/sda5 /arch/var
zsh# mkdir /usb
zsh# mount /dev/sdb1 /usb
zsh# cd /arch
zsh# tar cvjf /usb/archlinux-yyyymmdd.tar.bz2 . # might be handy to have the date in the tarball name
It might also be useful to clear the cache first - its a resource hog.
ie before you boot off a live cd, do a 'pacman -Scc'
Offline
I use Grysnc mostly backup /home /media
or course you can use it to backup /etc and pacman cache
my 2c
Mr Green I like Landuke!
Offline
I use the GNU/Linux System Backup Script (stage4)
Offline
If you have enough free space on a spare disk then just dd the whole drive to the backup disk. If you don't compress it you can even mount the partitions inside the image to get any file you want ... very neat but .... requires _lots_ of space.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
Pages: 1