i'm working on my first TYPO3-Project (TYPO3 6.1). I developed a CSV-import which works well, but now i want to backup the table before the import new Data. Thus, i want to copy the Table with the Data.
My question, how can i do this in the right way? I mentioned to write a Method in the Repository-Class (Which Extends the extbase/perstistance/repository).
Is this good? How can access a DB-Object there to call a custom SQL-Query?
Thanks for your help!