Client backups
User data should be synchronised to each user's respective home directory on b.fluid.tuwien.ac.at. Home directories on b.fluid are backed up daily and can be restored for at least one year by the admins.
Setup instructions
Windows
In order to set up file synchronisation to b.fluid on your Windows client, please contact Iris Fula.
macOS, GNU/Linux, other Unix-like operating systems
Please make sure to…
save the script sync-to-host to a directory in your $PATH (for example /usr/local/bin),
install the rsync utility (sudo apt-get install rsync on Debian/Ubuntu, sudo yum install rsync on Fedora/CentOS)
copy/paste the following lines to a terminal (adjust TU_USER according to your TU username):
export TU_USER=YOUR_TU_USERNAME export CONFIG_DIR="${HOME}/.config/sync-to-host" export SSH_KEY="${CONFIG_DIR}/id_ed25519" mkdir -p "${CONFIG_DIR}" [[ -f "${SSH_KEY}" ]] || ssh-keygen -o -a 100 -t ed25519 -N "" -q -f ${SSH_KEY} cat ${SSH_KEY} | ssh ${TU_USER}@b.fluid.tuwien.ac.at "mkdir -p .ssh && cat >> .ssh/authorized_keys" export TARGET_DIR=$(hostname -s) sudo tee /etc/cron.d/b_backup-${TU_USER} <<EOF 00 18 * * * ${USER} /usr/local/bin/sync-to-host ${TU_USER} b.fluid.tuwien.ac.at ${TARGET_DIR} EOF