Skip Navigation

[Resolved] Backup folder

This support ticket is created 5 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 replies, has 2 voices.

Last updated by Beda 5 years, 5 months ago.

Assisted by: Beda.

Author
Posts
#1278373

Hi
I need help. How to backup one folder from server?

#1278415

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

#1279627

I need backup every time new scan image will bee added to folder.

#1279985

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.