Hi
I need help. How to backup one folder from server?
Toolset and its supports do not provide assistance on a server or other non-Toolset related issues
To back up a website you can follow this DOC or this FAQ:
https://wordpress.org/support/article/wordpress-backups/
https://toolset.com/faq/provide-supporters-copy-site/
(Latter helps to create a full duplicate as well).
Or, you can simply copy a specific folder if you need to backup only a specific folder, to another, safe location.
However, as mentioned neither Toolset or WordPress will help to automatically backup your website, it needs to be done on the hosting level or manually or using a backup software
I need backup every time new scan image will bee added to folder.
Toolset cannot help you with this, I am afraid.
It does not provide mechanisms to automatically backup something on your website.
Toolset provides you with a set of instruments to design a website, but not to control a server.
I think you'll need a CRON that backups the precise file, or some other custom event fired when a file is uploaded/added to your library.
You could use maybe this as starting help: https://wordpress.stackexchange.com/questions/35690/media-upload-finished-hook
The hook described there could help to hook your code when the upload's done.
If you use Toolset Forms to upload images, you might also use the Forms API to do your custom Actions whenever that form submits images - you would not even need to hook into the upload done hook above described, you could just check if an image is uploaded.
For example, as shown here:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
With "if (isset($_POST['my_custom_field']))" the custom code checks if the field exists and that means in your case, the image is uploaded. If so, fire some custom code that backups your image's folders.
However, this is subject to custom coding, and unfortunately, Toolset cannot help with this, as our Support Policy restricts us to help with issues and how to's about Toolset:
https://toolset.com/toolset-support-policy/
If you require Custom Coding Help for this, we can suggest talking to the Certified Contractors here https://toolset.com/contractors/
Thank you for understanding.