I want to ask advice from habrazhiteli about backups.
There is a folder with the project, there are sources in it and a large number of graphic and video files. At the moment, backup script does as follows:
Dumps all databases to backup folder - each database is in its own folder, each table is in its own file
Packs up every folder with a base in .tar, then presses it all in 7z
Copies the folder with the project to the backup folder
Packs a folder with a project in .tar and presses 7z
Naturally there are a lot of graphics, it does not shrink and compression takes a very long time. At the moment there are about 2 gigabytes of custom graphic files. ')
At the moment there are the following ideas:
Copy only all text files, i.e. source codes and design graphics (there is not a lot of it) - use find or make a script that copies all the project subfolders separately, skipping folders with graphics
Folders with graphics to copy separately and just pack in .tar
Option with rsync thought, but I did not find an opportunity to do synchronization on windows machine
Any good advice and ideas are welcome. The server runs on Gentoo Linux.