Re[2]: More on daily backups..
James Treworgy <jamie-cnAK0CFwdQRWk0Htik3J/[email protected]> Wed, 21 Jan 2004 09:08:47 -0500
| Newsgroups | gmane.comp.sysutils.backup.hdup.general |
|---|---|
| Organization | Trewtech |
| Message-ID | <[email protected]> |
Hello Miek, MG> [On 21 Jan, @00:29, James wrote in "Re[2]: [hdup-user] More on dai ..."] MG> ah, than your slashes were the other way around :-) '\' vs '/' MG> I thought your were talking windows here :-) Oops. I use windows desktops all day long and linux servers... often make that mistake! MG> well using a short C program which utilizes that stat call, you can MG> set it to whatever you want (I guess). So prerun, becomes: dump + restat, It turned out to be not that hard to modify the tar source to ignore the change date, which is definitely easier for me than my very rusty C skills. Its actually a bit odd, because the various places where it checks the change date are usually conditional on one or two different options. But the description of the option -g didn't make a lot of sense to me and it seemed a simple solution to make a special "hdup" version of tar to suit my purposes. Anyway, seems to work fine as long as there aren't any other unintended consequences (e.g. things not being backed up that should...) but it appears to be doing what it should. The daily from yesterday was 17 meg versus a typical 75 meg! All I have left is to fix a couple un-rotated web server logs and I bet I'll be below 10 meg. -- Jamie