This script is designed to backup your Seafile program, data, databases and additional files using borgbackup to an SSH-capable backup server. The defaults are set to mirror (mostly) a default Seafile installation as per the official documentation. The only exception is that the script assumes you have separated your Seafile program and data which is a best-practice but not the default. It is assumed your data is located at /var/seafile and the program at /opt/seafile but these are easily changable via parameters.
The following pages detail installation, usage and customization. Links to other pages are in the dropdown above and to the left. You can also just open any provided file and it is fully commented so you can pretty easily tell what it's purpose is and how to customize it to fit your environment. The script itself can be run with --help to explain the avaiable options and their default settings.