Python script for backup files and directories. Save your files from loss or damage.
pip install Backupy-tool
from Backupy import Backupy
backup = Backupy()
backup.add_directory('/var/www/html/assets/')
backup.start()
Follow here for more examples.