#language en = 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. === GNU/Linux, macOS, 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`), * check the `rsync` utility is installed (should be installed by default on most systems) * 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" export TARGET_DIR=$(hostname -s) # set up config and SSH key 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" # set up cron job sudo tee /etc/cron.d/b_backup-${TU_USER} <