By yangke on
How can i automatically store data from a few tables in a backup and remove the stored data from the drupal tables.
e.g. every month delete all content older then 3 months from drupal database, but first store it on harddisk.
I looked at backup and migrate, but it's not flexible enough, afaik ..
FORGOT to mention i use windows xp (yes, i know.. i have a good reason )
Comments
I created a task with windows
I created a task with windows task manager. That runs a .bat file every month.
The .bat i run:
and the query.sql file contains code to delete all entries older then 3 months:
The first line seems to work ok (the backupfile is created), but when adding the second line i get errors about the password.
Any pointers here?
HELP?
Anyone can help me here? ...
A solution here :
A solution here : http://drupal.org/node/670712