<!-- keep this as a security measure: #uncomment if the subject should only be modifiable by the listed groups # * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.CMSAdminGroup # * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.CMSAdminGroup #uncomment this if you want the page only be viewable by the listed groups # * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.CMSAdminGroup,Main.CMSAdminReaderGroup --> ---+ Remote Repository Backup Admin ---++ Software The software consists of custom-made python scripts that can be found at [[https://www.github.com/daniel-meister/rrbackup/]]. ---++ User Instructions For user instructions see RemoteRepositoryBackup ---++ System Configuration The script is installed as a cron job on =t3fs05= running under the =cmssgm= user. <pre> root@t3fs05 $ crontab -l cmssgm # fetch backups of remote repositories # for more details see https://wiki.chipp.ch/twiki/bin/view/CmsTier3/RemoteRepositoryBackupAdmin 37 2 * * * /swshare/rrbackup/bin/run_rrb.py </pre> ---++ Software Configuration The list with all files to backup can be found at =/swshare/rrbackup/config/backup.list=. It consists of 3 columns (separated by any amount of white-space) with the first column being the unique ID of the repository (usually =<username>_<repo_name>=), the second column contains the URL to fetch the resource from (so far only git URLs are supported) and the third column indicates whether the entry is active or not. Non-active entries are kept in the list so that existing backups can be phased out gradually instead of being deleted at once. ---++ Log Files All actions are logged to a logfile at =/swshare/rrbackup/log/backup.log=; both the log file path and the log level can be configured in the =run_rrb.py= script. -- Main.DanielMeister - 2013-07-22
This topic: CmsTier3
>
WebHome
>
WebPreferences
>
RemoteRepositoryBackupAdmin
Topic revision: r2 - 2013-07-22 - FabioMartinelli
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback