Exclude directories other than user data

Asked by syk0sis6

Is there an option or configuration that can be set to exclude directories other than user data directories?

Question information

Language:
English Edit question
Status:
Solved
For:
Systemback Edit question
Assignee:
No assignee Edit question
Solved by:
Kendek
Solved:
Last query:
Last reply:
Revision history for this message
Best Kendek (nemh) said :
#1

No, because Systemback creates restore points from the working system. If you exclude a critical file or directory, the restored (or copied, installed, Live) system will not boot, or not work properly. So this is a stupid-proof solution.

Revision history for this message
syk0sis6 (syk0sis6) said :
#2

Thank you... This does answer the question.

Revision history for this message
syk0sis6 (syk0sis6) said :
#3

Would suggest possibly working from a must have list (known needed system dirs/files) and allow the user to select? Just a suggestion still a great product.

Revision history for this message
Kendek (nemh) said :
#4

There is no include list, only the FHS (Filesystem Hierarchy Standard) and hardcoded exclude lists for the system files. Only the system files are saved (the other files and directories are ignored in the root directory) and the user-defined exclusions are not possible because the system integrity. The system is based on Debian packages, with fixed items.

Revision history for this message
syk0sis6 (syk0sis6) said :
#5

Thank you !

Revision history for this message
MSA (mailtomark) said :
#6

I have a few more related questions:

So anything that is data should go into /home - right?

How are includes and excludes handled?

I did not specify any includes or excludes, and it seems like the result is that everything in home directories that is hidden (starts with a period) is included while everything else is excluded - probably because the hidden stuff is assumed to be config files ad therefore relevant for system integrity while the non-hidden stuff is assumed to be data. Is that right so far?

So how are conflicts between includes and excludes handled? Which one has priority?

Thanks.

MSA

Revision history for this message
Kendek (nemh) said :
#7

Yes, the users home dirs are located in the /home directory (this is the standard).

The restore points contains only the config files (config files definition: dot started - hidden - items in users dirs with 8 MB size limit for files).
The non-hidden items (in the user dirs) are just data files, yes, and maybe contains personal stuff (documentums, pictures, videos ...).

There is no priority, because the 'Exclude' and the 'Include' setting panels lists different items. So all files can not be included, but included items are defined as config files. If you perform a restoration, the included files may be overwritten.