Backups

Keep Your Data Safe

There are many backup tools for Linux-based operating systems, as found in the Kubuntu Focus Suite. BackInTime and System Rollback are pre-configured and ready to use immediately. Other tools are useful for different situations.

Backup and restore personal files with BackInTime.

Backup and restore personal files with BackInTime.

Please read the disclaimer before proceeding. We review and update guided solutions regularly. If you have suggestions or requests, please write support@kfocus.org.

BackInTime

BackInTime is installed, pre-configured, and ready-to-run on the Kubuntu Focus. You may use this tool to restore an earlier version of a file. By default, it only backs up files in users' home directories below a minimum size. It also ignores cache and temporary directories that would otherwise be useless. Examine the BackInTime settings to see and change what files are backed-up. By default, backups are stored under /home/backintime.

The default setup is useful in recovering from human errors on smaller files and configurations, but it does not protect against drive failures because the backups are stored on the home disk. For this reason, we highly recommend you use an external or remote drive to store backups instead. To learn more, please see the official BackInTime documentation. Please make sure you adjust the backup filter to allow larger files and test your backups to ensure you capture all the data you need.

Adjust which files are included in or excluded from backups.

Adjust which files are included in or excluded from backups.

System Rollback

System Rollback is available by default on 24.04 LTS (Noble) systems with BTRFS. You may use it to take snapshots of the root and boot filesystems, which can later be restored. System Rollback does not take snapshots of user home directories.

See the System Rollback documentation to learn how to create and restore snapshots.

Snapshot and restore the system with System Rollback.

Snapshot and restore the system with System Rollback.

Back Up to an External USB Drive

You can back up data to an external USB drive:

Because of file permissions, you may not be able to copy all files. In this case, you will want to use sudo and root to copy between the directories. You may right-click on a pane in the directory and then select Actions > Open Terminal. From there, you can use sudo to copy files as root into the media directory.

Backup for Clean Install

If you decide to clean install the OS, we recommend you back up your data to a cloud drive such as Dropbox, or as described in Back Up to an External USB Drive, above. We recommend you back up at least the following data:

If you are using an external USB drive, remember to use the Safely Remove step to ensure all data is completely copied.

Restore After Clean Install

After a Clean Install, you can restore apps and data:

Other Backup Solutions

Cloud storage, such as Dropbox, Microsoft OneDrive, or Google Drive, can often provide multiple versions of files using heuristics. However, we recommend explicitly versioned backups, such as those provided by SCMSs (Source Control Management Systems like Git) for more exact control. Ultimately, one must balance convenience and storage requirements with completeness. And remember, any backup solution is better than none.

Revisions

This is a partial revision history. See the git repository for all entries.

Disclaimer

We try hard to provide a useful solution validated by professionals. However, we cannot anticipate every situation, and therefore cannot guarantee this procedure will work for your needs. Always backup your data and test the solution to determine the correct procedure for you.

THIS SOLUTION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOLUTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

HAVE QUESTIONS?Call 844-536-2871 or write
TellMeMore@kfocus.org   |  GET FOCUS MERCH