User Tools

Site Tools


sysbak

Overview

This is about how to backup for your Ubuntu system

  • make a U disk that have the backup system
  • restart shortcut keys-ctrl+alt+delete
  • F12,select menu→select USB FLASH DRIVE I/O(select U disk)
  • mount '/home/' fold
    • mount /dev/sda3 /mnt/custom/sysbak
      #using $fdisk -l,we would know detailed infos of disks
      #using $fdisk /dev/sda<tab> further know this
  • using fsarchiver make the *.bak files
    • fsarchiver savefs /mnt/custom/sysbak/rainbow.fsa /dev/sda2/
      #fsarchiver would first pack and compress files in /dev/sda2/ into the rainbow.fsa 
      	#and then move to the /mnt/custom/sysbak/ dir
  • check and make sure the size corresponding to /dev/sda2/ is correct
    • cd /mnt/custom/
      ls -lh
  • unmount
    • unmount /mnt/custom/
      #unmount not allowed to carry out in the current dir
  • reboot and remember that we set ./nat.sh
sysbak.txt · Last modified: 2017/06/04 16:53 by 127.0.0.1