SuiteCRM preffered backup option

Hi,

I’m new to SuiteCRM. I set it up successfully and really like it so far!

I’m looking for a way to safely backup and restore SuiteCRM in case my hosting provider closes my account, the hard drives fail, I get hacked or a software corruption occurs. I’d appreciate your opnions.

  1. Does SuiteCRM have a backup option? Does it require downtime – SuiteCRM, Apache and/or MariaDB to be shut down?

  2. How to avoid corruption without downtime? I know that some filesystems like ZFS and BTRFS support snapshots (using CoW, etc.) so that the copied data is consistent for some point in time. Is that needed?

  3. Should I manually sync/flush the db and files before backing up?

  4. What about incremental backups? I’ve seen rsync mentioned a lot.

  5. How do you test your backups?

Basically what’s your preferred method of backing up and restoring and why?

Hi @velkov5 , thanks for writing here; i supposed you are looking to SuiteCRM as a System Administrator.
We usually backup separately files and DB and this rely on which RDBMS are you using.

You can check here if you’re looking to a backup script.

If your instance’ Users are always active you should consider to put your system down before doing a backup; we also developed a Maintenance Mode module for helping that (to put your system down and forcing Users to logout).

There’s also an already developed plugin that does Backup and Restore.