diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2020-10-28 20:14:05 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2020-10-28 20:14:05 +0100 |
commit | b1ed551c3125278d14a69750fea2bfe39cf68530 (patch) | |
tree | fe7a89bd5bea3d53b18009a55e29b9f4181ca600 /static/jquery.lazyload.min.js | |
parent | 0faa732c9a3e1ffced2b26bee682f513b0e5f0ae (diff) |
Add fbin-backup.py
This is a backup script which will copy files to a target storage, and
optionally add database entries as well. It works by specifying a source
and a target config file. Both should have separate storage configured,
and files will be copied from the source storage to the target storage.
The list of files to copy is read from the source database, which means
this must be accessible from where the script is run, not just the
storage. If updating databse entries the target database must also be
accessible. The target database is also check for any existing file
hashes, and any files that would cause a collision will be skipped.
Diffstat (limited to 'static/jquery.lazyload.min.js')
0 files changed, 0 insertions, 0 deletions