Skip to main content
How to configure Linux root directory for backup

backup root folder on a linux device

Updated over a week ago

Problem Statement:

Unable to backup Linux (Ubuntu) root directory if we configure the “/” or “/\” directory in the profile.

Summary:

1. Tried to configure the Root directory backup for Ubuntu.

2. When we configured the “/” directory in the profile, it did not configure the root directory.

3. After we save the configuration, the Backup Location shows blank :

Cause:

This happens as inSync uses Python code. If we configure only a single forward slash i.e. “/”, it will consider it as Python syntax.

Resolution:

1. To resolve this issue, we will need to use double slashes as a root directory backup i.e. “//”.

2. The first slash will be ignored as Python syntax and the second slash will be considered as a Linux Root directory.

Disclaimer: Please add necessary exclusions to keep the backup size and backup duration in check.

Did this answer your question?