Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Cristian_Rosa
Participant

Backup logs

 
Hello guys,

There is a way to backup only the logs and make periodic schedules. Which directories should be backed up? If necessary, how to restore to make a possible query?

Congrats,

Cristian Rosa

CCSA
0 Kudos
3 Replies
the_rock
Legend
Legend

That would be $FWDIR/log directory.

0 Kudos
Cristian_Rosa
Participant

Thanks The_rock,

Would you have to create script to generate log? And to do the restore? Is it just to replace the directory in another manager(clone) ? Are they already indexed? Or would I have to re-index?

Congrats,

Cristian Rosa
 
 
 
 
0 Kudos
PhoneBoy
Admin
Admin

You can use a script similar to the following to back up logs: https://www.cpug.org/forums/showthread.php/6952-Log-Backup-Archive-Script 
Should you want to restore logs, you just copy the files back to $FWDIR/log and reindex.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events