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
3 Replies
the_rock
Legend
Legend

That would be $FWDIR/log directory.

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
 
 
 
 
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.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 18 Mar 2025 @ 09:30 AM (EET)

    CheckMates Live Greece

    Tue 25 Mar 2025 @ 12:00 PM (MDT)

    Salt Lake City: CPX 2025 Recap

    Tue 08 Apr 2025 @ 12:00 PM (MDT)

    Denver: CPX 2025 Recap
    CheckMates Events