On 2 June 2011 18:07, Chris Rowson <[email protected]> wrote: > > On Jun 2, 2011 5:50 PM, <[email protected]> wrote: >> >> I would say it depends on what you mean by 'wrong' >> >> I handle the backups for a local government, so yes, that is wrong, very >> wrong. >> > > I know where you're coming from. I think the list has quite a few public > sector members in various capacities ;-) > >> But it depends what you need it for. If you are happy with the retention >> that that gives you, then that's fine. >> > > Sorry. I've probably given you the wrong impression. Data from the backup > directory would be backed up too another box. That box in turn is backed up > elsewhere. 7 days is the local retention only. > >> The only suggestion I would make is that you should create the backup >> first, and only if the backup is created successfully should you delete the >> old one >> > > Again, my fault, but the final script would run validation checks. I was > basically asking if people use find rather than over complicating things as > I've seen elsewhere. I wouldn't use that script as is. > > Chris
I've started using rsnapshot. It does something similar with the local retention, but each file which is identical (between retained backups) is hard-linked rather than taking multiple disk blocks. I set up the config file once (which took 2 attempts and maybe 2.5 hours in total), set up cron and it just runs. The problem I find with hand-rolled backup scripts (which I've used in the past) is that you're the one maintaining them... Neil. -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
