If you want to use a different method or want to add some sort of authentication or other kinds of logic with the backup call, you can write your own view importing the do_backup function: # views.py ...
atomic_copy(src: str, dest: str) ‑> bool: Copy from src to dest. If src changes while copying to dest, retry till it is the same These are very few ways to truly guarantee a file is copied atomically, ...