mechmotum / jupyterhub-deploy-teaching

Reference deployment of JupyterHub and nbgrader on a single server
http://jupyterhub-deploy-teaching.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
0 stars 2 forks source link

Install backup-home script #15

Closed ixjlyons closed 6 years ago

ixjlyons commented 6 years ago

Need to grab it from the live server.

This is referring to the script users can run to archive their home directory:

#!/bin/bash
# Back up current user's home directory.
homedir=$(getent passwd "$LOGNAME" | cut -d: -f6)
backupfile="backup.zip"
find "$homedir" ! -name "$backupfile" | zip -u "$homedir/$backupfile" -@
ixjlyons commented 6 years ago

Added instructions for setting it up to README instead.

Was thinking of the global system backup above