Changes between Version 2 and Version 3 of TracHotBackupScript
- Timestamp:
- Mar 16, 2015, 7:58:20 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracHotBackupScript
v2 v3 1 = Backup tool that enhances the trac-admin hotcopy utility =1 = Backup tool that enhances the trac-admin hotcopy utility 2 2 3 == Description ==3 == Description 4 4 5 Script that provides some additional tooling around TracAdmin's hotcopy function. The script supports archiving the backup in gzip, bzip2, or zip format and can be configured to retain a specified number of past backups.Ideal for use as a cron job.5 This plugin is a script that provides some additional tooling around TracAdmin's hotcopy function. The script supports archiving the backup in '''gzip''', '''bzip2''' or '''zip''' format and can be configured to retain a specified number of past backups. Ideal for use as a cron job. 6 6 7 7 The script is derived from the 'hot-backup.py' script included in the Subversion distribution which provides similar tooling around Subversion's hotcopy utility. … … 23 23 24 24 25 == Bugs/Feature Requests ==25 == Bugs/Feature Requests 26 26 27 27 Existing bugs and feature requests for TracHotBackupScript are … … 31 31 [http://trac-hacks.org/newticket?component=TracHotBackupScript&owner=kcalcagno new ticket]. 32 32 33 == Download == 33 [[TicketQuery(component=TracHotBackupScript&group=type,format=progress)]] 34 35 == Download 34 36 35 37 Download the zipped source from [download:trachotbackupscript here], or just grab the script itself [http://trac-hacks.org/svn/trachotbackupscript/anyrelease/trac-hot-backup.py here]. 36 38 37 == Source ==39 == Source 38 40 39 41 You can check out TracHotBackupScript from [http://trac-hacks.org/svn/trachotbackupscript/anyrelease here] using Subversion, or [source:trachotbackupscript/anyrelease browse the source] with Trac. 40 42 41 == Examples ==43 == Examples 42 44 43 45 Back up the project at /var/trac/myproj to /nfs/backup/trac/myproj-YYYY-mm-dd-HHMM: 44 46 45 47 {{{ 46 $ trac-hot-backup.py /var/trac/myproj /nfs/backup/trac 48 #!sh 49 trac-hot-backup.py /var/trac/myproj /nfs/backup/trac 47 50 }}} 48 51 49 Back up the project at /var/trac/myproj to /nfs/backup/trac/myproj-YYYY-mm-dd-HHMM.tar.gz and delete all but the seven most recent backups (including the one just created):52 Back up the project at /var/trac/myproj to /nfs/backup/trac/myproj-YYYY-mm-dd-HHMM.tar.gz and delete all but the seven most recent backups, including the one just created: 50 53 51 54 {{{ 52 $ trac-hot-backup.py --archive-type=gz --num-backups=7 /var/trac/myproj /nfs/backup/trac 55 #!sh 56 trac-hot-backup.py --archive-type=gz --num-backups=7 /var/trac/myproj /nfs/backup/trac 53 57 }}} 54 58 55 56 == Recent Changes == 59 == Recent Changes 57 60 58 61 [[ChangeLog(trachotbackupscript, 3)]] 59 62 60 == Author/Contributors ==63 == Author/Contributors 61 64 62 65 '''Author:''' [wiki:kcalcagno] [[BR]] 66 '''Maintainer:''' [[Maintainer]] [[BR]] 63 67 '''Contributors:'''