Posts: 57
Threads: 14
Joined: Jun 2020
Reputation:
10
01-14-2021, 07:58 PM
(This post was last modified: 01-14-2021, 08:00 PM by Svemar.)
Hi,
We have a system witch runs more than for 10 years, so a lot of attached documents are in a Storage folder and most of them are not changed for a long time.
Backup module tries to combine database and storage in a one BIG zip file, what takes a lot of time and resources and ends by error (because of too much Storage size).
Would it be possible to separate Storage backup from a Database backup?
Maybe is it possible to use incremental backup for Storage instead of Complete backup?
Thanks
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
Have you tried the 'External Backup' method?
Joe
TSolucio
Posts: 57
Threads: 14
Joined: Jun 2020
Reputation:
10
No, I havent tried, as for the moment we do not have FTP enabled, yet.
But even we would have, is FTP abckup option is similar to incremental backup? (means only the changed files to be backuped?)
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
It is not FTP, it is the same backup as Native but using operating system tools
The Native backup creates the .zip using PHP which can't handle that size of documents. The External backup calls the operating system mysqldump and zip commands, so the operation is done by the operating system, not PHP, which permits reaching much higher volumes of data at the expense of having those tools available in the operating system (which is very common).
The FTP option comes after the .zip has been created, one way or another.
Joe
TSolucio
Posts: 57
Threads: 14
Joined: Jun 2020
Reputation:
10
OK, will try to use Externa,
But maybe we can separate databse and Storage?
Could the database to be backuped individually and the Storage backuped the same time by using Rsync at the same time? OK that solution maybe is not for hosted environment, but...
Posts: 57
Threads: 14
Joined: Jun 2020
Reputation:
10
Thanks Joe :-)
Maybe this could also became as an GlobalVariable option?
Posts: 3,565
Threads: 36
Joined: Apr 2014
Reputation:
49
good idea. I'll put it on our endless to do list ;-)
Joe
TSolucio