hi guys.. i got a very weird problem..
there r 2 servers with DA installed..
i've made DA's system backup to run at 4:30am on both servers every night..
to make things tidy and not to kill the disk space.. i wrote a cleanup script to remove system backups that r 7 days old..
so the problem is.. when i run the exactly same script on the 2 servers.. one of them would start deleting folders that r 7 days old, while the other would delete folders that r 6 days old instead!
weird.. i tried running the command directly on the 2 servers:
find /backup/system -maxdepth 1 -mtime +6
the results r different?! instead.. the other server need to run the following command instead to show the same result:
find /backup/system -maxdepth 1 -mtime +5
so.. what's wrong with them?! i've no idea at all what could make such difference in the result of find command.. with all the folder structure the same..
the only difference of the 2 servers is that 1 is running centos 4.4 and 1 is running centos 5.4.. will that be the cause???
any help would be appreciated!
there r 2 servers with DA installed..
i've made DA's system backup to run at 4:30am on both servers every night..
to make things tidy and not to kill the disk space.. i wrote a cleanup script to remove system backups that r 7 days old..
so the problem is.. when i run the exactly same script on the 2 servers.. one of them would start deleting folders that r 7 days old, while the other would delete folders that r 6 days old instead!
weird.. i tried running the command directly on the 2 servers:
find /backup/system -maxdepth 1 -mtime +6
the results r different?! instead.. the other server need to run the following command instead to show the same result:
find /backup/system -maxdepth 1 -mtime +5
so.. what's wrong with them?! i've no idea at all what could make such difference in the result of find command.. with all the folder structure the same..
the only difference of the 2 servers is that 1 is running centos 4.4 and 1 is running centos 5.4.. will that be the cause???
any help would be appreciated!