For all of those who are using TidyBackups, please upgrade to version 22.214.171.124 – available from SourceForge: Download tidybackups from SourceForge.net.
Just a reminder, the options are:
This outputs the license details (LGPL), it can not be used with any other switch (if it is, they’ll be ignored)
This is how you define the path it’ll use – this option is required
This is the max age of the backups, anything older will be deleted – this option is required
This will ZIP (compress) any uncompressed files with the file extension of .bak (MSSQL Backups)
This will output to a log file (amend), if no path is specified it will use the current working directory, if no filename is used, the default will be used.
If this is set, it will output debug information, no actual work will be done. It’s useful for testing as it checks file permissions and confirms what will happen without actually doing it.
If TidyBackups detects a corrupt ZIP, it will be deleted, unless /safe has been used
This is the min number of backups that should remain, it will overwrite the /days. The idea is if your backups stop working, you will always keep at least a few. If no days are supplied, then it will default to 6. It will keep this number of each database. The database is determined by the filename, it assumes it’s in the format of databasename_date_time.bak (or such).
Many thanks to the people who have provided feedback so far. I am currently working on v2 which will include a number of new features and any further comments, requirements, bugs will be most gratefully received and I will endeavor to include them in the final v2 release. I am also after an idea of who’s using TidyBackups currently, or planning to use it, ideally with nice lovely endorsement saying how useful it is
If people could let me know via the Edugeek forum, or PM\email if they do not want to do so publically, also let me know if you’ll be interested in being contacted when I’m ready for people to test version2.
Once again, thank you for supporting free open source software – namely TidyBackups
We're using it, nice and reliable piece of programming and with the new options it will be even more so.
matt40k (18th March 2011)
I was going to put it on my new box, haven't used it on this one as it's a temporary with both sql flavors on it. But i have recommended it to quite a few people.
What i do manually at the moment is to zip (well rar) every few days, and then delete ones from the previous month, bar keeping one weekly one. As the NM is annoyed at the space i'm using up, i might alter this to only keep one monthly, then weeklies for the past month, like a true grandfather strategy.
I think i mentioned it before but is there anyway to code this? That would be excellent. Usually the process is done with tapes, so it's a human process. If you could inspect the year, then month, keeping the first occurence for each unique combo, as protected. Only issue is it's a long wade through over time, unless you use the archive or read only bits, but that's still going to take the same amount of time.
I'm only envisaging it being used on a folder that's valid for a year. At the end of the year, some manual archiving would be done.
Do you have any plans to support 7-zip compression in TidyBackups?
I did a quick test with our SQL backups and found recompressing them with 7-zip made a massive difference...
Code:Zip: 3.22 GB (3,462,998,711 bytes) 7-zip: 1.66 GB (1,791,790,807 bytes)
On the topic of SIMS backups, is there any problems with me using this to run a backup to our backup media at night (lets say 8pm) while the LA software runs automatically in the morning (lets say 7am) and backs up to removable disk? Will both backups be suitable to use for restore?
On the subject of your backups, be very very careful about having two routines at once. You need to know how they are being backed up. I prefer a full backup each time. If one of the routines is differential, it will blow up the integrity of the other backups because it wants to create a differential after a full, and things get confused. I had this a while back when the NM backed up via BackupExec using a differential strategy, and my daily sql backups were causing the stuff on tape to be useless.
Best thing to do is use SQL backup or dbattach backup, to a single location, then let all other systems take the file from that location, and use TidyBackups™ ( ) to keep the files in order. So there is only ever 1 live backup done daily.
Arthur (20th March 2011)
What could do is add is a expirely date, so you could manually change it. The new version will have the standard command-line exe, a dll which 3rd parties could use and finally a GUI. So it may be possible to intergrate into a existing (open source) backup product, or TidyBackups could become Backup Manager 2012
It is complicated, but as far as i can see, we can create the rules, so whatever works out easier, bearing in mind, some of your potential users may not fit the gregorian week / calendar!
The way i see it is the grandfather strategy is a minimum, so if by choosing 4 weekly or other such rule you end up with more then that's fine. I'd say four weekly might do the job.
It's not something i've seen automated before, it's usually manually done by the tape holder, so doing it at the file level like this is a bit new, so we can make the rules.
Maybe it is easier to code by date though, so your limits in a year are 12 per year, 4 per month, 5 per week. So you'd preserve 21 per year, 9 per month and 5 per week. Does that work? Which ones to delete are a different scenario. Yep, it's complicated, need to go and think about it some more...
Not really a pretty method, but you should be able to do it with v2 (when it's finished), have 4 separate tasks, moving the files to 4 different folders, daily/weekly/monthly/yearly
1. Compress backup, move to daily folder, if more than 5 backups in daily, remove it.
2. Move the 5th daily file to the weekly folder, if more than 4 backups in weekly, remove it.
3. Move the 4th weekly file to the monthly folder, if more than 12 backups in monthly, remove it.
4. Move the 12th monthly folder to the year folder
How does that sound?
I've been using it County wide against every school we support (270 odd) since Capita removed their compression feature and it's working like a dream! It's made no end of difference (especally in our small Primary Schools that have smaller disks) and I'll happily endorse it if needed.
*Tried to give rep but I have to "spread the love" first...
Last edited by Rawns; 22nd March 2011 at 11:22 AM.
matt40k (22nd March 2011)
There are currently 1 users browsing this thread. (0 members and 1 guests)