Backup Tools

Keep Your Data Safe

There are many backup tools for Linux-based operating systems like the Kubuntu Focus. We have configured BackInTime as an the out-of-the-box solutions, but there are other options you may want to consider. A related tool, System Rollback, was added in release 24.04 LTS.

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 by default on the Kubuntu Focus. You may use this to restore an earlier version of a file or restore a deleted file. BackInTime, by default, only takes backups of files in users' home directories.

To see what is being backed-up, examine the BackInTime settings. It is pre-configured to ignore directories that would otherwise be useless, such as cache directories and temporary directories. It only backs-up your home folder, and backs up most of your configuration files as well.

By default, snapshots are stored under /home/backintime. This configuration is useful to recover from human errors, but it does not protect against drive failures since the backups are stored on the same 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. It may be used to take snapshots of the root and boot filesystems. These snapshots can later be restored if the OS becomes broken. System Rollback does not take snapshots of any user's home directories.

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

Snapshot and restore the system with System Rollback.

Snapshot and restore the system with System Rollback.

Take a Snapshot with USB Drive

Another handy technique is to copy your home directory to a USB thumb drive or external 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 have found it very useful to backup the following data to a completely separate disk directory before proceeding:

After the clean install, we recommend the following steps to restore your data:

Other 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.

Troubleshooting

Content will be added as needed.

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 GEAR

KFocus Logo