using timeshift ubuntu code example
Example 1: timeshift install
sudo apt-get install timeshift
Example 2: timeshift install
sudo apt-add-repository -y ppa:teejee2008/ppa
sudo apt-get install timeshift
sudo apt-add-repository -y ppa:teejee2008/ppa