Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upslow 2nd+ backup with winbind as nss provider #5295
Comments
|
Easiest explanation is that something frequently/regularly changes the Of course, after removing borg's cache, next backup is expected to be slow, but the one after that should then be faster again. Another reason why you maybe do not see a huge speedup could be that you have lots of small files, which are in general less efficient to deal with. In that case 20h < 23h is maybe all the speedup you'll get. |
|
Yes, there are lots of small files: roaming storage for windows users. Any suggestion for speeding up backup lots of small files? Thanks |
|
Hi, i've tried 3 backups with clear borg's cache, using files-cache=ctime,size again Time required for first backup is: 23 hours , next backups is 17 hours , and new files is not many Is there any way to make next backups faster than 17 hours?
|
|
Something is "wrong" in your setup. Here are some stats from one of my backups:
So you see, for this backup, it took 3 minutes to process 800k files (most of them did not have changes, only a few new/with changes resulting in a deduped backup size of ~5MB). Setup: borg client:
borg repo server:
|
|
Stuff to check:
|
|
You did not specify where you got If yes, maybe also try an older binary on the centos6 machine. borg 1.1.11 was built on (old) debian wheezy and might work better for old linux dists. See #5220. This only applies to the "fat binaries" offered on github releases (made with pyinstaller). If you installed borg from source (including via pip), there is no reason to use an older borg release. |
|
Wow thats very fast, 3 minutes.. Yes i think so something wrong with my setup Borg is compiled using pip, python is 3.6.10 , also compiled from source Client is virtual machine, with 4 GB allocated. Load is below 1. Using I will check again.. Thanks |
|
Hi.. I think I found the problem When I stop Using
If Then I try backup again with Thanks |
|
Interesting. So, which of |
|
I'm using |
|
Hmm, maybe winbind does not produce cache misses (at least not if you always have it active), but it is just winbind being very slow compared to a normal |
|
TODO: check if |
Have you checked borgbackup docs, FAQ, and open Github issues?
Yes
Is this a BUG / ISSUE report or a QUESTION?
Issue
System information. For client/server mode post info for both machines.
Your borg version (borg -V).
client: borg 1.1.13
server: borg 1.1.13
Operating system (distribution) and version.
client: Centos 6
server: Centos 7
Hardware / network configuration, and filesystems used.
Backup via internet
How much data is handled by borg?
450GB
302366 files
Full borg commandline that lead to the problem (leave away excludes and passwords)
borg create -s -p -C lzma --list --filter=AME --exclude-from=/root/exclude-backup.txt --files-cache=ctime,size borg@server-ip:backup/pdc::pdc-{now} /home/data/
Describe the problem you're observing.
Second, third backups, etc. after successful backup is slow
First backup takes 23 hours, next backups still takes >20 hours
Can you reproduce the problem? If so, describe how. If not, describe troubleshooting steps you took before opening the issue.
I have tried to remove /root/.cache , but still slow
Thanks
Include any warning/errors/backtraces from the system logs
none