Backup - SeaDataCloud/Documentation GitHub Wiki

Backup of dashboard, NextCloud

All Backup files are copied to the: Dashboard

Find files in vre-config repo at the utils/backup folder

Folders and files we are saving

  • /root/vrehome/nextdatacloud/nextdatacloud_all/
  • 3 most recent files from /root/vrehome/mysql_backups/dashboard_mysql (mysql dump files .err .log .sql)

Archive Server

We use the dashboard.argo.grnet.gr server as the backup archive server. The files are saved at the home directory of "backup" user /home/backup

Cronjob

* 4 * * * /root/vrehome/utils/backup_vre.sh

The command above will execute the backup script every day at 4 am

Remote file transfer

The file transfer is handled by the rsync command inside the scp_files.sh script. Prerequisites

  • Create a key pair and copy the *.pub key to the remote archive server
  • Update the global variables in the script as the documentation in script orders