📜 ⬆️ ⬇️

How to make backups of heterogeneous content?

Good day!

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:
  1. Dumps all databases to backup folder - each database is in its own folder, each table is in its own file
  2. Packs up every folder with a base in .tar, then presses it all in 7z
  3. Copies the folder with the project to the backup folder
  4. 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:


Any good advice and ideas are welcome.
The server runs on Gentoo Linux.

Source: https://habr.com/ru/post/51896/


All Articles