Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't have two exclude patterns with different letter case #2040

Open
andreyfedoseev opened this issue Feb 17, 2025 · 0 comments
Open

Can't have two exclude patterns with different letter case #2040

andreyfedoseev opened this issue Feb 17, 2025 · 0 comments

Comments

@andreyfedoseev
Copy link

Describe the problem, feature or ask a question:

I am trying to exclude some cache folders from the backups.

In particular, I want to exclude all folders named cache or Cache located in /home/user/var:

/home/user/.var/**/cache
/home/user/.var/**/Cache

The problem is that I can add either of these patterns, but not both at the same time. It seems that the list of exclude patterns is case insensitive, and considers patterns which different letter case as duplicates.

This does not affect the actual backups. If I exclude, /home/user/.var/**/Cache, then cache is going to be copied anyway.

backintime --diagnostics
{
    "backintime": {
        "name": "Back In Time",
        "version": "1.5.3",
        "running-as-root": false,
        "latest-config-version": 6,
        "local-config-file": "/home/UsernameReplaced/.config/backintime/config",
        "local-config-file-found": true,
        "global-config-file": "/etc/backintime/config",
        "global-config-file-found": false,
        "started-from": "/usr/share/backintime/common",
        "user-callback": "/home/UsernameReplaced/.config/backintime/user-callback",
        "keyring-supported": true
    },
    "host-setup": {
        "OS": {
            "/etc/os-release": "CachyOS",
            "/etc/arch-release": "\n",
            "/etc/lsb-release": "DISTRIB_ID=cachyos\nDISTRIB_RELEASE=\"rolling\"\nDISTRIB_DESCRIPTION=\"CachyOS\"\n"
        },
        "platform": "Linux-6.13.2-2-cachyos-x86_64-with-glibc2.41",
        "system": "Linux #1 SMP PREEMPT_DYNAMIC Sat, 08 Feb 2025 11:26:09 +0000",
        "display-system": "wayland",
        "locale": "en_US, UTF-8",
        "PATH": "/home/UsernameReplaced/.cargo/bin:/home/UsernameReplaced/go/bin:/home/UsernameReplaced/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin",
        "RSYNC_OLD_ARGS": "(not set)",
        "RSYNC_PROTECT_ARGS": "(not set)"
    },
    "python-setup": {
        "python": "3.13.1 main Dec 23 2024 22:19:34 CPython GCC 14.2.1 20240910",
        "python-executable": "/usr/bin/python",
        "python-executable-symlink": true,
        "python-executable-resolved": "/usr/bin/python3.13",
        "sys.path": [
            "/usr/share/backintime/qt/plugins",
            "/usr/share/backintime/common/plugins",
            "/usr/share/backintime/plugins",
            "/usr/share/backintime/common",
            "/usr/lib/python313.zip",
            "/usr/lib/python3.13",
            "/usr/lib/python3.13/lib-dynload",
            "/usr/lib/python3.13/site-packages"
        ],
        "qt": {
            "Version": "PyQt 6.8.1 / Qt 6.8.2",
            "Theme": "Papirus-Dark",
            "Theme Search Paths": [
                "/home/UsernameReplaced/.local/share/icons",
                "/var/lib/flatpak/exports/share/icons",
                "/usr/share/icons",
                ":/icons"
            ],
            "Fallback Theme": "breeze",
            "Fallback Search Paths": []
        }
    },
    "external-programs": {
        "rsync": {
            "version": "3.4.1",
            "protocol": "32.0",
            "capabilities": "file_bits: 64; inum_bits: 64; timestamp_bits: 64; long_int_bits: 64; socketpairs: True; symlinks: True; symtimes: True; hardlinks: True; hardlink_specials: True; hardlink_symlinks: True; IPv6: True; atimes: True; batchfiles: True; inplace: True; append: True; ACLs: True; xattrs: True; secluded_args: optional; iconv: True; prealloc: True; stop_at: True; crtimes: False",
            "optimizations": "SIMD_roll: True; asm_roll: False; openssl_crypto: True; asm_MD5: False",
            "checksum_list": "xxh128, xxh3, xxh64, md5, md4, sha1, none",
            "compress_list": "zstd, lz4, zlibx, zlib, none",
            "daemon_auth_list": "sha512, sha256, sha1, md5, md4"
        },
        "ssh": "OpenSSH_9.9p1, OpenSSL 3.4.1 11 Feb 2025",
        "sshfs": "3.7.3",
        "encfs": "(no encfs)",
        "shell": "/bin/fish",
        "shell-version": "fish, version 3.7.1"
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant