vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| On 17 Jul 2006 01:47:35 -0700, mo@ekontrol.com wrote: > Hello, > > what is the recommendet way to backup only the rows of a single table > that have i.e. a timestamp older than 5 months? Select the data you're interested into a separate table, and back up that. -- Mares eat oats, and does eat oats, and little lambs eat ivy, A kid will eat ivy too, wouldn't you? |
| |||
| mo@ekontrol.com wrote: > what is the recommendet way to backup only the rows of a single table > that have i.e. a timestamp older than 5 months? mysqldump [options] --where="timestampcolumn < CURDATE() - INTERVAL 5 MONTH" databasename tablename Regards, Bill K. |