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

role:duplicty: Files in divided folder won't be backed up by duba #80

Open
bzblf opened this issue Sep 7, 2022 · 0 comments
Open

role:duplicty: Files in divided folder won't be backed up by duba #80

bzblf opened this issue Sep 7, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bzblf
Copy link
Contributor

bzblf commented Sep 7, 2022

files located directly in a folder (which is divided in duba via /etc/duba/duba.json with the entry "divide": true,) are not backed up

Example:
The folder parentfolder1contains folders and files. The folders and files in folder1, folder2 etc. will be found in the backup, but not the files that are directly in the folder parentfolder1.
In the listed Example below, the file file1.tar.gz will be missed in the backup.

[hostname Rocky8 ~]$ ll /parentfolder1
total 30790
drwxrwsr-x. 6 user1 group1        66 May 19 12:17 folder1
drwxr-xr-x. 2  266012    1274        93 May 16 14:35 folder2
drwxr-xr-x. 6 user1 group1       112 Jul 20  2021 folder2
-rw-r--r--. 1 root    root    314449920 May 16 14:34 file1.tar.gz
drwxr-xr-x. 3 root    root           23 May 16 14:40 folder3
[hostname Rocky8 ~]$ cat /etc/duba/duba.json 
{
  "gpg_encrypt_local_key": "thekey",
  "gpg_encrypt_master_key": "themasterkey",
  "backup_sources": [
    {
        "divide": false,
        "path": "/backup"
    },
    {
        "divide": false,
        "path": "/etc"
    },
    {
        "divide": false,
        "path": "/home"
    },
    {
        "divide": true,
        "excludes": [
            "**/parentfolder1"
        ],
        "path": "/folder3"
    },
  ......omitted.......
@markuslf markuslf added the enhancement New feature or request label Sep 7, 2022
@markuslf markuslf changed the title role:duplicty: Files in devided folder by duba won't be backuped role:duplicty: Files in divided folder won't be backuped by duba Sep 7, 2022
@markuslf markuslf changed the title role:duplicty: Files in divided folder won't be backuped by duba role:duplicty: Files in divided folder won't be backed up by duba Sep 7, 2022
@NavidSassan NavidSassan added bug Something isn't working and removed enhancement New feature or request labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants