• Backing Up Mystic On the Fly

    From SHIFT838@21:4/164 to All on Mon Nov 11 19:13:50 2019
    Being new to Mystic I wanted to pose a question.

    How does a sysop typically backup their Mystic BBS? Is it only certain files or do they typically just backup the whole directory and sub-directories?

    Can a backup be done on the fly while Mystic BBS is running using a like a scheduled Linux job ?

    Thanks,


    SHIFT838
    FuSiON BBS
    fusion.zapto.org:9900

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: FuSiON BBS (21:4/164)
  • From lemonlime@21:4/162 to SHIFT838 on Tue Nov 12 21:11:47 2019
    Being new to Mystic I wanted to pose a question.

    How does a sysop typically backup their Mystic BBS? Is it only certain files or do they typically just backup the whole directory and sub-directories?

    Can a backup be done on the fly while Mystic BBS is running using a like
    a scheduled Linux job ?

    Thanks,

    Hi SHIFT838,

    Although I just use full VM snapshot-based backups for my BBS, it is
    definitely possible to just backup the entire mystic directory. I've done
    this successfully when migrating my BBS from one machine to another. I'm not sure if it is required, but it would probably be a good idea to do a "mis shutdown" before trying to archive the directory to prevent any locked files
    or files in transit.

    Just a simple "tar -czvf ~/backups/backup-date.tgz /mystic" or something to that effect should work fine.

    Cheers,
    Mike

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Stellar Darkness BBS, Toronto, Canada (21:4/162)
  • From SHIFT838@21:4/164 to lemonlime on Tue Nov 12 21:30:55 2019
    If I do run a .sh script at a specified time to do a mis shutdown then anyone that is currently connected would be kicked off. so i'm wondering how I can
    do that. definitely more research needed..


    SHIFT838
    FuSiON BBS
    fusion.zapto.org:9900

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: FuSiON BBS (21:4/164)
  • From dragonmaster@21:1/149 to SHIFT838 on Wed Nov 13 11:01:43 2019
    How does a sysop typically backup their Mystic BBS? Is it only certain files or do they typically just backup the whole directory and sub-directories?

    Can a backup be done on the fly while Mystic BBS is running using a like
    a scheduled Linux job ?

    Hi.
    i backup my mystic-directory on the fly via cronjob and 7z. i do it at a time were i think it's nobody online.

    nicer would be a configurable timewindow were all users will be kicked (after
    a message some minutes before) and new connections will be blocked. the bbs could then show a little maintainence-info instead of being offline.
    in this mode we could run mutil-maintaince and backup-stuff...

    Best Regards,
    Dragonmaster

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: XIONUM-BBS (21:1/149)
  • From maskreet@21:1/114 to SHIFT838 on Wed Nov 13 08:40:20 2019
    On 11 Nov 2019, SHIFT838 said the following...

    Being new to Mystic I wanted to pose a question.

    How does a sysop typically backup their Mystic BBS? Is it only certain files or do they typically just backup the whole directory and sub-directories?

    Can a backup be done on the fly while Mystic BBS is running using a like
    a scheduled Linux job ?

    I use a weekly bash script with a cron job, the entire Mystic directory and
    its subdirectories. And yes, it can be backed up while Mystic is running with no issues.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: throwbackbbs.com -\- meriden, ct -\- (21:1/114)
  • From ryan@21:1/168 to dragonmaster on Wed Nov 13 09:03:14 2019
    nicer would be a configurable timewindow were all users will be kicked (after a message some minutes before) and new connections will be
    blocked. the bbs could then show a little maintainence-info instead of being offline. in this mode we could run mutil-maintaince and backup-stuff...

    I think we've actually talked about this very idea a few times now, unfortunately I'm not sure whether or not g00r00 saw these messages, but I agree an automated downtime would be nice. Perhaps a "soft" shut down where users are either warned that they're about to be kicked, or where new
    incoming connections are blocked until all users naturally logoff and backup can run.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: monterey bbs (21:1/168)
  • From lemonlime@21:4/162 to maskreet on Wed Nov 13 13:59:27 2019
    I use a weekly bash script with a cron job, the entire Mystic directory and its subdirectories. And yes, it can be backed up while Mystic is running with no issues.

    Good to know.. thanks!

    Regards,
    Mike

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Stellar Darkness BBS, Toronto, Canada (21:4/162)
  • From Jeff Smith@21:1/128 to SHIFT838 on Wed Nov 13 08:46:20 2019
    Hello SHIFT838,

    Being new to Mystic I wanted to pose a question.
    How does a sysop typically backup their Mystic BBS? Is it only certain files or do they typically just backup the whole directory and sub-directories?
    Can a backup be done on the fly while Mystic BBS is running using a like a scheduled Linux job ?

    I use a bash script to grab the date and time as variables and then Tar the /mystic directory to an external backup HD using the current date and time in the archived filename. Using Linux I have also used Rsync to backup as it offers me more options and flexibility.

    I adjust my events to allow/provide a inactive time window during which I run my backup script. I haven't run into any busy file issues. Rsync can easily be setup to only backup files that have changed since the last time Rsync was run.

    Jeff

    --- BBBS/Li6 v4.10 Toy-4
    * Origin: FSXNET: The Ouija Board - bbs.ouijabrd.net (21:1/128)
  • From tallship@21:2/104 to Jeff Smith on Fri Nov 15 00:54:53 2019
    On 13 Nov 2019, Jeff Smith said the following...

    Being new to Mystic I wanted to pose a question.
    How does a sysop typically backup their Mystic BBS? Is it only certain

    I use a bash script to grab the date and time as variables and then Tar the /mystic directory to an external backup HD using the current date
    and time in the archived filename. Using Linux I have also used Rsync to backup as it offers me more options and flexibility.


    Yup. It confounds salesmen to no end when they call and I sit by while they do their elevator pitch before asking me, "So, what enterprise backup/DR solution do you use?" And then I answer with, "tar and rsync".

    Hey not just for n00bs, Here's a really good canned solution I've been using for several years, and again, with my trusted tar and rsync: http://duplicity.nongnu.org/

    For shell based operations you can pile *duply* on top of that (near the
    bottom of the page).

    I should mention that although it gets a bum rap and some view it as obsolete or deprecated, the standard UNIX *dump* utility is quite viable and efficient too if you know how to use it right.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Vger.Cloud - NOMAD Internetwork (21:2/104)