Changes between Version 3 and Version 4 of TracHotBackupScript
- Timestamp:
- Nov 9, 2015, 12:13:31 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracHotBackupScript
v3 v4 22 22 }}} 23 23 24 25 24 == Bugs/Feature Requests 26 25 … … 29 28 30 29 If you have any issues, create a 31 [ http://trac-hacks.org/newticket?component=TracHotBackupScript&owner=kcalcagnonew ticket].30 [/newticket?component=TracHotBackupScript new ticket]. 32 31 33 32 [[TicketQuery(component=TracHotBackupScript&group=type,format=progress)]] … … 35 34 == Download 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 Download the zipped source from [export:trachotbackupscript here], or fetch the script itself [/svn/trachotbackupscript/anyrelease/trac-hot-backup.py here]. 38 37 39 38 == Source 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 You can check out TracHotBackupScript from [/svn/trachotbackupscript/anyrelease here] using Subversion, or [source:trachotbackupscript/anyrelease browse the source] with Trac. 42 41 43 42 == Examples 44 43 45 Back up the project at /var/trac/myproj to /nfs/backup/trac/myproj-YYYY-mm-dd-HHMM:44 1. Back up the project at `/var/trac/myproj` to `/nfs/backup/trac/myproj-YYYY-mm-dd-HHMM`: 46 45 47 {{{ 48 #!sh 46 {{{#!sh 49 47 trac-hot-backup.py /var/trac/myproj /nfs/backup/trac 50 48 }}} 51 49 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 sevenmost recent backups, including the one just created:50 2. Back up the project at `/var/trac/myproj` to `/nfs/backup/trac/myproj-YYYY-mm-dd-HHMM.tar.gz` and delete all but the 7 most recent backups, including the one just created: 53 51 54 {{{ 55 #!sh 52 {{{#!sh 56 53 trac-hot-backup.py --archive-type=gz --num-backups=7 /var/trac/myproj /nfs/backup/trac 57 54 }}}