Skip navigation

bash

Linux Backup & Restore script

THE BACKUP SCRIPT

This is how it looks on screen:
Code:

|-------------------------------------------------------------
| IT'S RECOMMENDED TO RUN THIS SCRIPT BEFORE GNOME LOGIN
|-------------------- Press CTRL+ALT+F1 at the GDM login
|-------------------------------------------------------------
| BACKUP YOUR SYSTEM:
1) Backup
2) Exit
#?

You simply just type: sudo backup and choose with your number keys the wanted action and press Enter on the keyboard.

OK, lets start.
Open a terminal window and type:
$ gedit backup

Copy the following code into your empty text file:
Code:

Filled in