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

BackInTimeBackInTime 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. BackInTime stores backups under /home/backintime by default.

The default setup helps recover from human errors on small text and configuration files, but it does not protect against drive failures because the backups are stored on the same home disk. It also does not safeguard larger files because they are configured to be skipped. For these reason, we highly recommend you use an external or remote drive to store backups instead and, under BackInTime > Settings > Exclude, change or disable Exclude files bigger than .... 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

RollbackSystem Rollback is available on systems running Kubuntu Focus Suite 24.04 that use the default or recommended BTRFS filesystem. It is not available for other filesystems or prior versions of Kubuntu. Use it to create coherent snapshots of the root and boot filesystems that may be restored later. 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 Drive

You can back up data to an external drive:

File permissions may prevent you from copying all files. If so, 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 Backblaze, or as described in Back Up to an External Drive, above. We recommend you back up at least the following data:

After all the files are copied, take care to safely remove the disk. To do this, move the cursor to the system tray and click on the Disks & Devices icon. This will show an area with a list of mounted devices. Find the disk you just copied to and click [ Safely Remove ] found next to it. Once you see This device may be safely removed, you can physically detach the device.

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