#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, your system needs an rsync client and a customised Windows synchronisation script. For details on how to proceed, please contact Iris Fula. === GNU/Linux, macOS, other Unix-like operating systems === Please make sure to… * save the script [attachment:sync-to-host sync-to-host] to a directory in your $PATH (for example `/usr/local/bin`), * make the script `sync-to-host` executable (e.g. `chmod +x /usr/local/bin/sync-to-host`) * check that the program `rsync` is installed (should be installed by default on most systems) * check that the program `anacron` is installed (should be installed by default on most desktop 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 TARGET_HOST=b.fluid.tuwien.ac.at export TARGET_DIR=$(hostname -s) # run the backup script once (enter your TU password when asked to do so) sync-to-host ${TU_USER} ${TARGET_HOST} ${TARGET_DIR} }}} ==== Automated backups on GNU/Linux ==== In order to set up a cron job for automated client backups on GNU/Linux systems, please copy and paste the following lines into a terminal: {{{ export CRON_FILE=/etc/cron.hourly/b_backup-${TU_USER} sudo tee ${CRON_FILE} <