Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The backup scripts are stored in /u3/scripts;

  • The log files for these scripts are stored in /u3/scripts/logs; These logs are rotated on dafnenfs from logrotate (check last point);

  • The script u2_backup.sh is responsible to create a backup of /u2 in /u3/u2_backup and launch nfs_rsync.sh script to rsync data to nascoda1. The u2_backup.sh script is launched by crontab on host dafnenfs every day (see Table 2 for details);. The script sends an e-mail to andrea.michelotti@lnf.infn.it francesco.galletti@lnf.infn.it to notify the exit status.
  • The script nfs_rsync.sh is responsible to rsync the data from the host where it is launched to nascoda1. It will send an email to Paolo Ciuffetti at his end to inform him on the backup sends an e-mail to andrea.michelotti@lnf.infn.it francesco.galletti@lnf.infn.it to notify the backup exit status. It is launched by crontab on host danteweb and vldafneafp every day (see Table 2 for details);
  • The host dafnenfs share /u3/scripts; danteweb and vldafneafp mount that folder via NFS on boot (folder present in /etc/fstab);
  • The host dafnenfs has a custom configuration for logrotate present in /etc/logrotate.d/nfs_rsync to rotate log files generated by these scripts. It will rotate all log files every day, keeping them compressed in /u3/scripts/logs/old folder for 5 days.

Git repository for backup scripts

Link / Path

Note

link: https://baltig.infn.it/lnf-da-control/dcs-backup-scripts

branch : main

Script in repository:

  • nfs_rsync.sh
  • u2_backup.sh

Data

Control system data was saved in a Sun Storagetek 2550 Disk Array (LAT room) connected with two fiber optic paths to beatrix and virgil, the old production cluster. Now it's all stored and exported to us from the IT department of LNF; These are the folders in which data is organized: 

...

Backups are planned on NAS nascoda1.lnf.infn.it (LAT room) and rsynced on NAS nasda.lnf.infn.it (Control Lab, Building 2, Room 117) with following planning:

...

View file
name01-inserimento-disco-e-creazione-backup.mp4
height250
View file
name02-rimozione-disco.mp4
height250

Excerpt Include
Recover files from backup
Recover files from backup