wmitch2535
asked on
How to use PAX command on OSX to perform incrementals. Problem specifying time. PRIORITY!
I'm trying to use PAX (the archive utility) on 10.4.9 OSX Server. I'm trying to get this set up so that I can archive back to a particular day in order to do incremental backups, but when the backups run, the PAX always gets everything even though I'm setting up the proper date format as far as I can tell from the man pages.
Here is the command I'm using to try to back up anything that has been modified since March 25, 2007 at midnight.
pax -w -x cpio -T 0703250000.00/cm -f /Volumes/Backups/OSX/april -Level5-3- 26-2007.cp io .
Instead of backing up what was changed from yesterday to today, this command is backing up EVERYTHING on that directory where I'm running it. So it is probably the wrong date format, although that is how it said to do it in the man page. yymmddhhmm.ss
Please help, I need this going ASAP.
David
Here is the command I'm using to try to back up anything that has been modified since March 25, 2007 at midnight.
pax -w -x cpio -T 0703250000.00/cm -f /Volumes/Backups/OSX/april
Instead of backing up what was changed from yesterday to today, this command is backing up EVERYTHING on that directory where I'm running it. So it is probably the wrong date format, although that is how it said to do it in the man page. yymmddhhmm.ss
Please help, I need this going ASAP.
David
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Actually the problem turned out to be the /cm switch on the time command. The problem was that each night, there is a cron script that copies the data from one partition to another partition. This updates the inodes to be all modified from that time they were copied. The /cm flag therefore caused everything to be selected. I have since removed the /cm flag and it works great now.
Thank you all for your help!
David
Thank you all for your help!
David
ASKER
Thanks for the thought!