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
MVP Diamond
MVP Diamond

That would be $FWDIR/log directory.

Best,
Andy
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

    Tue 24 Feb 2026 @ 04:30 PM (EST)

    Las Vegas: MDR/XMDR

    Wed 25 Feb 2026 @ 04:30 PM (MST)

    Tempe, AZ: MDR/MXDR

    Wed 11 Mar 2026 @ 12:00 PM (MDT)

    CheckMates Live Denver!
    CheckMates Events