How to Use Aptik to back up and restore Apps and PPAs in Ubuntu

Source: Internet
Author: User
When you want to reinstall Ubuntu or just install a new version of Ubuntu, It is very convenient if you have a convenient method to reinstall the previous application and reset its settings. At this time, Aptik becomes available, which helps you easily implement it. Aptik (automatic package backup and recovery) is an application that can be used on Ubuntu, LinuxMint, and other Debian and Ubuntu-based Linux distributions, it allows you to install software libraries, download packages, installed applications and themes

When you want to reinstall Ubuntu or just install a new version of Ubuntu, It is very convenient if you have a convenient method to reinstall the previous application and reset its settings. In this caseAptikIt helps you easily implement it.

Aptik (automatic package backup and recovery) is an application that can be used in Ubuntu, Linux Mint, and other Debian and Ubuntu-based Linux distributions, it allows you to archive personal software packages (PPAs) that have been installed, including software libraries, download packages, installed applications and themes, and user settings) back up to an external USB flash drive, network storage, or cloud service similar to Dropbox.

Note: when we talk about entering something in this article, if the entered content is enclosed in quotation marks, do not enter them together unless we have special instructions.

To install Aptik, you need to add its PPA first. Press Ctrl + Alt + T to open a new terminal window. Enter the following text and press Enter.

  1. Sudo apt-add-repository-y ppa: teejee2008/ppa

Enter your password and press Enter.

Enter the following command at the command line prompt to ensure that the resource library is already in the latest version.

  1. Sudo apt-get update

After the update, you have completed the preparation for installing Aptik. Run the following command and press Enter:

  1. Sudo apt-get install aptik

Note: You may see some error messages about failed package updates. But don't worry. If these prompts look similar to the ones shown below, your Aptik installation will be fine.

The installation process is displayed. One of the displayed messages will mention how much disk space will be used for this installation, and then prompt whether you want to continue. Press "y" and press enter to continue the installation.

After the installation is complete, enter "Exit" and press ENTER or press the "X" button in the upper left corner to close the terminal window.

Before Running Aptik, you must set the Backup Directory to a USB flash Drive, network Drive, or cloud account similar to Dropbox and Google Drive. In this example, we use Dropbox.

Once the backup directory is set, click "Search" at the top of the startup bar.

Type "aptik" in the search box ". The result is displayed with your input. When the Aptik icon is displayed, click it to open the application.

At this time, a dialog box is displayed asking you to enter the password. Enter your password and press "OK.

The main window of Aptik is displayed. Select "Other…" from the "Backup Directory" drop-down list ...". This operation allows you to select the backup directory you have created.

Note: The "Open" button on the right of the drop-down list opens the Select Directory function in a file management window.

In the "Backup Directory" dialog box, locate your Backup Directory and press "Open ".

Note: If you have not yet created a backup directory or want to Create a new subdirectory In the Backup Directory, you can click "Create Folder" to Create a directory.

Click "Backup" on the right of "Software Sources (PPAs)." To back up the installed PPAs.

The "Backup Software Sources" dialog box is displayed. The installed package and the corresponding source (PPA) are also displayed. Select the source (PPAs) You want to back up, or click "Select All" to Select All sources.

Click "Backup" to start Backup.

After the backup is complete, a dialog box prompting you to complete the backup will pop up. Click "OK" to turn it off.

A file named "ppa. list" appears in the backup directory.

For more details, refer to the highlights on the next page.: Http://www.linuxidc.com/Linux/2015-01/112472p2.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.