Project

General

Profile

Bug #398

I don't know if pbot's data is being backed up

xylon - over 10 years ago - . Updated over 10 years ago.

Status:
fixed
Priority:
wish
Assignee:
-
% Done:

100%


Description

I will have to investigate what backups are done on the repo server and if pbot-ng is included.

History

#2

Updated by xylon over 10 years ago

OK there are no backups. I might have to do some myself.

#3

Updated by xylon over 10 years ago

I think the following things need backing up:
announcements/
info/
atom_feed_log
seen_issues_log

#4

Updated by xylon over 10 years ago

OK, I've set up backups.

Every day, cron makes a .tar.gz of the above listed files and directries in pbot-ng's home folder, overwriting the previous archive.

Also once a day, I download the most recent archive from the server to my own computer over ssh. Then I check it's last modified time to make sure the archive was made within the last day.

#5

Updated by xylon over 10 years ago

I've written a new bug tracker change detector so I no longer need to back up `atom_feed_log' or `seen_issues_log'.

The cron command that runs daily to make the backup is:

@daily tar -czf pbot-ng_daily_backup.tar.gz announcements/ info/

Also available in: Atom PDF