RucioUpdateToNewVersion

From GridPP Wiki
Jump to: navigation, search

Instructions To Update Rucio

Pre-steps

  1. Using the daily backup of DB02 move this to DB03 and apply the database
    1. Find the latest backup
      1. grep Transferred /var/log/atlasbackup/atlasbackup.log | tail -1
    2. Retrieve the backup
      1. [root@ruciodb02 ~]# tape -r csfserv <BackUpNumber> <location for backup>/tape.<BackUpNumber>
    3. Move the backup to DB03 using SCP if backup not availale
      1. [root@ruciodb02 ~]# scp -i <Path/To/PrivateKey> /mnt/backfs/ruciodb02_db_backup_202108241613 root@ruciodb03.gridpp.rl.ac.uk:/var/lib/pgsql
    4. Move the tape backup to DB03
      1. [root@ruciodb02 ~]# scp -i <Path/To/PrivateKey> <<location for backup>/tape.714701 root@ruciodb03.gridpp.rl.ac.uk:/var/lib/pgsql
      2. Unpack the tape backup