Open jirib opened 6 years ago
IIUC there's no way to see 'what will be in backup' before running the backup itself. It is not also clear from docs how important is order of include/exclude lines.
Hello,
The order of include/exclude lines as they appear in the config has no meaning, because burp does ordered scans of file systems and therefore re-orders the config lines internally.
'burp -t' parses the config file and tells you what is in it. If you are parsing a client config file, it does not connect to the server and run all the code that would eventually determine what the server wants the backup configuration to be.
However, you can stand on the server side and see the overridden incexcs per-client, like this:
burp -c /etc/burp/burp-server.conf -t -C testclient
Example output:
root@small:/home/graham# burp -c /etc/burp/burp-server.conf -C testclient -t | grep include
include: /home/graham/testdir
include_ext:
include_regex:
include_fs:
include_glob:
Also, I intend the burp -a d (diff) option to be able to tell you what will be backed up next based on the previous backup. That is not implemented yet though.
Why not to make burp -t
like option to connect to server and print full settings?
It is possible, but things don't just happen for free and many things compete for my attention.
It would be nice if client could see final incexc list on the client itself: