From: Jamie C. <jca...@we...> - 2009-06-08 01:00:49
|
They appear not to change because ls -l only shows the modification times for file *contents*. Linux has a separate time for modification of permissions and ownership, which does get updated by the chmod command.. - Jamie On 07/Jun/2009 17:03 Jeremy Jefferson <we...@jj...> wrote .. > Okay, not saying you are wrong and that's causing the problem, as it > probably is.... I just don't understand. > > The file modification times don't change. In fact most files say they > haven't been modified in months. > > ----- Original Message ----- > From: "Jamie Cameron" <jca...@we...> > To: "Webmin users list" <web...@li...> > Sent: Sunday, June 07, 2009 6:41 PM > Subject: Re: [webmin-l] Backups > > > > Ok, that cron job will be a problem, as it will change the modification > > times on all your files! Perhaps instead you should run something that > > only changes needed permissions, like : > > > > chmod -R o-rxw /home/* > > > > to take away world read, write and execute permissions. Or if that > > doesn't work, you may need to create a more complex script that only > > finds files with bad permissions and fixes just them. > > > > - Jamie > > > > On 07/Jun/2009 15:07 Jeremy Jefferson <we...@jj...> wrote .. > >> They are being created by root. Here is a link to a couple pictures of > >> my > >> backup config. > >> > >> http://img23.imageshack.us/gal.php?g=incremental.jpg > >> > >> I do have a cronjob that might be the culprit here also. > >> > >> Every hour I run this: chmod -R 770 /home/* > >> > >> I do this for security reasons to make sure everyone's files are safe > >> from > >> other users. I don't believe this changes the last modified time (at > >> least > >> ls -l says it doesn't). > >> > >> > >> ----- Original Message ----- > >> From: "Jamie Cameron" <jca...@we...> > >> To: "Webmin users list" <web...@li...> > >> Sent: Sunday, June 07, 2009 5:02 PM > >> Subject: Re: [webmin-l] Backups > >> > >> > >> > On 07/Jun/2009 11:19 Jeremy Jefferson <we...@jj...> wrote .. > >> >> There are files in /etc/webmin/virtual-server when the full runs. I > >> >> watched > >> >> them as it was running and they had current modify times also, so it > >> >> was > >> >> messing with them. > >> > > >> > Ok, so the incremental feature is at least doing *something*. > >> > Are the timestamps on your files being backed up perhaps being updated > >> > by > >> > something? > >> > The incremental mode is supposed to only include files that have > >> > changed > >> > since > >> > the last full backup, but it determines this by looking at their > >> > last-modified times. > >> > > >> > Also, were these scheduled backups created by root, or by domain > >> > owners? > >> > > >> >> No, most of the content is files not databases. > >> >> > >> >> My only idea atm is maybe the way I have it setup. I have it setup to > >> >> upload the incremental backups to a "daily" folder and the full > >> >> backups > >> >> to a > >> >> "weekly" folder. Do I maybe have to put the full and incremental > >> >> backups > >> >> in > >> >> the same place? > >> > > >> > No .. in fact, that would definately not work, as the incremental > >> > backups > >> > would over-write the full. > >> > > >> > - Jamie > >> > > >> >> ----- Original Message ----- > >> >> From: "Jamie Cameron" <jca...@we...> > >> >> To: "Webmin users list" <web...@li...> > >> >> Sent: Saturday, June 06, 2009 10:40 PM > >> >> Subject: Re: [webmin-l] Backups > >> >> > >> >> > >> >> > On 06/Jun/2009 17:01 Jeremy Jefferson <we...@jj...> wrote .. > >> >> >> No matter what I do, Virtualmin will only do full backups. > >> >> >> > >> >> >> I have it set to do full backups on sunday and incremental on > >> >> >> monday-thursday but > >> >> >> it does full backups even during the week when the schedule clearly > >> >> >> says > >> >> >> only incremental. > >> >> >> I can't figure this out. > >> >> > > >> >> > I can think of a couple of things to check : > >> >> > > >> >> > 1) Are files being created under /etc/webmin/virtual-server when a > >> >> > full > >> >> > backup runs? There should be one per virtual server ID. > >> >> > > >> >> > 2) Do your domains have a large amount of database content? Only > >> >> > files > >> >> > are backed up incrementally .. database tables are always fully > >> >> > backed > >> >> > up, so if you don't actually have many files the difference in > >> >> > backup > >> >> > size may be small. > >> >> > > >> >> > - Jamie > >> >> > > >> >> > ------------------------------------------------------------------------------ > >> >> > OpenSolaris 2009.06 is a cutting edge operating system for > >> >> > enterprises > >> >> > looking to deploy the next generation of Solaris that includes the > >> >> > latest > >> >> > innovations from Sun and the OpenSource community. Download a copy > >> >> > and > >> >> > enjoy capabilities such as Networking, Storage and Virtualization. > >> >> > Go to: http://p.sf.net/sfu/opensolaris-get > >> >> > - > >> >> > Forwarded by the Webmin mailing list at > >> >> > web...@li... > >> >> > To remove yourself from this list, go to > >> >> > http://lists.sourceforge.net/lists/listinfo/webadmin-list > >> >> > >> >> > >> >> ------------------------------------------------------------------------------ > >> >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises > >> >> looking to deploy the next generation of Solaris that includes the > >> >> latest > >> >> innovations from Sun and the OpenSource community. Download a copy and > >> >> enjoy capabilities such as Networking, Storage and Virtualization. > >> >> Go to: http://p.sf.net/sfu/opensolaris-get > >> >> - > >> >> Forwarded by the Webmin mailing list at > >> >> web...@li... > >> >> To remove yourself from this list, go to > >> >> http://lists.sourceforge.net/lists/listinfo/webadmin-list > >> > > >> > ------------------------------------------------------------------------------ > >> > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > >> > looking to deploy the next generation of Solaris that includes the > >> > latest > >> > innovations from Sun and the OpenSource community. Download a copy and > >> > enjoy capabilities such as Networking, Storage and Virtualization. > >> > Go to: http://p.sf.net/sfu/opensolaris-get > >> > - > >> > Forwarded by the Webmin mailing list at > >> > web...@li... > >> > To remove yourself from this list, go to > >> > http://lists.sourceforge.net/lists/listinfo/webadmin-list > >> > >> > >> ------------------------------------------------------------------------------ > >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises > >> looking to deploy the next generation of Solaris that includes the latest > >> innovations from Sun and the OpenSource community. Download a copy and > >> enjoy capabilities such as Networking, Storage and Virtualization. > >> Go to: http://p.sf.net/sfu/opensolaris-get > >> - > >> Forwarded by the Webmin mailing list at > >> web...@li... > >> To remove yourself from this list, go to > >> http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > > ------------------------------------------------------------------------------ > > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > > looking to deploy the next generation of Solaris that includes the latest > > innovations from Sun and the OpenSource community. Download a copy and > > enjoy capabilities such as Networking, Storage and Virtualization. > > Go to: http://p.sf.net/sfu/opensolaris-get > > - > > Forwarded by the Webmin mailing list at > > web...@li... > > To remove yourself from this list, go to > > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > ------------------------------------------------------------------------------ > OpenSolaris 2009.06 is a cutting edge operating system for enterprises > looking to deploy the next generation of Solaris that includes the latest > innovations from Sun and the OpenSource community. Download a copy and > enjoy capabilities such as Networking, Storage and Virtualization. > Go to: http://p.sf.net/sfu/opensolaris-get > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |